This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 13881

Summary: Request task to clean stale test module JARs
Product: www Reporter: Jesse Glick <jglick>
Component: Builds & RepositoriesAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2001-07-24 14:34:11 UTC
Should be a task to clean out stale test module JARs--i.e. XXXXXNNNNN-test.jar
where XXXXX.jar is the JAR built by the build script and there is a newer test
JAR. So for example in apisupport/build.xml's clean:

<cleanstaletestjars>
    <fileset dir="test">
        <include name="apisupport.jar"/>
        <include name="apisupport-ant.jar"/>
        <include name="apisupport-lite.jar"/>
    </fileset>
</cleanstaletestjars>

This would remove any apisupportNNNNN-test.jar, apisupport-antNNNNN-test.jar, or
apisupport-liteNNNNN-test.jar which was not the newest of its category (leave
the basic JAR and the newest test JAR in case they are still in use by a running
IDE). Otherwise the clean target does not remove sometimes dozens of potentially
large JARs which is annoying and wastes disk space.
Comment 1 Jesse Glick 2002-03-21 17:47:38 UTC

*** This issue has been marked as a duplicate of 14426 ***