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 13841] New: - Speed up javac when explicit list of files is defined
Date Tue, 22 Oct 2002 09:33:25 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=13841>.
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=13841

Speed up javac when explicit list of files is defined

           Summary: Speed up javac when explicit list of files is defined
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: rde@webtrak.co.uk


I am using the javac task with an explicit list of files defined in a patternset:

<patternset id="src">
  <include name="file1.java"/>
  ...
</patternset>

The javac task seems very slow.  The file list is several hundred entries long 
and it seems that the directory scan is checking every file by a linear scan of
the patternset.  If there are no wild cards in a patternset, can some soft of
hash lookup be used?

--
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