ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (jhm) <apa...@materne.de>
Subject AW: Problems parsing @@
Date Fri, 05 Dec 2014 07:23:45 GMT
This unit test passes under Ant 1.9.5alpha and 1.9.4.

	<target name="testAtSign">
	    <mkdir dir="${input}"/>
	    <echo file="${input}/x.properties"><![CDATA[
once=@
double=@@
triple=@@@
]]></echo>
	    <property file="${input}/x.properties"/>
	    <au:assertPropertyEquals name="once" value="@"/>
	    <au:assertPropertyEquals name="double" value="@@"/>
	    <au:assertPropertyEquals name="triple" value="@@@"/>
	</target>


Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Ryan Payton [mailto:rpayton@tibco.com]
> Gesendet: Freitag, 5. Dezember 2014 03:13
> An: user@ant.apache.org
> Betreff: Problems parsing @@
> 
> Hello,
> 
> I am running into an issue using @@ in a .properties file. The variable
> is a database password (I also tried using it in the username and still
> didn't work), and fails our build since Ant is unable to connect to the
> database.
> However, when I enter @@@ in the .properties file, and leave the DB
> user's password with @@ in it then everything works.
> 
> Has anyone encountered any issues like this? If so, what was your
> solution?
> Also, would this be considered a bug, and should I file a bug report?
> 
> Thank you
> 
> 
> 
> This is a customer's issue, and we cannot change the password or use
> any workarounds.


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


Mime
View raw message