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 248665

Summary: Changes in war don't deploy when deploying the EAR
Product: javaee Reporter: mozilla
Component: MavenAssignee: Martin Janicek <mjanicek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: PC   
OS: Windows 8 x64   
Issue Type: DEFECT Exception Reporter:

Description mozilla 2014-11-15 00:58:05 UTC
Changes in the WAR of an EAR Application don't get deployed anymore after working for a while and deploying multiple times successfully.

The Project started as a Maven Enterprise Application

I deploy with "Run" on Glassfish 4 (installed with netbeans)

I tried to fix this by turning "Build with Dependecies" in Actions for EAR on.

Still after Deploying multiple times while working on the project at some point changes in the  war don't get deployed anymore. It happens for very very small and bigger changes in code.

I have to right click the EAR and choose "Build with Dependecies" and then Run it.
This works. 

Same problem when trying to Debug.

I tried for some time now to find a pattern in which changes in code cause this.
I'm sorry to say it feels random.
Comment 1 Marian Mirilovic 2014-11-27 17:48:42 UTC
NB version ?
Comment 2 mozilla 2014-11-27 18:12:00 UTC
Netbeans 8.0.1
Win 8.1 64bit
Comment 3 Tomas Mysik 2015-06-01 07:28:07 UTC
(In reply to mozilla from comment #0)
> The Project started as a Maven Enterprise Application

Reassigning to proper component, please evaluate. Thanks.
Comment 4 Martin Balin 2016-07-07 08:53:31 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss