ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Res Pons" <pon...@hotmail.com>
Subject Exec Task
Date Fri, 10 Mar 2006 06:14:17 GMT
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


Mime
View raw message