AW: Problems parsing @@

Jan Matèrne (jhm) <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <001801d0105c$67e5bf50$37b13df0$@de>
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:[email protected]]
> Gesendet: Freitag, 5. Dezember 2014 03:13
> An: [email protected]
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.