History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-1208
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Kevin Boistis
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
CruiseControl .NET

Perforce does not allow single files to be monitored for changes

Created: 04/Aug/08 12:06 PM   Updated: 04/Aug/08 12:06 PM
Component/s: Source Control
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
In file ProcessP4Initializer.cs the CheckViewIsValid method should allow for other endings besides "/...". For one of my project the solution file was at the root and need the ability to use //BusinessIntelligence/_Main/Client.* as part of my source control view.

I updated the code with this:

private void CheckViewIsValid(string view)
{
if (!(view.StartsWith("//") || view.StartsWith(@"""//")))
throw new CruiseControlException(string.Format(@"[{0}] is not a valid view - it should start with '//'", view));
if (!((view.StartsWith(@"""") && view.EndsWith(@"""")) || (!view.StartsWith(@"""") && !view.EndsWith(@""""))))
{
throw new CruiseControlException(string.Format(@"[{0}] is not a valid view - it should start and end with quotes or not use quotes", view));
}
}

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.