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 21786] New: - Available property substituion does not work for extended directories
Date Tue, 22 Jul 2003 00:04:20 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=21786>.
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=21786

Available property substituion does not work for extended directories

           Summary: Available property substituion does not work for
                    extended directories
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: bflood@sybase.com
                CC: bflood@sybase.com


Using Available for finding a file does not work when using variable 
substitution when the file that is being searched for has literals after the 
variable.  

With these properties set:

<property name="weblogic.dir" value="C:/bea/weblogic81/server"/>
<property name="weblogic.lib.dir" value="C:/bea/weblogic81/server/lib"/>

This works:
<available property="weblogic.present" 
file="${weblogic.lib.dir}/weblogic.jar"/>

This does not work but should be equivalent:
<available property="weblogic.present" 
file="${weblogic.dir}/lib/weblogic.jar"/>

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


Mime
View raw message