DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25546>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25546

Option "-propertyfile" don't work right.

           Summary: Option "-propertyfile" don't work right.
           Product: Ant
           Version: 1.5.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I try execute my build executing with -propertyfile buil.properties, the
properties that contain references to other properties are missundertanding.
Example:

build.properties

project.dir=/tmp/proj/myProj

proj.lib.dir=${project.dir}/lib


A Task using this in build.xml:
<target name="all">
    <mkdir dir="${proj.lib.dir}"/>
</target>

When this target is executed by ant ommiting -propertiesfile, the execution is
ok (the directory /tmp/proj/MyProj/lib is created).
But if I execute this task using "-propertyfile build.properties", the directory
maked is ${project.dir}/lib in current directory.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to