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]

Reply via email to