Robert Schneider wrote:

Look at this problem that I have encountered:

http://sourceforge.net/mailarchive/message.php?msg_id=13549841
With regard to the line:

  <arg line="-m &quot;   a commit message    &quot;"/>

I find that when I use <exec>, I have much better luck with

   <arg value="-m" />
   <arg value="A commit message" />

This lets NAnt worry about the quoting, otherwise things get screwy. I have no idea if this works with the <svn> contributed tasks, but it may be worth a try.

With regard to

   C:\workingcopy\myfile.txt

I know that Subversion on Windows can get annoying with absolute paths, often requiring that parent directories be working copies. Does this command work from the command line if you use the full path like this? If not, then you'll have to first get to the current directory and then use relative paths. I don't think the <svn> task has a basedir attribute, so you can either set the basedir in the <project> element or launch NAnt in the correct directory.

Gary




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to