On 03/12/2015 03:15 PM, Chuck Bridgham wrote:
Hi Mickael,
Hi,
Thanks! - Yes this is something we have thrown around for years, but
haven't acting on...
Good to know.
I quickly scanned the code, and it looks like your using the m2e
"ProjectConfigurator" model - which is very logical.
The Maven support uses ProjectConfigurator, but there other strategies
don't use it (for example, most Java EE detectors use the Facets API.
What I plan to contribute to WTP incubator is only
https://github.com/jbosstools/jbosstools-playground/blob/master/plugins/org.jboss.tools.playground.easymport.jee/
.
Do you have a common interface for "discovering" the source features?
Like you said.. this could be extended by adopters as well to include
or override configuration as they desire.
Yes, the interface is part of the E4 project and is
"ProjectConfigurator" which has 2 goals: detect projects, and if project
matches the detector expectation, configure it (add nature and so on).
See for example
https://github.com/jbosstools/jbosstools-playground/blob/master/plugins/org.jboss.tools.playground.easymport.jee/src/org/jboss/tools/playground/easymport/jee/servlet/JaxRsConfigurator.java
and
https://github.com/jbosstools/jbosstools-playground/blob/master/plugins/org.jboss.tools.playground.easymport.jee/plugin.xml#L24
; or
http://git.eclipse.org/c/e4/org.eclipse.e4.ui.git/tree/bundles/org.eclipse.e4.ui.importer.pde/src/org/eclipse/pde/internal/ui/wizards/BundleProjectConfigurator.java
and related plugin.xml.
I'm very interested in this.. can you forward more details? maybe
open a bugzilla to track? We don't have a WTP status meeting this
week, but I welcome you to join next Thursday?
The initial bugzilla to contribute this framework to E4 is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=457308 .
I have in my TODO-list to write a wiki page under the
wiki.eclipse.org/E4 to give details to adopters. I'll do my best to
attend next meeting to give you more details.
Cheers,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>
_______________________________________________
wtp-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev