Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Hot code replace won't work with JBoss and Eclipse(Eclipse Galileo doesn't seem to change code on my JBoss 4.2.3)
icon9.gif  Hot code replace won't work with JBoss and Eclipse [message #528315] Tue, 20 April 2010 03:18 Go to next message
Eclipse UserFriend
Hello.

I've got a problem with hot code replace on my JBoss 4.2.3 and Eclipse Galileo.

Whenever I set a breakpoint in one of my Java sources, the debugger pauses as planned at that line. So it seems to me that the source lookup path is configured properly.
When I now change something in the code and save the file, Eclipse obviously doesn't replace the class file on the server. For example, if I make one code line to a comment, the debugger will go over this line as if it still was a normal code line. Or when I'm deleting a line completely, the debugger seems to be out of sync with the source file (the debugger steps then over parenthesis).

But Eclipse doesn't show me any hot code replace errors either, so I'm assuming that it simply doesn't replace the code on my server.

The concerning project is managed by Maven and deployed as an exploded .war. When I'm deploying it I create at first the exploded .war with the Maven goal war:exploded and then copy that folder with an Ant script to the server.

Are there any special preferences which have to be set to make hot code replace working? Do you know why hot code replace won't work for me?

Thank you for your help!

[Updated on: Mon, 04 April 2011 14:48] by Moderator

Re: Hot code replace won't work with JBoss and Eclipse [message #528338 is a reply to message #528315] Tue, 20 April 2010 04:22 Go to previous message
Eclipse UserFriend
OK, I haven't had 'Project -> Build Automatically' activated. Now it seems to work.

Thank you anyway.

[Updated on: Mon, 04 April 2011 14:48] by Moderator

Previous Topic:Correct usage of @code (Javadoc)
Next Topic:Connection JDBC from eclipse
Goto Forum:
  


Current Time: Wed Mar 26 08:11:45 EDT 2025

Powered by FUDForum. Page generated in 0.02884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top