You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/12/05 19:59:08 UTC

[Bug 57317] New: Problems parsing a variable with @@

https://issues.apache.org/bugzilla/show_bug.cgi?id=57317

            Bug ID: 57317
           Summary: Problems parsing a variable with @@
           Product: Ant
           Version: 1.9.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
          Assignee: notifications@ant.apache.org
          Reporter: rpayton@tibco.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57317] Problems parsing a variable with @@

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57317

--- Comment #1 from rpayton@tibco.com ---
Also, substituting @@ with @@ in the .properties file works.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57317] Problems parsing a variable with @@

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57317

--- Comment #2 from Jan Mat <ja...@materne.de> ---
Could you create a unit test?
The one I created passed:

commit
https://git-wip-us.apache.org/repos/asf?p=ant.git;a=commitdiff;h=f1930b0061d661e4b0a4072caacb19d35a61f370

file
https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/tests/antunit/taskdefs/property-test.xml;h=2eb0e18f4d819ca32da4e90272471d3425d7f8c7;hb=f1930b0061d661e4b0a4072caacb19d35a61f370

Test passed on Jenkins
https://builds.apache.org/view/A-D/view/Ant/job/Ant-Build-Matrix/745/testReport/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57317] Problems parsing a variable with @@

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57317

--- Comment #3 from rpayton@tibco.com ---
Hello Jan,

I will need to look into our build scripts a little more to see where it
connects to the DB, and then try a unit test. It may take a few days to get
this information, but I will post it here once I have it.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.