You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/07/29 09:13:03 UTC
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.
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