For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 19 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
fetik3MemberMyEclipse Version: 5.0.1 GA
Build id: 20060810-5.0.1-GAI have three projects in a workspace – two are jars, one is a war. When the war gets built (outside of MyEclipse, with Maven) and deployed, the WEB-INF folder contains both jars.
I’ve set up two breakpoints – one in jar ‘a’, and the other in jar ‘b’.
Jar ‘a’ has a dependency on jar ‘b.’
After starting Tomcat via/MyEclipse, it accurately pauses at each breakpoint, however whereas jar ‘a’ works as expected (I’m able to step through the source), jar ‘b’ brings me to a “Class File Editor” tab that states “Source not found.”
What could be the difference between the two jars that would allow one to find the source, but not the other?
Thanks in advance!
January 9, 2007 at 11:19 am #264348
Riyad KallaMemberI have three projects in a workspace – two are jars, one is a war. When the war gets built (outside of MyEclipse, with Maven) and deployed, the WEB-INF folder contains both jars.
Don’t you mean in the WEB-INF/lib directory?
After starting Tomcat via/MyEclipse, it accurately pauses at each breakpoint, however whereas jar ‘a’ works as expected (I’m able to step through the source), jar ‘b’ brings me to a “Class File Editor” tab that states “Source not found.”
What could be the difference between the two jars that would allow one to find the source, but not the other?
So the overall structure of your project is:
+ Web Project + Project A (Dep of Web) + Project B ( Dep of A)And all 3 projects are MyEclipse projects (1 Web, 2 Java Projects) with those dependencies setup?
How are you building these JARs? Are you making sure (assuming you are using ant) to build them with debug turned on in the javac task?
January 9, 2007 at 3:19 pm #264390
fetik3Member@support-rkalla wrote:
Don’t you mean in the WEB-INF/lib directory?
Yes, the WEB-INF/lib directory.
@support-rkalla wrote:
So the overall structure of your project is:
+ Web Project + Project A (Dep of Web) + Project B ( Dep of A)And all 3 projects are MyEclipse projects (1 Web, 2 Java Projects) with those dependencies setup?
The project as it is contained in MyEclipse is as 3 separate, flat projects (note – I don’t use Eclipse to build the binaries, so they are treated separately):
+ Web Project + Project A (Dep of Web) + Project B (Dep of A)@support-rkalla wrote:
How are you building these JARs? Are you making sure (assuming you are using ant) to build them with debug turned on in the javac task?
I’m doing this through Maven. All are built the same way, with the same configuration – what is confusing to me is that if I add a break point in Project A, it pauses and jumps to the appropriate line in the source code. If I add a break point to Project B, it pauses, but doesn’t load the source code. So, it knows that a break point has been set, but can’t seem to find the file after it has pauses (which, from a user standpoint seems a bit odd, since it’s the same file that I set the break in 🙂
January 9, 2007 at 7:07 pm #264397
Riyad KallaMemberWhat do the build path references between the projects look like? Also are they appropriate setup on the “project reference” properties to refer to eachother?
-
AuthorPosts
