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\"
There is 'hack' that I use and works fine with maven, eclipse & GF4 hot deployment. Navigate inside your workspace where you have you xhtml project. open .project file edit
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments></arguments>
</buildCommand>
Modify to:
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<triggers>incremental,</triggers>
<arguments></arguments>
</buildCommand>
It works just fine for, but it might cause weird build issues (haven't tried for a long time so can't really say so use with case.)
I just did a test and configuring the adapter to Never publish automatically works as expected:
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.