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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]