| Summary: | [xslt][launcher] Need ability to set working directory or output directory | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | David Carver <d_a_carver> |
| Component: | wst.xsl | Assignee: | Doug <doug.satchwell> |
| Status: | RESOLVED FIXED | QA Contact: | Doug <doug.satchwell> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | doug.satchwell, remy.suen, stuartharper, thatnitind |
| Version: | unspecified | ||
| Target Milestone: | 3.1 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 221973 | ||
| Bug Blocks: | |||
|
Description
David Carver
Did someone just say working directory? Please see bug 214696. :) Mass Migration to wtp.inc.xsl If the working directory were changed, it would cause any relative URI's to includes/imports not to work. It would be better to use a variable for the output documents, which can be set in the run configuration. (In reply to comment #3) > If the working directory were changed, it would cause any relative URI's to > includes/imports not to work. It would be better to use a variable for the > output documents, which can be set in the run configuration. > Processors should be basing the includes/imports off the location and path where the XSLT processor is stored, so I don't necessarily think this is going to mess up imports and includes, but we should test this, and have a unit test to verify this situation before just marking it as invalid, so I'm suggesting that we reopen this for further investigation. Ok - re-opening so we can have some unit tests for this. Looks like Remy may have made some progress on this from the base platform. So once this is handled, we may be able to add this tab and use it in XSL Tools launch configurations. This will need to wait until bug 221973 is implemented at the platform. This will separate out the JDT working directory into a more general working directory that can be used regardless if JDT is available or not. re-assigning until the dependent patch is implemented. Added the new block to the Output tab A report in the WTP-Incubator is saying there are some problems with this. Stuart Harper wrote: > I just did an update from HEAD and there seems to be a couple of issues in the current revision: > > -In xsl.debug.ui the class WorkingDirectoryBlock is missing > -In xsl.jaxp.launching The file JAXPJavaLaunchConfigurationDelegate calls a method getWorkingDir() on LaunchHelper which doesn't exist. Doug it looks like some changes that were done for org.eclipse.wst.xsl.launching were not checked in as I'm able to duplicate the error messages when I check out code from head. re-assigning to doug so that he can check in the missing code for the xsl.launching plugin. Its checked in now. Not sure how I missed it, but I did. Mark as fixed mass update to 3.1 target due to movement from wtp incubator to wtp source editing lost the original milestones. |