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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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

Reply via email to