Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I hot deploy using the glassfish adapter in Eclipse

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?

like image 652
GBa Avatar asked Nov 21 '25 05:11

GBa


1 Answers

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.

like image 128
Pascal Thivent Avatar answered Nov 24 '25 09:11

Pascal Thivent



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!