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.
1. Create a new Ant-based web project (with GlassFish target) 2. Make the project invalid, e.g. by creating a web.xml and making it non-parseable 3. Deploy the project An exception like this is printed to the Ant console: /tmp/someapp/nbproject/build-impl.xml:721: The module has not been deployed. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106) .... This is undesirable, as the root cause is in the server log - Ant output should only contain a message alerting the user about the problem in the server log file. I.e. the exception should be wrapped in BuildException.
Fixed in web-main 19879595360f.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/19879595360f User: Petr Hejl <phejl@netbeans.org> Log: #202882 Ugly exception is printed to the Ant output on failed deployment
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c897e8a99cd1 User: Petr Hejl <phejl@netbeans.org> Log: #202882 Ugly exception is printed to the Ant output on failed deployment