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 45972 - Deleting .class files in the source tree during build-clean does not work anymore
Summary: Deleting .class files in the source tree during build-clean does not work any...
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 08:49 UTC by tboerkel
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2004-07-09 08:49:48 UTC
We have the .class files in the source tree for
internal reasons.
We have configured build.classes.dir=${src.dir} in
the project properties and we have hidden .class
files for the view.
In previous q-builds, cleaning the .class files
for build-clean was accomplished by putting this
into build.xml (as advised by the experts in the
newsgroups):
    <target name="post-clean" depends="init">
        <echo message="Deleting all classes from
${build.classes.dir}"/>
        <delete>
            <fileset dir="${build.classes.dir}"
includes="**/*.class"/>
        </delete>
    </target>

This does not work anymore in the current q-build.
 The .class files are just not being deleted.

Any advice would be greatly appreciated (we cannot
post to the newsgroups anymore at the moment).

Using JDK 1.4.2_05.
Comment 1 Jesse Glick 2004-07-09 20:05:39 UTC
First of all, do not use the nbbuild component. This is for the nb.org
build process. If you are unsure which component to use, use 'ide', or
'projects' if it is definitely related to the project system.
Comment 2 Jesse Glick 2004-07-09 20:06:30 UTC
So to answer your question, post-clean was renamed -post-clean. Check
build-impl.xml.