ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Priest, James \(NIH/NIEHS\) [C]" <Prie...@niehs.nih.gov>
Subject Redirecting output to a file
Date Fri, 23 Feb 2007 20:35:14 GMT
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 &gt; 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 &gt;
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message