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.
On large Java EE 5 projects the deploy to test app is very slow operation... The NetBeans 6.0 and 6.1 comes a INCREMENTAL DEPLOY under GlassFish... the "deploy" is now very fast... but... the generation of .war and .ear continue very slow (of course... archive is a slow operation) My Sugestion , create a option in "Glassfish j2ee config" named "Skip the creation of war and ear archives" This option skip this slow process and jump to "incremental deploy" ... VERY GOOD... this is like "Tomcat development enviroment" :) Tnks !
Any News ?
Can you provide more info about the use-case for this... Do you have the source to the large Java EE 5 app? Is it already a set of NetBeans projects?
I have a webproject with 6794 images... I love the incremental deploy... because only copy the "chaged files"... Only copy is good... but the NetBeans creates the .ear and .war every time... The option is to "ONLY COPY FILES" do gfdeploy dir... do not generate .war or .ear... This is very fast...
So... Do you have the source to the large Java EE 5 app? Is it already a set of NetBeans projects?
yes, is part of my netbeans projects... The source is confidencial... put create a project and put 5k of files and call generation... you will see the slow to generate .ear and war... in incremental deploy... the .war and .ear is not necessary...
OK. So you are not using the Packaged Archive project type for this?
I use the .ear to deploy externally... (one time a month) in my workstation... i have a glassfish installed... and dont need the .ear etch time... :)
Are you using the Packaged Archive project type or are you using the Enterprise application project type and the web application project type in NetBeans as you are doing your development?
Enterprise application project
Would it be okay to create the ear after the directory deployment has happened and the project has started opened the browser?
Yes... :)
I think this is a dup of *** This issue has been marked as a duplicate of 152724 ***