Bug 313793 - xsl.jaxp plug-ins add JDT requirement to the Javascript EPP package
Summary: xsl.jaxp plug-ins add JDT requirement to the Javascript EPP package
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsl (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows Vista
: P3 major (vote)
Target Milestone: Future   Edit
Assignee: wst.xsl-triaged CLA
QA Contact: David Carver CLA
URL:
Whiteboard:
Keywords:
: 310282 (view as bug list)
Depends on: 170394 271627
Blocks: 310282
  Show dependency tree
 
Reported: 2010-05-20 14:58 EDT by Kaloyan Raev CLA
Modified: 2013-05-23 14:06 EDT (History)
3 users (show)

See Also:


Attachments
Plug-in Dependencies Graph (15.80 KB, image/png)
2010-05-20 14:58 EDT, Kaloyan Raev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2010-05-20 14:58:15 EDT
Created attachment 169398 [details]
Plug-in Dependencies Graph

It looks like the org.eclipse.wst.xsl.jaxp.* plugins, that are included in the org.eclipse.wst.xsl.feature, have dependencies to a set of org.eclipse.jdt.* plugins (see the attached screenshot). 

This causes a problem in the Javascript EPP package that includes the org.eclipse.wst.xsl.feature. See bug 310282. This dependencies adds a the set of JDT plugins in the JavaScript installation. This not only increases the size of the package, but also pollutes the UI of the IDE with unnecessary Java stuff. 

Since JAXP stands for Java API for XML Processing, it looks natural that the xsl.jaxp plugins have dependencies to some JDT plugin. But I guess it is possible to move these xsl.jaxp plugins in a separate feature, so we still have XSL in the Javascript EPP, but no XSL.JAXP and hence no JDT.
Comment 1 David Carver CLA 2010-05-20 15:16:46 EDT
(In reply to comment #0)
> Created an attachment (id=169398) [details]
> Plug-in Dependencies Graph
> 
> It looks like the org.eclipse.wst.xsl.jaxp.* plugins, that are included in the
> org.eclipse.wst.xsl.feature, have dependencies to a set of org.eclipse.jdt.*
> plugins (see the attached screenshot). 
> 
> This causes a problem in the Javascript EPP package that includes the
> org.eclipse.wst.xsl.feature. See bug 310282. This dependencies adds a the set
> of JDT plugins in the JavaScript installation. This not only increases the size
> of the package, but also pollutes the UI of the IDE with unnecessary Java
> stuff. 
> 
> Since JAXP stands for Java API for XML Processing, it looks natural that the
> xsl.jaxp plugins have dependencies to some JDT plugin. But I guess it is
> possible to move these xsl.jaxp plugins in a separate feature, so we still have
> XSL in the Javascript EPP, but no XSL.JAXP and hence no JDT.

The problem here is that if you don't include the jaxp feature, you do not get Launching/Debugging for the XSL plugins.  There is bug 271672 that requests a new jaxp.feature for xsl.  This would allow just the editor to be included but no launching support.

The bigger issue is the way the java debug framework which the xsl.jaxp functionality is setup.  You get all of JDT because of a jdt.debug.ui dependency on jdt.ui which brings in the full JDT editor as well.   There is an open bug against JDT asking for a cleaner separation, see bug 170394.
Comment 2 David Williams CLA 2010-05-20 21:36:43 EDT
*** Bug 310282 has been marked as a duplicate of this bug. ***
Comment 3 Martin Oberhuber CLA 2011-05-03 08:25:32 EDT
This is a problem for us as well.

We'd like to support simple Web Editing workflows, including JavaScript and PHP Editing. The XSL feature is currently listed as a dependency - but we don't want or need JAXP nor XSL Launching or Debug.

Would it be possible to split the XSL feature into a part that just contains the core infrastructure needed by JSDT / PDT, and another part adding the XSL Debug and JAXP capabilities ?
Comment 4 David Carver CLA 2011-05-03 09:21:01 EDT
A work around until I get this solved officially is to create a feature that only contains the following bundles:

org.eclipse.wst.xsl.core
org.eclipse.wst.xsl.ui
org.eclipse.wst.xpath.core
org.eclipse.wst.xpath.ui


This will give you the editor and content assistance, as well as the XPath View and the XPath templates used by the xsl editor for content assistance.