- This topic has 3 replies, 2 voices, and was last updated 21 years, 4 months ago by Scott Anderson.
-
AuthorPosts
-
srauMemberHi – We have multiple projects in our IDE. We usually deploy one project, debug, undeploy and switch to the next project. Unfortunately, when we debug the second project and stop at a breakpoint, the IDE opens up a file from the first project. This is a big problem for us since we have to remove the first project completely from the IDE every time.
So is this an Eclipse quirk ? Or is this a plugin issue ? It would be nice to specify a current working project.
Thanks
S Rau
Scott AndersonParticipantThe symptom that you’re experiencing is caused because you can actually deploy any project to any server simultaneously. Since that is the case, we register all open projects as possible source locations with the debugger. If you have mutliple projects with exactly the same source file in exactly the same project, the debugger can’t tell which source file is actually the one being run in the particular server you’re debugging.
Unfortunately, given this ambiguity, the only real solutions are to either not have mutiple instances of exactly the same class in multiple projects, or to temporarily close the projects with duplicate source that you’re not debugging them. Closed projects are ignored by the debugger and can quickly be reopened when needed and this would be faster than removing them from the workspace.
–Scott
MyEclipse Support
srauMemberOk – closing a project cleans out the webapps/ROOT directory.
Btw, why does MyEclipse create a ‘tmp_war_general’ directory under WEB-INF ?
Scott AndersonParticipantOk – closing a project cleans out the webapps/ROOT directory.
Technically, it undeploys the project and if the ROOT directory had a previous setting it should restore the backed up value. Otherwise it will just remove it.
Btw, why does MyEclipse create a ‘tmp_war_general’ directory under WEB-INF ?
We don’t. I would gess that’s a server-generated directory.
–Scott
MyEclipse Support -
AuthorPosts