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 - Request task to clean stale test module JARs
Summary: Request task to clean stale test module JARs
Status: RESOLVED DUPLICATE of bug 14426
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-24 14:34 UTC by Jesse Glick
Modified: 2002-03-21 17:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***