You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Res Pons <po...@hotmail.com> on 2006/03/10 07:14:17 UTC

Exec Task

How do I pass arguments with quotation marks intact to the exec task?  I am 
having difficulty passing double quotes for comments to the svn ci -m 
"comment" filename

	<target name="local.build.number" description="Forces Anthill to build even 
if there aren't any changes" >
		<buildnumber file="${build.dir}/build.number" />
		<property name="commit.info"  value="Incrementing Build Number" />
		<exec executable="svn.exe" dir="${build.dir}" >
			<arg value="ci -m ${commit.info} build.number" />
		</exec>
	</target>

Thank you.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org