ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25546] New: - Option "-propertyfile" don't work right.
Date Mon, 15 Dec 2003 21:03:31 GMT
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: dev@ant.apache.org
        ReportedBy: raoni@dextra.com.br


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message