ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Exec Task
Date Fri, 10 Mar 2006 07:27:47 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

xml entities?   &quot;


>		<exec executable="svn.exe" dir="${build.dir}" >
>			<arg value="ci -m ${commit.info} 
>build.number" />

Mmh ... really  <arg value>?? Multiple options need a <arg line>
But here it would be better to use multiple <arg value>s
  <arg value="ci"/>
  <arg value="-m"/>
  <arg value="${commit.info}"/>
  <arg value="build.number"/>  

Have you tried the available svn tasks? Mostly the tasks provided by the
svn team...


Jan

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


Mime
View raw message