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 216150 - Deploy on Save broken on Maven EAR Application
Summary: Deploy on Save broken on Maven EAR Application
Status: RESOLVED DUPLICATE of bug 215976
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: PC All
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-30 18:32 UTC by daedalus
Modified: 2012-07-31 06:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
incorrect ear deployment (9.67 KB, application/zip)
2012-07-30 18:32 UTC, daedalus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daedalus 2012-07-30 18:32:37 UTC
Created attachment 122545 [details]
incorrect ear deployment

Hello, 

it seems like you broke the "Deploy on Save" feature on Maven EAR applications. 
It was working fine with Netbeans 7.1.2 and 7.2 Beta. It stopped working with Netbeans 7.2 RC and is still broken on the 7.2 Final. 

As there is no gfdeploy folder present I assume that the folder deployment is broken and Netbeans is simply deploying the complete EAR. 

Netbeans does also open the Browser with a false URL after the deployment: 

It should be: 
http://localhost:8080/JustATest-web
but Netbeans opens: 
http://localhost:8080/JustATest-web-1.0-SNAPSHOT


Please check my attachment as sample project.
Comment 1 Martin Janicek 2012-07-31 06:37:38 UTC
Thanks for the report! Both issues you are describing should be already fixed (the original one was reported as issue 215976 and the second one - wrong opened URL - as issue 215454).. Also both of them will be a part of 7.2 patch.
If the problem is critical for you, please download daily build. And sorry for those problems:(

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