According to the rc4 documentation, unless you specify a path, it will
try and find cvs in your path.  So it looks like your cvs binary doesn't
support the -P flag, (perhaps it does it by default, which is how I
think it definitely should be)

If you want to use the built in cvs implementation, you need to do
something like this...

<cvs-update usesharpcvslib="true"/>

Or alternatively, disable directory pruning, (the -P option)

<cvs-update pruneempty="false" />

It's probably the pruneempty flag defaulting to true which is causing
the -P to be generated in the commandline used to invoke the external
cvs.

Cheers,
Karl P 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Nicholas Duane
> Sent: Wednesday, September 06, 2006 3:31 PM
> To: NAnt-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: [NAnt-users] cvs-update fails with no args; -P 
> option not supported
> 
> Not sure if I already sent this as I accidently hit tab and 
> return.  At any rate I just added an update target to my 
> build script.  The target is shown
> below:
> 
> <target name="update">
>     <cvs-update />
> </target>
> 
> When I execute the target I get the following error:
> 
> C:\data\build\pom\Eom\src\Eom>nant update NAnt 0.85 (Build 
> 0.85.2344.0; rc4; 6/2/2006) Copyright (C) 2001-2006 Gerry 
> Shaw http://nant.sourceforge.net
> 
> Buildfile: file:///C:/data/build/pom/Eom/src/Eom/Eom.build
> Target framework: Microsoft .NET Framework 2.0
> Target(s) specified: update
> 
> 
> update:
> 
> [cvs-update] Exception parsing command: The -P update option 
> is not implemented .
> 
> BUILD FAILED
> 
> C:\data\build\pom\Eom\src\Eom\Eom.build(15,4):
> External Program Failed: c:\program files\nant\bin\scvs.exe 
> (return code was
> -1)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to