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:rpay...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to