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.

Bug 132537 - Add "only incremental deploy" to glassfish v2 module
Summary: Add "only incremental deploy" to glassfish v2 module
Status: RESOLVED DUPLICATE of bug 152724
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 15:09 UTC by dyegoleal
Modified: 2009-04-13 18:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dyegoleal 2008-04-10 15:09:28 UTC
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 !
Comment 1 dyegoleal 2008-06-09 15:51:39 UTC
Any News ?
Comment 2 Vince Kraemer 2008-06-09 18:02:46 UTC
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?
Comment 3 dyegoleal 2008-06-09 18:07:07 UTC
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...

Comment 4 Vince Kraemer 2008-06-09 18:14:19 UTC
So...

Do you have the source to the large Java EE 5 app?  Is it already a set of NetBeans projects?
Comment 5 dyegoleal 2008-06-09 18:16:31 UTC
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...
Comment 6 Vince Kraemer 2008-06-09 18:27:38 UTC
OK.  So you are not using the Packaged Archive project type for this?
Comment 7 dyegoleal 2008-06-09 18:32:32 UTC
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...
:)
Comment 8 Vince Kraemer 2008-06-09 18:43:13 UTC
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?
Comment 9 dyegoleal 2008-06-09 18:44:16 UTC
Enterprise application project
Comment 10 Vince Kraemer 2008-06-09 18:54:04 UTC
Would it be okay to create the ear after the directory deployment has happened and the project has started opened the
browser?

Comment 11 dyegoleal 2008-06-09 18:59:06 UTC
Yes... :)



Comment 12 Vince Kraemer 2009-04-13 18:23:00 UTC
I think this is a dup of 

*** This issue has been marked as a duplicate of 152724 ***