Noob here..
I'm having trouble using exec to pass arguements to my svn client successfully, but I can't figure out how to see what nant is actually passing to the command line. verbose and debug aren't helping. in the build file I have <exec program="C:\Program Files\Subversion\bin\svn.exe"> <arg value="--non-interactive"/> <arg value="--username ${svn.user}"/> <arg value="--password ${svn.pass}"/> <arg value="update"/> </exec> But when I run that target, I the most output I can get is [exec] Starting 'C:\Program Files\Subversion\bin\svn.exe ( --non-interactive "--username skapinos" "--password asdfasf" update)' in 'D:\Projects\test\alpha' [exec] svn.exe: invalid option: --username skapinos [exec] Type 'svn help' for usage. The arguements are correct for the commmand itself, as I can do it manually, but I can't format my exec properly to have it execute. What am I missing? Is exec really passing the ( ) and " " in the command? How can I watch exactly what nant sends to the command line? how do I pass a simple command arg1 arg2 arg3 Without quotes around arg1, arg2, etc. Is the commandline option my only choice? can I continue to use property variables in a commandline string like I used above in arg? Thanks -Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users