facebook

Hot Deploy Question

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #293831 Reply

    Mork
    Participant

    When you hot deploy using the Exploded Archive option in MyEclipse….

    1) An instance of ClassA is created is currently being debugged within in the MyEclipse debugger.

    2) While the debugger is running, you make a change to the class’ source code.

    3) Are the modifications applied to the existing instance of ClassA?

    In other words, does Hot Deploy work while you’re debugging or just when you’re editing?

    I understand that in “edit mode” if you make a change, and save it, MyEclipse will compile and copy the .class (or JSP, whatever) file to the local app server automatically.

    The question above is what happens when you make a change *while* The debugger is running.

    How does MyEclipse handle this?

    Thanks.

    – Mork

    #293882

    Riyad Kalla
    Member

    Mork, yes you can, but “it depends”. The HotSwap mechanism defined by the debugger are very specific. You can typically change the contents of code bodies no problem, but you cannot add/remove class members or method declarations.

    #293885

    Mork
    Participant

    Cool, thank you very much!!!

    Good to see you on the board again. Haven’t seen replies from you in a while.

    Thanks again!

    – M

    #293890

    Riyad Kalla
    Member

    Thanks Mork 😉

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Hot Deploy Question

You must be logged in to post in the forum log in