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 30374] New: - There is no way to compare a the value of a variable specified in a properties file inside the ant build script.
Date Thu, 29 Jul 2004 07:13:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30374>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30374

There is no way to compare a the value of a variable specified in a properties file inside
the ant build script.

           Summary: There is no way to compare a the value of a variable
                    specified in a properties file inside the ant build
                    script.
           Product: Ant
           Version: 1.6.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: sudhir_gunda@adp.com


In the ANT build.xml file suppose that I am looking at a properties file..say 
usersetup.props. Now I want to invoke a ant target only if the value of a 
variable in the usersetup.props is equal to some known value, and otherwise 
will not invoke the target. Now in the present ANT i think we cannot do such 
comparisons. Can you please let me know if there is already a provision to do 
this or is there any known workaround ?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message