Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » breaking wtp into reusable features
breaking wtp into reusable features [message #153380] Thu, 22 December 2005 19:51 Go to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
Hi,

I've tried to extract subset of XML features from WTP 1.0M9 and
here is the minimal list I came with:

org.apache.xerces.feature_2.7.0
org.eclipse.wst.common_ui.feature_1.0.0
org.eclipse.wst.common_userdoc.feature_1.0.0
org.eclipse.wst.xml_core.feature_1.0.0
org.eclipse.wst.xml_ui.feature_1.0.0
org.eclipse.wst.xml_userdoc.feature_1.0.0

And the correspond list of plugins (about 6Mb):

org.apache.xerces_2.7.0
org.eclipse.wst.command.env.ui_1.0.0.jar
org.eclipse.wst.common.frameworks.ui_1.0.0.jar
org.eclipse.wst.common.infopop_1.0.0.jar
org.eclipse.wst.common.navigator.views_1.0.0.jar
org.eclipse.wst.common.navigator.workbench_1.0.0.jar
org.eclipse.wst.common.project.facet.ui_1.0.0.jar
org.eclipse.wst.common.snippets_1.0.0.jar
org.eclipse.wst.common.ui.properties_1.0.0.jar
org.eclipse.wst.common.ui_1.0.0.jar
org.eclipse.wst.dtd.core_1.0.0.jar
org.eclipse.wst.dtd.ui.infopop_1.0.0.jar
org.eclipse.wst.dtd.ui_1.0.0.jar
org.eclipse.wst.dtdeditor.doc.user_1.0.0.jar
org.eclipse.wst.internet.cache_1.0.0.jar
org.eclipse.wst.internet.proxy_1.0.0.jar
org.eclipse.wst.sse.core_1.0.0.jar
org.eclipse.wst.sse.doc.user_1.0.0.jar
org.eclipse.wst.sse.ui.infopop_1.0.0.jar
org.eclipse.wst.sse.ui_1.0.0.jar
org.eclipse.wst.validation.ui_1.0.0.jar
org.eclipse.wst.xml.core_1.0.0.jar
org.eclipse.wst.xml.ui.infopop_1.0.0.jar
org.eclipse.wst.xml.ui_1.0.0.jar
org.eclipse.wst.xmleditor.doc.user_1.0.0.jar
org.eclipse.wst.xsd.core_1.0.0.jar
org.eclipse.wst.xsd.ui_1.0.0.jar
org.eclipse.wst.xsdeditor.doc.user_1.0.0.jar

My first concern is that org.eclipse.wst.common_ui.feature has
dependency on GEF, which is only needed for graphical XSD editor.

It will be really nice if we could have XSD editor as a separate
feature and eliminate GEF dependency for the rest of XML features.

I've yet to try to extract other features (e.g. J2EE server runner and
DB plugins) but at first glance they are much more tightly coupled.

It would be also great idea to have an update site where user could
choose only specific features and not install entire WTP package.

Also it seems that org.eclipse.wst.internet.proxy does not really
belong to WTP and should be available as part of Eclipse platform. I
think there is an enhancement request for this already.

regards,
Eugene
Re: breaking wtp into reusable features [message #156474 is a reply to message #153380] Sat, 14 January 2006 04:30 Go to previous messageGo to next message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Thu, 22 Dec 2005 14:51:47 -0500, Eugene Kuleshov <eu@md.pp.ru> wrote:=


Eugene, Thanks for your comments.

You would probably enjoy reading
http://www.eclipse.org/webtools/development/arch_and_design/ subsystems/S=
ubsystemsAndFeatures.html
which contains our description of dependancies and how we plan to delive=
r them.

I've commented below in-line, to some of your specifics, but a general c=
omment is that
we are not trying to minimize code, per se ... but provide logical group=
sing of functionality
that will be stable over time.

>
> My first concern is that org.eclipse.wst.common_ui.feature has
> dependency on GEF, which is only needed for graphical XSD editor.
> It will be really nice if we could have XSD editor as a separate
> feature and eliminate GEF dependency for the rest of XML features.
>

I don't think GEF is so big as to be prohibitive (is it?) and we also
like the idea of having "snippets view" being part of common_ui which al=
so pre-req's
GEF. Ideally, anything that pre-req'd some "external" code could pre-req=
it
as an optional component, and then simply not provide that functionality=
if
taht external dependancy was not present (e.g. XSD editor could just
work without a design page). But .... that does take a fair amount of wo=
rk,
and, honestly, is not a high priority for us at the moment. (Feel free t=
o
volunteer some patches :)
Are you just trying to get things reduced as much as possible? Or is the=
re some
"target size" you see required?

>
> It would be also great idea to have an update site where user could
> choose only specific features and not install entire WTP package.
>

Yep, that's mostly the idea ... We'll try to do what we think are the
most desired and conceptually meaningful features, as defined in the
architecture document linked above ... but the update site will be orien=
ted to
"end users". (that is, not each and every feature will be seperately dow=
nloaded).

> Also it seems that org.eclipse.wst.internet.proxy does not really
> belong to WTP and should be available as part of Eclipse platform. I
> think there is an enhancement request for this already.
>

Yes, absolutely everyone agrees this is a good idea ... but ... there's =
some disagreement
about its priority. Put another way, there's some question about the imp=
lications of *not* doing it.
In essence, this is a good "help wanted" item, if there are any socks/pr=
oxy experts out there,
that could do the "port" to base eclipse form, convert base code to use =
it
(in update manager) as well as port the WTP code that uses it [as patche=
s to bugzilla, of course],
and ... and this is the hard part ... provide a comprohensive test suite=
to verify it all works
in a robust way. I know its actually kind of hard to test, because there=
's so many
varieties and technologies of "proxy setups" that are not always easy to=
simulate (well,
as far as I know).


Thanks again,
Re: breaking wtp into reusable features [message #156752 is a reply to message #156474] Mon, 16 January 2006 18:34 Go to previous messageGo to next message
Werner Keil is currently offline Werner KeilFriend
Messages: 96
Registered: July 2009
Member
Good to hear.
I hope, Eclipse versions above 3.1.0 do NOT store the proxy user AND
password in PLAIN text even if it is only in the .metadata folder ?!
Re: breaking wtp into reusable features [message #156866 is a reply to message #156752] Tue, 17 January 2006 02:40 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On Mon, 16 Jan 2006 13:34:25 -0500, Werner Keil <werner.keil@landg.com> =
wrote:

> Good to hear.
> I hope, Eclipse versions above 3.1.0 do NOT store the proxy user AND
> password in PLAIN text even if it is only in the .metadata folder ?!
>

Well ... sounds like a bug or important enhancement to me! :) ... I hop=
e someone opens it
so we won't lose track. (not to mention provide a nice patch to fix it u=
p :)
Previous Topic:WTP Failing to create web project
Next Topic:Web service problems
Goto Forum:
  


Current Time: Fri Apr 26 22:32:16 GMT 2024

Powered by FUDForum. Page generated in 0.02883 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top