Hi!
I am continuing with my newbie experiments...
Now I'm playing with <cvs> task and related <cvs-update> and <cvs-checkout>.
When I tried to execute this task...
<cvs-checkout
unless="${ sourcesDestination.dir.present }"
usesharpcvslib="false"
destination="${ root.dir }"
cvsroot="${ cvs.root }"
module="${ sources.module }"
verbose="true">
</cvs-checkout>
... all things are ok!!
Instead, when I tried <cvs-update> task with the same attributes...
<cvs-update
if="${ sourcesDestination.dir.present }"
usesharpcvslib="false"
destination="${ root.dir }"
cvsroot="${ cvs.root }"
module="${ sources.module }"
verbose="true">
</cvs-update>
... Nant told me that...
[cvs-update] Working directory: C:\Temp
[cvs-update] Executable: C:\wincvs\cvs.exe
[cvs-update] Arguments: update -P -d
[cvs-update] Starting 'C:\wincvs\cvs.exe ( update -P -d)' in 'C:\Temp'
[cvs-update] cvs.exe update: No CVSROOT specified! Please use the `-d'
option
[cvs-update] cvs.exe [update aborted]: or set the CVSROOT environment
variable.
BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
Uhm!!??
So, to finally have a cvs update, I tried this...
<cvs
if="${ sourcesDestination.dir.present }"
usesharpcvslib="false"
command="update"
commandline="-P -d"
destination="${ root.dir }"
cvsroot="${ cvs.root }"
module="${ sources.module }"
verbose="true" >
</cvs>
And then NAnt told that...
[cvs] Working directory: C:\Temp
[cvs] Executable: C:\wincvs\cvs.exe
[cvs] Arguments: -d:local:\\myServer\root\cvs update "-P -d"
[cvs] Starting 'C:\wincvs\cvs.exe ( -d:local:\\myServer\root\cvs update
"-P -d")' in 'C:\Temp'
[cvs] update: invalid option --
[cvs] Usage: cvs.exe update [-APdflRp] [-k kopt] [-r rev|-D date] [-j rev]
[cvs] [-I ign] [-W spec] [files...]
[cvs] -A Reset any sticky tags/date/kopts.
[cvs] -P Prune empty directories.
[cvs] -d Build directories, like checkout does.
[cvs] -f Force a head revision match if tag/date not found.
[cvs] -l Local directory only, no recursion.
[cvs] -R Process directories recursively.
[cvs] -p Send updates to standard output (avoids stickiness).
[cvs] -k kopt Use RCS kopt -k option on checkout.
[cvs] -r rev Update using specified revision/tag (is sticky).
[cvs] -D date Set date to update from (is sticky).
[cvs] -j rev Merge in changes made between current revision and rev.
[cvs] -I ign More files to ignore (! to reset).
[cvs] -W spec Wrappers specification line.
[cvs] (Specify the --help global option for a list of other help options)
BUILD FAILED - 0 non-fatal error(s), 17 warning(s)
And now I have no more "arrows"!!!
Can you help me, please?
Thank you very much!
Bye,
Nicola
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users