Minimum Dependencies for EMF? (Part 2)

In answer to my own question, I managed to get the dependencies needed for Gunnar's sample running in Equinox down to 26 OSGi bundles (from 1000+ a few days ago!):
com.ibm.icu_4.0.1.v20090822.jar
org.eclipse.core.boot_3.1.100.v20080218.jar
org.eclipse.core.commands_3.5.0.I20090525-2000.jar
org.eclipse.core.contenttype_3.4.1.R35x_v20090826-0451.jar
org.eclipse.core.expressions_3.4.101.R35x_v20100209.jar
org.eclipse.core.filebuffers_3.5.0.v20090526-2000.jar
org.eclipse.core.filesystem_1.2.1.R35x_v20091203-1235.jar
org.eclipse.core.jobs_3.4.100.v20090429-1800.jar
org.eclipse.core.resources_3.5.2.R35x_v20091203-1235.jar
org.eclipse.core.runtime.compatibility_3.2.0.v20090413.jar
org.eclipse.core.runtime_3.5.0.v20090525.jar
org.eclipse.emf.common_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.change_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.edit_2.5.0.v200906151043.jar
org.eclipse.emf.ecore.xmi_2.5.0.v200906151043.jar
org.eclipse.emf.ecore_2.5.0.v200906151043.jar
org.eclipse.emf.edit_2.5.0.v200906151043.jar
org.eclipse.emf.query_1.2.100.v200903190031.jar
org.eclipse.emf.transaction_1.3.0.v200902010221.jar
org.eclipse.emf.validation_1.3.0.v200901271722.jar
org.eclipse.emf_2.5.0.v200906151043.jar
org.eclipse.equinox.app_1.2.1.R35x_v20091203.jar
org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar
org.eclipse.equinox.preferences_3.2.300.v20090520-1800.jar
org.eclipse.equinox.registry_3.4.100.v20090520-1800.jar
org.eclipse.equinox.util_1.0.100.v20090520-1800.jar

And maybe not all of these are needed, but at most these are needed. That implies that Gunnar's sample actually uses quite a lot of features from the Eclipse Modeling Tooling story, i.e., not only EMF, but also the Transaction framework, the Validation framework, and the Query framework. All integrated into a nice NetBeans Platform application.

By the way, Gunnar's sample is now available on java.net (thanks Sven):

https://nb-emf.dev.java.net/

My next step is to create a 'hello world' scenario that uses EMF (minus all the frameworks around it, so that should end up with a lot less dependencies than the above), which will then become the official OSGi quick start for the NetBeans Platform. Hurray.

In other news. Watch this video of the final dinner at the end of the NetBeans Platform Certified Training in Belgrade last week!

Comments:

Few days ago I met interesting tool ProGuard:
http://proguard.sourceforge.net/
I have no experience with it, but maybe it could be used for such a compacting task...
Maybe there are better tools for that. Just an idea.
Jan

Posted by honyk on March 20, 2010 at 07:55 AM PDT #

Perhaps you could use the same approach as described in this blog post:

http://zarnekow.blogspot.com/2010/06/how-to-deploy-xtext-standalone.html

Posted by Ivica Loncar on June 22, 2010 at 05:53 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today