Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349157 - [releng] Wrong version range for imp
Summary: [releng] Wrong version range for imp
Status: CLOSED WONTFIX
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 3.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-12 17:38 EDT by Axel Uhl CLA
Modified: 2014-05-27 09:53 EDT (History)
3 users (show)

See Also:


Attachments
Extending IMP version range (916 bytes, patch)
2011-06-12 17:41 EDT, Axel Uhl CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Uhl CLA 2011-06-12 17:38:27 EDT
org.eclipse.ocl.examples.editor.ui has a version range [0.1.104,0.1.105) for org.eclipse.imp.runtime. This doesn't compile for Indigo RC4 where imp comes in 0.1.108. I suggest we set the version range to [0.1.104,0.1.110).
Comment 1 Axel Uhl CLA 2011-06-12 17:41:53 EDT
Created attachment 197861 [details]
Extending IMP version range

See previous comment
Comment 2 Axel Uhl CLA 2011-06-12 17:43:45 EDT
Pushed patch to bugs/349157.
Comment 3 Ed Willink CLA 2011-06-13 01:49:37 EDT
(In reply to comment #0)
> This doesn't compile for Indigo RC4 where imp comes in 0.1.108. 

Fortunately this isn't quite true or we'd be asking for an Indigo respin. o.e.o.e.editor.ocl* is not part of Helios or Indigo; the IP issue was the original reason for Xtext migration.

This plugin was part of the IMP support for IMP editors migrated from QVTd. It is not used by the Xtext or Pivot support. It was only retained because QVTd has not moved on. Not a good enough reason.

IMP is incubation and makes regular small API changes so just raising the bound without test is ignoring the problem. Let's eliminate all IMP/LPG editor relics and lose o.e.o.e.editor* and o.e.o.e.parser*.
Comment 4 Axel Uhl CLA 2011-06-13 04:02:38 EDT
(In reply to comment #3)
> (In reply to comment #0)
> > This doesn't compile for Indigo RC4 where imp comes in 0.1.108. 
> 
> Fortunately this isn't quite true or we'd be asking for an Indigo respin.
> o.e.o.e.editor.ocl* is not part of Helios or Indigo; the IP issue was the
> original reason for Xtext migration.
> 
> This plugin was part of the IMP support for IMP editors migrated from QVTd. It
> is not used by the Xtext or Pivot support. It was only retained because QVTd
> has not moved on. Not a good enough reason.
> 
> IMP is incubation and makes regular small API changes so just raising the bound
> without test is ignoring the problem. Let's eliminate all IMP/LPG editor relics
> and lose o.e.o.e.editor* and o.e.o.e.parser*.

I wouldn't call it "without test." I ensured that everything compiles and that all tests are green. But if you can come up with a way to eliminate the dependency altogether, even better. I just have the problem that with these bundles checked out I have errors in my workspace which is inconvenient. Therefore, if compile/tests-green suffices for the time being, maybe you can +1 this one and then come up with a way to eliminate the dependency in a separate bug altogether.
Comment 5 Ed Willink CLA 2011-06-13 04:21:08 EDT
There are very few, if any tests on these bundles. For now just delete o.e.o.e.editor* and o.e.o.e.parser* from your workspace.
Comment 6 Ed Willink CLA 2011-08-30 01:16:58 EDT
The IMP-based code is obsolete, so any consumer takes responsibility for use. Let's not provide any needless impediments.

Just remove the upper bound altogether (for Juno; no change for SR1/SR2).
Comment 7 Ed Willink CLA 2011-08-30 01:34:21 EDT
(In reply to comment #6)
> The IMP-based code is obsolete, so any consumer takes responsibility for use.
> Let's not provide any needless impediments.
> 
> Just remove the upper bound altogether (for Juno; no change for SR1/SR2).

No. I think this should go in SR1 RC2 as well today. We don't care, but anyone using both OCL Examples (not necessarily needing IMP at all) and IMP gets a bounds conflict.

Removing the bound limit avoids a Bugzilla from an Indigo ImpactAnalyzer+IMP user.
Comment 8 Axel Uhl CLA 2011-08-30 08:42:39 EDT
(In reply to comment #7)
> (In reply to comment #6)
> > The IMP-based code is obsolete, so any consumer takes responsibility for use.
> > Let's not provide any needless impediments.
> > 
> > Just remove the upper bound altogether (for Juno; no change for SR1/SR2).
> 
> No. I think this should go in SR1 RC2 as well today. We don't care, but anyone
> using both OCL Examples (not necessarily needing IMP at all) and IMP gets a
> bounds conflict.
> 
> Removing the bound limit avoids a Bugzilla from an Indigo ImpactAnalyzer+IMP
> user.

Done. Branch bug/349157 ready for review with this trivial change. Let me know into which branches to merge.
Comment 9 Ed Willink CLA 2011-08-30 12:47:50 EDT
Do the same change on both maintenance/R3_1 and master, setting the relevant plugin to 3.1.1. (The feature is already 3.1.1 so no ripple.)

If you're on line and able to do this now, reply and do so, otherwise I will do so at 18:15 (30 minutes time), since it needs to be in for the SR1 RC2 build.
Comment 10 Ed Willink CLA 2011-08-30 12:50:47 EDT
I prefer no upper bound since we are disclaiming all responsibility for compatibility; just providing the code with minimum impediment to anyone who wants it. (If IMP leaps to 1.400, I don't want to have to change this again.)
Comment 11 Adolfo Sanchez-Barbudo Herrera CLA 2011-08-30 13:09:37 EDT
Ed

(In reply to comment #9)
> Do the same change on both maintenance/R3_1 and master, setting the relevant
> plugin to 3.1.1. (The feature is already 3.1.1 so no ripple.)
> 
> If you're on line and able to do this now, reply and do so, otherwise I will do
> so at 18:15 (30 minutes time), since it needs to be in for the SR1 RC2 build.

I don't follow ... AFAI have understood, the issue is part of non-released plugin isn't it ? Why do we need this change for today's build ?

(I'll do in in an hour time, more or less).

Cheers,
Adolfo.
Comment 12 Ed Willink CLA 2011-08-30 13:32:52 EDT
(In reply to comment #11)
> I don't follow ... AFAI have understood, the issue is part of non-released
> plugin isn't it ? Why do we need this change for today's build ?

Well spotted. All change. IMP was not used in Indigo, so no change in SR1.

IMP will not be used in Juno, so no change needed for Mx.

I've just been trying to do the SR1 patch; loading LPG doesn't seem easy.

Do we care whether unreleased code is easier to consume? I don't think so.

I'm still subscribed to imp-dev. I recall discussion of a minor but breaking API change. I don't think we need to support this code in any way. Consumers copy and mend.
Comment 13 Ed Willink CLA 2011-09-13 01:59:41 EDT
bug/349157 renamed to archive/349157 to clarify GIT history of abandoned work.
Comment 14 Faiez Za CLA 2012-09-17 04:25:13 EDT
> IMP will not be used in Juno, so no change needed for Mx.

I find in http://www.eclipse.org/projects/project-plan.php?planurl=modeling/mdt/ocl/project-info/plan_juno.xml#release_deliverables that 

Eclipse (MDT) OCL 4.0.0 source code will be available as versions tagged "R4_0" in the project's GIT repository. 

However, I find in the tagged version "R4_0" in the 
org.eclipse.ocl.examples.editor.ui.imp.CommonParseResult class

some IMP imports.

It is normal?
Comment 15 Ed Willink CLA 2012-09-17 05:13:16 EDT
You should find that org.eclipse.ocl.examples.editor.ui.imp is in the "archives" folder.

When we used CVS, we could provide a *.psf file that imported the right plugins. GIT unfortunately requires a total clone, and then seems to leave the user to guess at which projects to import. See Bug 355912 for discussion of a GIT replacement for CVS PSFs.
Comment 16 Ed Willink CLA 2014-05-27 09:46:07 EDT
CLOSED after more than a year in RESOLVED state.
Comment 17 Ed Willink CLA 2014-05-27 09:53:23 EDT
and CLOSE