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.
Summary: | "Compile On Save" is not working for EAR projects. | ||
---|---|---|---|
Product: | javaee | Reporter: | negora <negora> |
Component: | EAR | Assignee: | David Konecny <dkonecny> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
negora
2016-11-05 10:28:05 UTC
In the case of Maven, I've discovered that "Compile On Save" starts to fail when you do, in the parent module, a cleaning followed by an installation. I mean, when you click on "Clean and Build". If you do this action directly on the EJB or Web module, "Compile On Save" starts to work fine again in each project. It's really curious. I'm used to set the parent module of Maven as the main project, and to trigger every action from it, so that it's propagated to every sub-module. But, by now, I'm going not to set any main project, and just let NetBeans do the requested actions in the project that I'm currently editing. This way, I'll prevent this problem temporarily. In the case of Ant, however, I've not found a satisfactory solution. By the way, I said in my previous message that "Compile On Save" worked fine in Web projects that used Ant, but I'm being unable to make it work again. Maybe I didn't check it properly that time. Right now I've created two independent projects, one of type EJB and another one of type Web, and auto-compilation doesn't work in either of them. I'm going to continue testing... |