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 89153 - Clean and compile
Summary: Clean and compile
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 11:01 UTC by ptoye
Modified: 2007-08-27 16:38 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 ptoye 2006-11-11 11:01:14 UTC
I have found a need to compile all the project modules without doing a "Clean
and Build" which destroys the existing dist folder. Could a "clean and compile"
be added to the project right-click menu please?

Alternatively (but I suspect this would be harder work), have NB recognise when
a module containing a public static final variable is changed, and recompile the
modules that use it.
Comment 1 Peter Pis 2007-08-27 14:50:01 UTC
Reassigning to "projects".
Comment 2 Milos Kleint 2007-08-27 16:38:27 UTC
most probably a won't fix issue. Why do you need such a feature? a "clean" means you remove all the built artifacts (eg.
classes and jars) and start with a completely clean table. 

Of course you can modify your build.xml and create such ant target. Alternatively if you want to preserver the content
of the dist folder, you can create a target to copy it elsewhere before doing the clean.