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.
Created attachment 137317 [details] sample maven project Hello, I'm developing a Java-EE-6-Web-Profile application. I use maven as build managing tool. I tried with Netbeans 7.3, 7.3.1. and 7.4 beta. So basically I have one web-project (war) and multiple module projects (jars). The web application has the modules declared as dependencies. I activated the "compile on save" feature on every single project. The web project hast also the "deploy on save" feature activated. It works but only for classes inside the web application. If a change a class inside a jar nothing happens. I have to manually build the module and redeploy the web application to see the change. As my application is highly modular there is only one lonely class inside the web application everything else is inside the module jars so the "deploy on save" feature is sadly more or less useless for me. I created a small sample project to show the problem. So could you please support submodules as well for the deploy on save feature?
I believe build of the jar should trigger DoS on your web project. Does it work for you at least this way?
Tried with Netbeans 7.3 and 7.4 beta but no success. I still had to manually redeploy the webapplication after building the submodule.
Same with Netbeans 8.x / current dev Product Version: NetBeans IDE Dev (Build 201503280001) Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25 Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25 I have the following maven project layout: project a ("commons") (jar artifact) project b ("web") depending on project a Changes in project are are not detected, although both projects are open in NetBeans and opening 'dependencies' of project b shows the maven-project dependency inside the NetBeans projects. Even a clean-build on project b is not sufficient. I have to build project a and manually trigger a build of project b to pickup the changes. Would be really great if this could be improved since the workflow is really error prone and takes the fun out of NetBeans.
I can reproduce it with the glassfish container, seems not to be limited to tomcat.
I confirm this bug. This is a real pain. Got to switch to Spring Eclipse for proper redeploy. Much much sadness.
I tested the feature on Netbeans 8.0.2 and this is persisting.