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

            Bug ID: 57072
           Summary: ${user.home} doesn't work when reading properties from
                    a file with prefix and prefixValues="true"
           Product: Ant
           Version: 1.9.4
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 32096
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32096&action=edit
build.xml

Run the attached build.xml.
The output you get is like the following.

test:
     [echo] user.home = /home/lhersch
     [echo] test.my.home = /home/lhersch

Change the build.xml and set prefixValues=true in the property-task.
Now you get an output like the following.

test:
     [echo] user.home = /home/lhersch
     [echo] test.my.home = ${user.home}

I have tested this also with ant 1.8.4. There is the same behaviour.

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

Reply via email to