facebook

class files and deployment not following changes in source

💡
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
  • #204088 Reply

    rhammer
    Member

    I am having trouble with updating and deployment. It was working last week, but something has broken now. Using Windows 2000, Eclipse 2.1.3 (Jan 22, 04), MyEclipse v2.7-RC2 (also downloaded Jan 22).

    First I noticed that my deployment (in C:\PF\tomcat5\webapps\MS4 on my machine) was not reflecting changes that I made in my Java source files, even though being redeployed.

    Trying to narrow the problem down, I remove the MyEclipse project deployment, and discover that my Java class files (in C:\B\E\MS4\WebRoot\WEB-INF\classes\common) are not being updated to reflect changes in my source files (in C:\B\E\MS4\src\common), even though I save the changes and Project -> Rebuild All.

    What should I be looking for?

    Should I update my version of MyEclipse or Eclipse?

    Thank you,
    Rich Hammer

    #204091

    Riyad Kalla
    Member

    Rich,
    Did you change to using a packaged deployment? Only exploded deployments will automatically be updated for you. Also maybe hold out until 2.7 Final comes out next week and give that a try and see if your problem still prevails.

    If it does, please let us know and we’ll get you fixed up ASAP. Until then, just try and recreate the exploded deployment and see if everything behaves as it should. You can double check your <eclipse install>\.metadata\.log file for any failures or exceptions that might be telling.

    #204092

    rhammer
    Member

    Thank you. I have never used packaged deployment. I have only used exploded deployment. So that’s not behind it.

    For the time I seem to have fixed part of the problem. Now at least the class files in my Eclipse workspace are being updated when I rebuild the project. And I can deploy with drag and drop. If anyone else wants to know the secret, here is what I did:
    First I restarted Eclipse (this was not enough, though).
    Then I took a nap. Then I went grocery shopping.
    Then I restarted Eclipse again.

    And it worked!

    Rich Hammer

    #204093

    Riyad Kalla
    Member

    lol, specifically in that order? 😀

    We will definately add this to the FAQ, thanks again!

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: class files and deployment not following changes in source

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