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.
When a user has targeted Tomcat, GlassFish or SJSAS local servers, the war file is not actually used to run the project, since these servers support in-place or directory based deployment.... Since creating a war file can be expensive for non-trivial applications, we may want to think of a way to refactor the build to delay the repackaging of a war... For example... have two targets which package the war file... One of the targets has an if conditional.. the second has an unless conditional... on a single property... package.before.deploy The two targets "surround" the run target that calls nbdeploy. In situations where the packaged war file isn't necessary... the packaging can be done AFTER the ant script has triggered the browser... The Run target will still provide a packaged archive (which folks have probably come to expect) but the perceived time that it takes to do a "Run Project" will be reduced significantly.