Nant error: [exec] svn: Error resolving case of '>'
Receiving this following error when doing an exec statement in nant, had me scratching my head for a while and took an age to track down.
[exec] svn: Error resolving case of '>'
Resolved it by using the output parameter within the exec element, you can’t use the > character for output from within Nant annoyingly.
So changed this:
<exec basedir="." program="c:myprogram.exe" commandline=" -L -x > c:xmloutput.xml" />
To this:
<exec basedir="." program="c:myprogram.exe" commandline=" -L -x" output="c:xmloutput.xml" />
Comments