Thanks Jeff,
I've committed the fix to cvs. I didn't have any issues building NAntContrib though. Do you have the latest cvs version and a recent build of nant ?


Ian
[EMAIL PROTECTED] wrote:

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)






-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to