Bug 194281 - GMF Base Platform package depends on UML2
Summary: GMF Base Platform package depends on UML2
Status: RESOLVED WONTFIX
Alias: None
Product: GMP
Classification: Modeling
Component: Releng (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.1   Edit
Assignee: gmf.releng-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2007-06-25 15:10 EDT by Antoine Toulmé CLA
Modified: 2010-07-19 22:07 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Toulmé CLA 2007-06-25 15:10:46 EDT
I am a committer on the BPMN modeler hosted by STP.

Basically, when switching versions, I have to change GMF and EMF. Their dependencies include OCL. When installing OCL, I saw that the plugin org.eclipse.ocl.uml was requiring UML2. I deleted this plugin right away and now it works just fine. I would like to have the ability to download the minimal set of OCL that is sufficient to run GMF.
Comment 1 Christian Damus CLA 2007-06-25 17:49:22 EDT
This capability is already provided by the MDT update site:  simply install the org.eclipse.ocl feature into your configuration (and any other feature that GMF requires).

The downloadable ZIP is really a secondary install mechanism; I don't know that we will have the wherewithal to provide multiple different slices of the OCL component's features as ZIPs ...
Comment 2 Christian Damus CLA 2007-06-29 13:41:35 EDT
PDE improvements in target management (in particular the update-site provisioner) also obviate the downloadable ZIP distribution format.
Comment 3 Antoine Toulmé CLA 2007-06-29 13:55:46 EDT
I don't agree with this. The GMF base platform [0] is integrating OCL, and is not complete because of this problem.

Trying to install OCL from the update manager produces an error: you have to select UML to validate the dependencies.

A plugin which obviously is depending on UML should be packaged with UML.

[0]: http://europa-mirror2.eclipse.org/modeling/gmf/downloads/drops/B-2.0RC4-200706210000/index.php
Comment 4 Christian Damus CLA 2007-06-29 14:14:41 EDT
I don't understand.  The web page referenced by the link in comment #3 has links to update sites, not to ZIP files.

The update site allows feature-by-feature installation.  The org.eclipse.ocl.uml feature is separate from the others, and is the only one that has the UML dependency.

No project in Eclipse is expected to package, in its own downloads, other Eclipse projects that it depends on.  Nor is a project on which some plug-in depends expected to package that plug-in.  Using these arguments, EMF would include all of the other Modeling projects and all of the Modeling projects' downloads would include EMF.

The original problem statement is that "I would like to have the ability to download the minimal set of OCL that is sufficient to run GMF."  This capability is already provided by the MDT update site.

Update Manager has a "Select Required" button which will select only those OCL features that are required by GMF, and that does not include org.eclipse.ocl.uml.
Comment 5 Nick Boldt CLA 2007-06-29 14:26:50 EDT
Even simpler, if you want to install GMF with all its minimal dependencies but don't want to have to add multiple update sites, just download the Europa RCP bundle, then update it using the Europa update site provided.

http://www.eclipse.org/downloads/moreinfo/rcp.php

Help > Software Updates > Find and Install... > 
  (*) Search for new features > Next > [x] Europa > Next

Choose Modeling > GMF, then click the 'Select Required' button to grab all the dependencies.

If, conversely, GMF currently depends on a larger OCL feature which includes the .uml plugin, then this is a bug for GMF to address (unless they actually require that plugin), in which case there's no problem here. Note that with 3.3, Update Manager can resolve feature-to-plugin dependencies, so you could rewrite the GMF  features to depend on ONLY the OCL plugins you actually require (rather than the features). Copying Anthony & Rich for comment, if applicable.
Comment 6 Antoine Toulmé CLA 2007-06-29 14:40:51 EDT
First, my apologies. I am not able to reproduce the GMf dependency over UML with a clean Java IDE install using the update manager. I am able to reproduce it with my configuration, but this is not typical or harmful.

My point is:
I am not trying to use GMF, I am trying to develop over GMF. For this, I need to download the bundles associated with their source code, and no update site can provide this to me. In that case, the zip package of OCL is creating a dependency over UML2 that does not make sense to me. Being a developer over the BPMN modeler that is provided by the STP project, I don't think it's good for people that want to try out and run our project with the source code available to have to download UML.

If you look at the link I provided earlier (in comment #3), and download the GMF base SDK, you will see that it contains the UML plugins. It does not make sense to me.
Comment 7 Christian Damus CLA 2007-06-29 14:48:53 EDT
Oh, I see now.  GMF publishes a convenient all-in-one download, and it includes the org.eclipse.ocl.uml feature (I double-checked).

It probably doesn't need to or, if it does, then it should also include the UML2 run-time.

This is a problem for GMF Releng to address in their download.  Looks like a case of too-smart-by-half  :-)
Comment 8 Christian Damus CLA 2007-06-29 14:49:47 EDT
Updating title and assignee.
Comment 9 Antoine Toulmé CLA 2007-06-29 14:54:08 EDT
Thanks Christian and Nick for your quick answers, and sorry for not making it clearer from the beginning.
Comment 10 Nick Boldt CLA 2008-04-05 02:15:35 EDT
Max: is this still a problem?
Comment 11 Richard Gronback CLA 2008-05-12 15:58:19 EDT
With the migration to the common builder, GMF no longer produces a base platform.  Closing this as WONTFIX.
Comment 12 Eclipse Webmaster CLA 2010-07-19 22:07:21 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Releng was the original product and component for this bug