These suggestions are all located under the project's properties (Under the Java Perspective is one way to get there) you'll see "Java Build Path".
The suggestions include, but are not limited to: 1. If the class files you speak of are in another project, click "Add Class Folder" and select it. 2. If the class files are under your TOMCAT area as you specified in the SysDeo preferences, click "Add Variable", click "TOMCAT_HOME, click the "Extend" button, and select your sub-folder. 3. Put them in a .jar file (anywhere appropriate) and click "Add External Jar" or "Add JARs" (if it's inside your project directory tree. One of those should work. One warning, if you don't have the source files to the classes, you might not be able to see it debug those modules very well. But, you should at least be able to examine the variables as debug steps you through the methods. Regards, David -----Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 10:39 PM To: Struts Users Mailing List Subject: RE: [OT] Sysdeo Eclipse plugin for tomcat - working directory Classes. Ive no problem running the debugger. The problem is that when running TomCat from Eclipse some of the classes I am using (which I didnt write myself) encounter errors as the working directory is different to what it would be if I had started the tomcat by running the batch file from the bin directory. These classes are there to perform file handling (reading/writing/moving) and open/create the files by using a File object and creating a stream based on it - problem is they use a relative path to the file, and that path is wrong when the current directory is c:\eclipse Ill have a try following Yansheng's advise by setting my catalina_home env variable. (Its not set as I have severalmany tomcats I need to switch between for different projects) -----Original Message----- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Thursday, 6 November 2003 01:11 To: Struts Users Mailing List Subject: RE: [OT] Sysdeo Eclipse plugin for tomcat - working directory When you say working directory, do you mean JSP's or classes? With Eclipse v2.1, Struts v1.1, taglibs 1 (beta), and Sysdeo 2.1.0, I can debug both. Debugging my java classes is as easy as pie - add a breakpoint, reload your page in the browser, and step through it in Ecilpse's debug window while it shows you the corresponding java lines it stops on. Debugging JSP's (I just tried it for the first time, involves right mouse clicking on the project and choosing 'Tomcat Project' -> 'Create JSP work directory'. At that point it listed the JSP pages like compiled java classes. Unforunately, when I added a breakpoint to the class, it allowed me to step through it without showing the source file properly linked into it so I had trouble following the printouts. However, the variables were visible and it did step through it, even if I didn't have the nice, normal, java file to step through and see where I was. Since the debug window showed the line number, I could click back and forth. But, since it was my first try debugging a JSP that way, I normally figure it out mentally, not debug-wise for my JSPs, I think that was a good result on JSP debugging. Regards, David -----Original Message----- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 11:30 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: [OT] Sysdeo Eclipse plugin for tomcat - working directory Um, you can set your $tomcat_home under window -> preference. Is that what you want? I had a problem with my log4j output. I fixed the problem by putting the eclipse/ dir on the same level as the log output. It's been working well for me for a almost year now. And I don't start tomcat anywhere else except eclipse. -----Original Message----- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: November 5, 2003 12:50 AM To: Struts Subject: [OT] Sysdeo Eclipse plugin for tomcat - working directory Anyone else using this plugin to get debugging functionality in Eclipse for their webapps? Is there any way to set the working directory to be used when one starts TomCat with the plugin? Its being set to c:/eclipse instead of tomcat/somethingorother (bin?) and some of the lower levels of the app Im working on use j2se style file access based on a relative path from the working directory (arrgh!) - which means I cant debug the app properly as it doesnt find things its looking for when running tomcat from eclipse. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

