Re: Problem about source path

Nathan Fiedler <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <1027356365.5943.7.camel@nuts>
The issue for jswat is how to find your code. It wants to see classes
and source:

1. In the exact same directory structure; classes next to source.
2. Classes in blah/classes/com/whatever/proj/pkg and the source
   in blah/sources/com/whatever/proj/pkg (or something like that).

It is the mirrored directory structure that is the important property of
the layout. The source file for the class "com.bluemarsh.jswat.Main" is
found in the directory ~/java/jswat/classes/com/bluemarsh/jswat. Ant
will compile this code into ~/java/jswat/builddist/com/bluemarsh/jswat.
Then the classpath would be ~/java/jswat/builddist and the sourcepath
would be ~/java/jswat/classes. Makes sense, huh?

Your layout seems to be complex and jswat cannot use the simple mapping
technique alluded to above to find the source files.

This has come up before and I did not have a solution then, either. I
have not heard of a good solution to the issue since then. I wonder if
other debuggers/IDEs handle this better.

nathan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.