Java Hotswap with eclipses and remote debugging on local machine

I am trying to figure out how to enable hot code tuning during debugging with my build system and I am dry.

I have an Ant build for debugging, for example:

<target name="debug_dev" depends="compile"
    description="Runs development version with the debugger.">
    <java classname="applets.TabHandler" fork="true" dir="build">
      <jvmarg value="-Xdebug" />
      <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" />
        <classpath refid="compile_classpath" />
    </java>
</target>

Then I use the remote debugging option in Eclipse to connect to port 8000. Debugging works fine, but I can’t edit the code as I was before I used Ant. I know that you can start hotswapping with JBoss, Tomcat and other situations, but I just run my program locally with a JVM call, as you can see from above.

Does anyone know if this is possible with my setup?

Thank!

+3
source share
2 answers

Java Ant hotswap . Eclipse.

http://code.google.com/p/hotswap/

+2

Ant . Ant , , Eclipse. hotswapping .. .

0

All Articles