users@glassfish.java.net

[Eclipse] Looking to the publish speed with different kind of resources

From: <glassfish_at_javadesktop.org>
Date: Thu, 02 Sep 2010 10:45:39 PDT

Hi,

I'm using eclipse 3.5.2 with the Glassfish server adapter 1.0.54. I'm monitoring the publish speed of jsp, js, java and jar files with a war project. I'm in debug mode and I've checked "never publish automatically". I'm trying to avoid the redeploy phase when I develop. I noticed a strange behavior for class modifications :

Normal situations (JSP, JAR) :
When I modify a jsp, the result is not visible before I use a manual publish. The publish is fast because there isn't any redeployment, just a copy of the jsp file. Then I can't show my changes.
When I modify a class in an java project (which is an dependency project), my change is visible immediately (Thank's to hot swap). I don't need to published but when i did it it's fast because only a jar copy without redeploy.

Abnormal situation (class) :
When I modify a class in my web project my change is visible immediately (Thank's to hot swap again). I don't need to published but if I have to do it, (to show a jsp modification for example), the war is redeploying and I loose precious second ;-)

Is it normal or a bug ?

Is it planed to have smart publishings (without redeploy) with EARs ?

Thank's in advance

Ckone
[Message sent by forum member 'ckone35']

http://forums.java.net/jive/thread.jspa?messageID=481725