ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@bitfaeule.net
Subject AW: command line args on win with quotes / whitespaces
Date Wed, 17 May 2006 15:42:38 GMT
Thanks Jan,
 I have split the 3 args into 6 using the following syntax for the problem arg:
<arg path="C:/The difficult/Path to my app"/> (the location-attribute does not exist.)

Thank you very much. I appreciate it.

Jochen

On May 17, 2006, at 2:32 PM, <Jan.Materne@rzf.fin-nrw.de> <Jan.Materne@rzf.fin-nrw.de>
wrote:

		<!-- breaks due to white spaces-->
		<exec dir="D:\depot\InstallerDeliveries\Win\My
Product\3.0.0"
			output="depotMSIBuildLog.txt"
			executable="C:\Program
Files\InstallShield\Developer\System\IsCmdBld.exe">

Shouldnt made any problems so far...


			<arg value="-p
D:\depot\InstallerDeliveries\Win\My Product\3.0.0\My Company My Product
3.0\My Company My Product 3.0.ism"/>	
			<arg value="-r English"/>
			<arg value="-a Media"/>

Are these really three values? I think these are six which will result
in

			<arg value="-p"/>
			<arg
location="D:\depot\InstallerDeliveries\Win\My Product\3.0.0\My Company
My Product 3.0\My Company My Product 3.0.ism"/>
			<arg line="-r" English"/>
			<arg line="-a Media"/>
(last two are split on whitespaces which makes _here_ sence, so its
shorter to write and easier to read)


	</exec>


Jan

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

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


Mime
View raw message