- This topic has 4 replies, 2 voices, and was last updated 20 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
ericlarsonMemberI have a series of Java projects with different versions of my source tree, and a single web project. The reason for this layout is my source control system is not structured very well, and can’t easily be mapped to a web-app. I use Ant to build jars and move source code to the web app from one of my Java projects to the web project as needed. From the web project I deploy to my JRun installation using MyEclipse.
The problem I have is that it appears that while debugging in my J2EE server (JRun 4) the source files are pulled from one of the Java projects rather than the web project.
Can you tell me what the algorithm is for determining which source file is loaded into the debugger when I am running JRun under eclipse debugging? Am I possibly missing something in my web project configuration?
October 29, 2004 at 11:56 am #218521
Riyad KallaMemberAre you asking about Java Class file sources, or JSP pages? Java class file sources are looked up using standard Eclipse debugger method, by searching your “Source” dirs of all open projects during debugging. JSP debugging is done via our source locator that is part of ME and hooked into the debugging process when you start your app server from ME.
November 4, 2004 at 8:18 am #218844
ericlarsonMemberI am concerned about java class source files. Since you mentioned that it is determined by the Eclipse default mechanism, I’ve been able to verify what has been going on by opening and closing projects. That is a big help already.
When you are debugging a JRun server launched through myEclipse, if you right click on the JRun4Server itme in the debug window in the debugging perspective you gain access to a ‘modify and launch’ tabbed dialog that allows you to make changes to the source search path. Is it possible to use this to modify the source search path for a jrun debugging session? Or is this created on-the-fly through myEclipseIDE?
November 4, 2004 at 8:42 am #218853
Riyad KallaMemberEric,
I’m checking on this for you.November 4, 2004 at 8:55 am #218860
Riyad KallaMemberEric,
Reply from dev:No, it won’t. The lookup path used for app servers is basically any source
anywhere in the workspace already, since any number of applications can be
deployed on any application server. -
AuthorPosts