ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Krause <...@snafu.de>
Subject <property name="test" value="foo$$$bar"/>
Date Thu, 26 Feb 2009 14:16:04 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If I define a property containig more than one "$", ant strips some
of them.

<project name="test" default="make" basedir=".">
	<property name="test" value="foo$$$$$bar"/>
	<target name="make">
		<echo>${test}</echo>
	</target>
</project>

foo$bar -> foo$bar
foo$$bar -> foo$bar
foo$$$bar -> foo$$bar
foo$$$$$bar -> foo$$bar

Is there any trick to keep the original string?

Thanks,

Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJpqQkeiBYJLd+QfQRAvAnAJ4/wzDH3uhXgGBEIlpM2OACvhXe7QCbBqK1
FkabyHzpPL1RPfqo7Ox7BKs=
=Pp4o
-----END PGP SIGNATURE-----

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


Mime
View raw message