I guess I should have been more specific here, I am using the exec tag:
<exec program="svn" workingdir="${SourceControl.GetOf}"
verbose="${SVN.Debug}">
<arg line="cleanup" />
</exec>
<exec program="svn" workingdir="${SourceControl.GetOf}"
verbose="${SVN.Debug}">
<arg line="update" />
<arg line="--non-interactive" />
</exec>
These are actually CI Factory scripts. The problem started occurring
after I upgraded to svn 1.5. Above this in the script it adds c:\Program
Files\subversion to the path which is echoed below in the log snippet I
included.
Thanks,
BOb
________________________________
From: Parrish, Ken [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2008 9:36 AM
To: Bob Archer; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] svn failed to start
Bob,
I don't know if this is the answer you are looking forward. I tried may
time to get the <svn> Nant command to work reliably, but had never
ending problems with errors similar to yours, and mostly, conflicts
between the various Uri and path parameters. Ultimately I gave up and
have recast all of my Subversion commands using the <exec> directive. I
know that other users of Nant have had similar frustrations and done the
same with better success.
An example <exec> command for Subversion:
<echo file="messagefile.txt">Incremented version.xml to:
${newVersion}</echo>
<exec program="svn.exe" verbose="true" if="${svnDryRun == 'false'}" >
<arg line="commit --file messagefile.txt --username ${svnUsername}
--password ${svnPassword} version.xml" />
</exec>
<delete file="messagefile.txt" />
Might be worth trying in your case.
Ken Parrish
Gomez, Inc.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
Archer
Sent: Friday, August 08, 2008 4:55 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] svn failed to start
Any ideas why this would happen?
[echo]
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progra~1\Subv
ersion
[exec] Starting 'svn ( cleanup)' in
'c:\Development\AmsiSuite\trunk\Third Party'
[exec]
c:\Development\AmsiSuite\trunk\Build\Packages\Subversion\SourceControl.T
arget.xml(60,10): 'svn' failed to start.
[exec] Starting 'svn ( revert --recursive .)' in
'c:\Development\AmsiSuite\trunk\Third Party'
[exec]
c:\Development\AmsiSuite\trunk\Build\Packages\Subversion\SourceControl.T
arget.xml(63,10): 'svn' failed to start.
The first echo shows the path using get-environment. Svn.exe is in the
path. If I set the path to the above in a command window and type svn it
runs.
BOb
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users