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 198169 - Clean or Clean and Build tasks are not cleaning JAR projects when executed on the EAR Application
Summary: Clean or Clean and Build tasks are not cleaning JAR projects when executed on...
Status: RESOLVED DUPLICATE of bug 197454
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 11:20 UTC by cistox
Modified: 2011-11-16 16:39 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 cistox 2011-04-28 11:20:15 UTC
Product Version = NetBeans IDE 7.0 (Build 201104080000)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) Client VM 19.1-b02

"Clean" or "Clean and Build" tasks are not cleaning JAR projects (but just WAR and EJB modules) when executed on the EAR Application.
Same tasks are working fine if executed from the WAR application.

This generates many issues as people do not realizes that their projects are not compiled/deployed correclty.  For instance if I make a refactoring (e.g. rename a package) I will have all JARs still including dirty old classes or other wrong artifacts.

Anyway "Clean" or "Clean and Build" tasks are able to rebuild all the EAR (and nested WAR, EJB and JARs) but only if all referenced WAR, EJBs and JARs have been cleaned.

So the bug is limited on the clean part while the build is ok.
Comment 1 David Konecny 2011-05-09 22:30:12 UTC
This has been fixed recently and will be included in NB 7.0.1 release.

*** This bug has been marked as a duplicate of bug 197454 ***