Try this:
<exec executable = "svn" output = "d:\temp\svn.log">
<arg line = "log D:\CFProjects\mrc\priv --xml -v"/>
</exec>
If you are interested, I also have some XSLT that will convert the
output to HTML in a nice format :)
Priest, James (NIH/NIEHS) [C] wrote:
I'm trying to get Ant to build a SVN log file:
svn log -v --xml > logfile.log
The ">" seems to be causing problems - so I dug around and found this:
http://ant.apache.org/faq.html#shell-redirect-1
But despite various trys using > and various combos of single and
double quotes I can't make it work...
<target name="buildReport">
<exec executable="svn">
<arg line="log --xml -v D:\CFProjects\mrc\priv >
D:\temp\svn.log" />
</exec>
</target>
I'm getting back:
[exec] svn: Error resolving case of 'D:\CFProjects\mrc\priv >
D:\temp\svn.log'
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-392-6730 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]