Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 285354 - [releng] Major increment to 3.0.0
Summary: [releng] Major increment to 3.0.0
Status: CLOSED FIXED
Alias: None
Product: OCL
Classification: Modeling
Component: Core (show other bugs)
Version: 1.3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.0.0   Edit
Assignee: OCL Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 02:55 EDT by Ed Willink CLA
Modified: 2011-05-27 02:48 EDT (History)
2 users (show)

See Also:


Attachments
The 3.0.0 increment (46.30 KB, patch)
2009-08-01 02:55 EDT, Ed Willink CLA
no flags Details | Diff
Residual releng patch (13.83 KB, patch)
2009-08-25 16:54 EDT, Ed Willink CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2009-08-01 02:55:42 EDT
Created attachment 143204 [details]
The 3.0.0 increment

Attached enables us to move on and have appropriate @since tags:

Eliminates org.eclipse.emf.ocl in all contexts other than org.eclipse.emf.ocl.examples whose upgrade is a separate activity.

Changes the version to 3.0.0 and the dependency to [3.0.0,4.0.0) throughout.

Updates the API baseline to Eclipse 3.5.

Updates the PSF to exclude org.eclipse.emf.ocl and all UML2 resources.

Standalone JUnit, Plugin Junit, ANT JUnit launches all work.

I'm not sufficiently familiar with releng to more than a best endeavour update.

Alex: please check that the builds continue to work.
Comment 1 Adolfo Sanchez-Barbudo Herrera CLA 2009-08-03 08:30:06 EDT
Hi all,

The patch seems mostly good. I have some thoughts though:

- we are throwing org.eclipse.emf.ocl away, since it's a deprecated version which has been maintained during the 2 releases (As it is required). That's good.
- I think, that we could do the same with the OCL example instead of upgrading it. Actually, there is an opened bug related to improve the example https://bugs.eclipse.org/259922 (we could also think about including it as part of OCL UI) which removes the old-fashioned org.eclipse.emf.ocl project name.
- I have not checked anything related to releng (basically ignorance about that ;P) . I guess we will have to wait until Alex is back.
Comment 2 Laurent Goubet CLA 2009-08-24 05:15:19 EDT
Hi,

Seems fine to me, but :

1) org.eclipse.ocl.releng/promoteToEclipse.ocl.properties :
   line 81 : "branch = 1.3.0"

   I believe we can change this to 3.0.0 for the default build selection.

2) Is there a reason why you didn't update the version of o.e.ocl.standalone.tests?

Other than those two, I believe this is fine. We'll also have to change the build_common.php on org.eclipse so that we can build 3.0.0 | HEAD as well as an 1.4 version. Alexander, you take care of the build pages?
Comment 3 Alexander Igdalov CLA 2009-08-25 15:08:37 EDT
The patch mostly looks good, however, I would add some notes:

1. org.eclipse.ocl.releng\builder\tests\customTargets.xml

refers to org.eclipse.ocl.tests. Is it a new test plugin from some other patch?

2. org.eclipse.ocl.releng\templateFiles\ocl.map.template

refers to org.eclipse.ocl.sdk. But there is no such feature.

3. org.eclipse.ocl.releng\buildAll.xml

includes **/org.eclipse.emf.ocl.examples_* which are excluded in the attribute above. Seems to be a wrong inclusion since this is part of build runtime.

4. org.eclipse.ocl.standalone.tests\launches\MDT OCL Tests - Stand-Alone Mode.launch

contains <stringAttribute key="org.eclipse.jdt.launching.VM_INSTALL_NAME" value="jdk1.6.0_13"/>. 

Better to remove this tag since it may prevent running the launch on other VMs.

BTW, we will need some more things for 3.0.0 such as updating metamodel URIs.

All in all, I think we should commit the patch the sooner the better since this will give me the ability to:
a) include 3.0.0. into Helios
b) check that 3.0.0 has correct releng - in Helios M1 I included only 1.4.0 implementation from OCL_2_0_support branch
c) check that 3.0.0 and 1.4.0 do not conflict with each other.

In reply to comment #1:
> - we are throwing org.eclipse.emf.ocl away, since it's
> a deprecated version which has been maintained during the 2 releases
> (As it is required). That's good.
> - I think, that we could do the same with the OCL example
> instead of upgrading it.

Regardless of what we invent in 3.0.0 I would  leave the interpreter console in 1.4.0 in its current state (maybe just changing labels a little to reflect that it is aimed for OCL 2.0 implementation only). For me it this example is a good instrument for evaluation of OCL expressions. IMO we shouldn't ship 1.4.0 without this feature.

In reply to comment #2:
> We'll also have to change the build_common.php on org.eclipse
> so that we can build 3.0.0 | HEAD as well as an
> 1.4 version. Alexander, you take care of the build pages?

I will switch both OCL implementations to Athena. If build_common.php needs to be updated for that - so shall it be;-)
Comment 4 Ed Willink CLA 2009-08-25 15:57:26 EDT
In reply to #2 1. I don't understand releng properly. You're probably right. 

In reply to #2 2. This tests the deprecated and obsoleted code.

In reply to #1,#3. The interpreter depends on ocl.ecore not emf.ocl, so it remains the best we have until we upgrade it. No point renaming it. Let's keep it as-is until we have something better.

In reply to #3 1; org.eclipse.ocl.tests is my next tests contribution starting to provide shared functionality for Ecore and UML bindings.

In reply to #3 2; probably agree.

In reply to #3 3; the examples have a ZIP that is built at releng time. This may be why it seems odd.

In reply to #3 4; yes. it's a very painful debug.

We may well update the CST URIs. I doubt we update the AST URIs; Ecore hasn't changed for years; - see mdt-oct-dev thread.

I will endeavour to commit the patch as-is promptly. Seems there are only releng subtleties to resolve.

Whoever's (Alex?) is tidying up releng can surely do minor bug fixing directly; no need for bugzillas and +1's.
Comment 5 Ed Willink CLA 2009-08-25 16:54:50 EDT
Created attachment 145594 [details]
Residual releng patch

Non-releng patches committed to head.

New patch obsoletes the releng bits only. It should incorporate #2 and #3 observations and merge CVS changes.

Of course there is no need for +1's opn releng since only Alex has write access.
Comment 6 Ed Willink CLA 2009-12-12 07:08:35 EST
We are well and truly on 3.0.0 now.
Comment 7 Ed Willink CLA 2011-05-27 02:48:29 EDT
Closing after over 18 months in resolved state.