Hello,
 
I found a simple error in the p4sync command.  The "force" must come before the view.  I can not get the source to build on my machine. I get many MSI related errors about not having MSIBase in Nant.Contrib and am I missing a reference. Well anyway, here is the simple fix:
 
            if (Force) {
                arguments.Append( " -f ");
            }
            if (View != null) {
                arguments.Append(View);
            }
            if (Label != null) {
                arguments.Append(string.Format("@{0}", Label));
            }
 
Just put the force first and add a space after it.  This should fix everything to allow someone to do a forced perforce sync, which is very important to our build because we clean everything before we sync, and the force is the only way to make sure everything gets updated properly.
 
Thanks,
Jeff Laney
National Instruments (www.ni.com)

Reply via email to