You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ryan Payton <rp...@tibco.com> on 2014/12/05 03:13:25 UTC
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.
RE: Problems parsing @@
Posted by Martin Gainty <mg...@hotmail.com>.
file a bug
I'll follow up if nobody else will
Thanks Ryan
Martin
> From: rpayton@tibco.com
> Date: Thu, 4 Dec 2014 18:13:25 -0800
> Subject: Problems parsing @@
> To: user@ant.apache.org
>
> 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.
Re: Problems parsing @@
Posted by Ryan Payton <rp...@tibco.com>.
Hello,
I have filed a bug as I am experiencing this issue in 1.9.4.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57317
Thank you!
On Thu, Dec 4, 2014 at 11:23 PM, Jan Matèrne (jhm) <ap...@materne.de>
wrote:
> 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
>
>
--
Ryan Payton
Systems Engineer
Jaspersoft Product Group at TIBCO Software
AW: Problems parsing @@
Posted by "Jan Matèrne (jhm)" <ap...@materne.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: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