| Summary: | WTP: make workDir configurable or at least put it at a sensible spot | ||
|---|---|---|---|
| Product: | [WebTools] WTP ServerTools | Reporter: | arne anka <eclipse-bugs> |
| Component: | wst.server | Assignee: | wst.server <wst.server-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Angel Vera <arvera> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | eyuen7 |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
arne anka
Can you clarify which working directory are you trying to set and the existing metadata setting that you are referring to? It is not clear to me whether it is something belonging to server tools, server launch configuration of a specific server type, WTP project support, eclipse project support or product wide settings. the workDir parameter of tomcat. afaik there's only one, and it points to the folder where the jsp are converted to java code and compiled to servlets. since stacktraces caused by a jsp always list the generated java code, i need to check the generated code, hence need to find it to begin with. additionally, the wtp is unable to find the genereated java code -- clicking the line in the stacktrace ends with a dialog informing the suer that the file in question cannot be found or is not in the path or something to that effect, and the file is not opened in eclipse. similar to launch configuration's -> source -> default -> <project> the tomcat workDir needs to be added automatically. after all, the java files generated from JSPs are part of the sources as far as the stacktraces are concerned and the user needs to able to access those files in the same fashion as the Java files in the project itself. it works once the user manually adds this folder, but as I said before, this should happen automatically the same way as the source folders of the project are added when adding the project to the tomcat. |