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: | Netbeans runs maven projects through ant instead of maven exec plugin | ||
---|---|---|---|
Product: | projects | Reporter: | evillive |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jlahoda, tzezula |
Priority: | P1 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 180519, 215575, 217722 |
Description
evillive
2012-07-16 16:15:38 UTC
with Compile on Save enabled, the subsequent executions will be performed by the IDE. That's unfortunately done through Ant further increasing confusion. if Compile on Save doesn't work for you, just disable it. It's only working for the simple cases, please be aware however that the Ant execution is only part of the Compile on Save functionality, specifically tailored for jar based projects with a main method. For war projects we (re)deploy the apps for example. And CoS can also be used together with jrebel or javeleon for live class reloading. Milos, Thanks! Disabling Compile on Save works for me. Now I see that was designed behavior. Should I change status to RESOLVED (I cannot see INVALID option)? Could you please look at http://netbeans.org/bugzilla/show_bug.cgi?id=215575 ? That is the only thing, that blocks me from using 'Compile on Save' feature. -> P1, TASK. not to be immediately fixed, but in the long term we should keep using maven even for quick executions without compilation |