How hot can I deploy using the Glassfish adapter in Eclipse

Has anyone got a Glassfish v3 adapter to work with Eclipse without restarting with every code change? I tried to install this, but the adapter β€œreissues” every time I change any file, which is very annoying. It takes up to 3 minutes and blocks my car for a second.

I must remember to constantly stop the adapter before making any changes. I would agree to simply disable this β€œfeature”, but even if I remove β€œpost the change immediately,” this behavior will happen anyway.

I am using the latest Glassfish adapter and trying to use eclipse 3.5 and 3.6 million builds ...

What setting is used by everyone if you have glass fish v3 as your server? Is there a way to use the hot deployment feature effectively?

+3
source share
2 answers

I just checked, and setting the adapter to Never publish automatically works as expected:

alt text

With this setup, I have to post the changes manually.

I am using Eclipse 3.5 with the latest GlassFish v3 adapter. It just works.

+5
source

"", maven, eclipse GF4. , xhtml. .project

<buildCommand>
   <name>org.eclipse.m2e.core.maven2Builder</name>
   <arguments></arguments>
</buildCommand>

:

<buildCommand>
   <name>org.eclipse.m2e.core.maven2Builder</name>
   <triggers>incremental,</triggers>
   <arguments></arguments>
</buildCommand>

, ( , .)

0

Source: https://habr.com/ru/post/1738031/


All Articles