views:

615

answers:

1

Has anyone gotten the glassfish v3 adapter to work with Eclipse without restarting every time there's a code change? I tried to set this up but the adapter "republishes" every time I change any file, which is very annoying. It takes up to 3 minutes and locks up my machine for a second.

I must remember to constantly stop the adapter before making any changes. I'd settle for just disabling this "feature", but even if I uncheck "publish change immediately" this behavior still happens.

I'm using the latest version of the glassfish adapter and tried with eclipse 3.5 and the 3.6 milestone builds....

What setup is everyone using if you have glassfish v3 as your server? Is there any way to actually get the hot deploy feature to work correctly?

+2  A: 

I just did a test and configuring the adapter to Never publish automatically works as expected:

alt text

With this setup, I have to publish changes manually.

I'm using Eclipse 3.5 with the latest version of the GlassFish v3 adapter. It just works.

Pascal Thivent
Thanks! I forgot about that screen...it doesn't work if you initally check never publish automatically when you first set up the server (which is what I did). You have to go to that screen after it's been set up and take that approach. That was driving me crazy...
Greg