Re: sourcepath issue

Peter Chen <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Nathan,

Thanks for the reply. After reading the documentation,
I realized it was my fault. I did not realize the
source path directory should be set up to reflect the
classes' package structure, as the doc said, like a 
class path. I had put all source files that belong to
two packages under one directory. I made the changes
and it works for me now. Since there maybe people like
me who do not read the docs first, my suggestion is
change the error message a little bit when the source
file could not be found to something like "sourcepath 
and source file directory structures should be set up
to reflect the classes' package structure .." 

I have also registered as a user and responded to the
confirmation request. 

Peter
--- Nathan Fiedler <[email protected]> wrote:
> Could you provide more details on the paths? In
> particular, what is the
> sourcepath set to? What is the directory structure
> of your source tree?
> The JSwat documentation has an explanation of how
> JSwat uses the
> classpath and sourcepath to find source files. You
> might want to read
> it. The docs for JSwat 1.x are on the downloads
> page, while for 2.x the
> help files are included and accessible from the Help
> menu.
> 
> It would be nice to know which version of JSwat are
> you using.
> 
> BTW, you will need to subscribe to the list to post
> a response. I made
> an exception for your first post only.
> 
> nathan
> 
> 
> On Wed, 2002-06-05 at 22:02, Peter Chen wrote:
> > I have not been able to make sourcepath to work on
> my
> > NT 4.0 with JDK 1.3.1. when I use jSwat to debug
> > remote java programs running on HP Unix. I even
> tried
> > to set sourcepath when JSwat is started (i. e.,
> java
> > -Djava.source.path=<java source code directory>
> > ...where the source directory is on the NT
> machine.)
> > When I double clicked on a node on the classes
> panel,
> > it always complains about not finding the source
> file.
> > Any suggestions on what might not have been set 
> > correctly ?
> > 
> > Thanks.
> > 
> > peter
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
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.