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 7933] New: - Using fileset referring to non-existing directory inside path.
Date Wed, 10 Apr 2002 20:33:42 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=7933>.
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=7933

Using fileset referring to non-existing directory inside path.

           Summary: Using fileset referring to non-existing directory inside
                    path.
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: Gary_Weaver@srspos.com


I've written a buildCore.xml used by multiple build.xml's and the buildCore.xml 
has the following:

<path id="project.class.path">
  ...
  <fileset dir="lib">
    <include name="**/*.jar"/>
    <include name="**/*.class"/>
  </fileset>
  ...
</path>

BUT, sometimes the lib directory does not exist, because the build.xml that is 
calling the buildCore.xml does not need one. Maybe I'm missing something, but 
it seems like there isn't a way to configure fileset not to complain in this 
situation when the directory doesn't exist.

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


Mime
View raw message