facebook

Hot Sync doesn’t seem to work when using classic deployment

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

    I am evaluating replacing RAD with MyEclipse Blue 2013. I have setup my server to do classic deployment. When I make a java and save code change nothing happens. I am expecting the class to be updated and the debugger to reset to the first line of the method. I tried the enhanced mode and it does behave this way but then it won’t pick up changed JSP files for some reason. I tried in-project as well which seems to cause a full project build when I change a java file. I need some help to deploy in a manner that does not interrupt the debug process.

    #341640 Reply

    support-swapna
    Moderator

    wlolinger,

    Sorry that you are seeing issues.

    1.Can you please make sure the server is configured to run in “Debug” mode when trying the classic deployment?

    2. Also,please make sure that “Project -> Build Automatically” is switched. Hot code replacement works (only?) if automatic build is switched on.

    3.Which version of WAS are you working with ?

    4. Whether hot swap works (or not) depends on the type of change you are making – some changes will be automatically picked up, but some may not. For example, could you try a simple dummy method with a String return value? If you change this return value to something else and save the file, this should certainly work. However, adding new methods, changing signatures and adding or removing classes will typically not work. What changes are you trying to make?

    #341643 Reply

    Thanks for the response.
    Ok I do have the server set to start in debug and it is stopping on breakpoints.
    It is set to build automatically.
    I am using the WAS 8.5 Developer edition (full profile).

    I was simply adding following line to a method multiple times to see if the code was being replaced (changing the number each time It was added):

    System.out.println(“Test1”);

    #341682 Reply

    support-swapna
    Moderator

    wlolinger,

    Thank you for the details. I could not replicate the issue at my end. I tried the classic deployment mode.

    1. Can you please share the Installation Details from MyEclipse > Installation Summary > Installation Details ?
    2. Also share the precise version of WAS (e.g. 8.5.0.1,8.5.5.0 etc).
    3. Please send us a sample project which exhibits the problem to help us replicate the issue at our end.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Hot Sync doesn’t seem to work when using classic deployment

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