Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311214 - OCL Examples and QVTd contributions to Modeling Discovery UI
Summary: OCL Examples and QVTd contributions to Modeling Discovery UI
Status: RESOLVED FIXED
Alias: None
Product: Amalgam
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 13:05 EDT by Ed Willink CLA
Modified: 2010-06-07 11:46 EDT (History)
4 users (show)

See Also:
Kenn.Hussey: pmc_approved+
alexander.igdalov: review+


Attachments
ZIP of Modeling Discovery UI contributions (6.85 KB, application/x-download)
2010-04-30 13:05 EDT, Ed Willink CLA
no flags Details
OCL Screenshot (31.26 KB, image/png)
2010-05-28 03:23 EDT, Ed Willink CLA
no flags Details
QVTr screenshot (43.05 KB, image/png)
2010-05-28 04:25 EDT, Ed Willink CLA
no flags Details
OCL Examples feature added to mdt-ocl.build (937 bytes, patch)
2010-05-31 09:33 EDT, Alexander Igdalov 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 2010-04-30 13:05:15 EDT
Created attachment 166646 [details]
ZIP of Modeling Discovery UI contributions

Attached has

a modeling.xmi with extra OCL Tools (Examples) and QVTd contributions.
ocl.png
qvtd.png

screen snapshots to follow

releng to ensure content in staging is presumably our problem.
Comment 1 Ed Willink CLA 2010-04-30 13:08:51 EDT
Alex: this contribution makes the org.eclipse.ocl.examples feature loadable in a much more friendly and uniform fashion and like all the other contributors (except Xtext) expects the contributions to be available in http://download.eclipse.org/releases/staging/. Currently we only put the core OCL plugins there. We need to put the examples plugins and feature there too. Any idea how we do that/why we don't do that?
Comment 2 Cedric Brun CLA 2010-05-25 04:10:10 EDT
You should update your Helios build contribution (xx-ocl.build) to add your example feature. Have a look on the others .build files as direction.

The modeling.xmi file has been updated, your components are going to be switched to visible once you provide me the missing screenshots.
Comment 3 Ed Willink CLA 2010-05-28 03:23:53 EDT
Created attachment 170302 [details]
OCL Screenshot

Missing OCL screenshot.
Comment 4 Ed Willink CLA 2010-05-28 04:25:10 EDT
Created attachment 170307 [details]
QVTr screenshot

Missing screenshot for QVTd.

I hope you have everything Amalgam needs.

I'll follow up on the Helios contribution tip.
Comment 5 Ed Willink CLA 2010-05-28 04:47:58 EDT
(In reply to comment #2)
> You should update your Helios build contribution (xx-ocl.build) to add your
> example feature. Have a look on the others .build files as direction.

Alex: /org.eclipse.helios.build/mdt-ocl.build should reference the ...master rather than the ...all.sdk feature to incorporate Examples in the copying/aggregating. Most projects seem to just use their composite feature, although we could specify examples separately emulating emf-cdo's multiple features. [I don't think we need the signature; all other projects get away with just version and qualifier.]

Xtext is already there so we should not be adding any new dependencies. Are we (you) brave enough to do this? Now, just after RC2 and well before RC3, seems like a good time.
Comment 6 Alexander Igdalov CLA 2010-05-28 05:11:29 EDT
(In reply to comment #5)
> (In reply to comment #2)
> > You should update your Helios build contribution (xx-ocl.build) to add your
> > example feature. Have a look on the others .build files as direction.
> 
> Alex: /org.eclipse.helios.build/mdt-ocl.build should reference the ...master
> rather than the ...all.sdk feature to incorporate Examples in the
> copying/aggregating. Most projects seem to just use their composite feature,
> although we could specify examples separately emulating emf-cdo's multiple
> features. [I don't think we need the signature; all other projects get away
> with just version and qualifier.]
> 
> Xtext is already there so we should not be adding any new dependencies. Are we
> (you) brave enough to do this? Now, just after RC2 and well before RC3, seems
> like a good time.

I think we need Kenn's +1. Moreover, I won't be able to check whether the changes are correct since helios.runBuckyBuild job has been disabled for 11 days by now - I suppose this is done on purpose. BTW, does anyone know why?
Comment 7 Kenn Hussey CLA 2010-05-28 11:17:12 EDT
(In reply to comment #6)
> I think we need Kenn's +1. Moreover, I won't be able to check whether the
> changes are correct since helios.runBuckyBuild job has been disabled for 11
> days by now - I suppose this is done on purpose. BTW, does anyone know why?

I'm not sure it's a good idea to replace the SDK at this point. Probably better to add an additional contribution for the examples, so that folks aren't forced to install something that has the examples if they don't want them...
Comment 8 Alexander Igdalov CLA 2010-05-31 09:13:05 EDT
(In reply to comment #7)
> (In reply to comment #6)
> > I think we need Kenn's +1. Moreover, I won't be able to check whether the
> > changes are correct since helios.runBuckyBuild job has been disabled for 11
> > days by now - I suppose this is done on purpose. BTW, does anyone know why?
> 
> I'm not sure it's a good idea to replace the SDK at this point. Probably better
> to add an additional contribution for the examples, so that folks aren't forced
> to install something that has the examples if they don't want them...

+1 to adding examples as another new feature. Ed, do you agree?
Comment 9 Alexander Igdalov CLA 2010-05-31 09:33:39 EDT
Created attachment 170523 [details]
OCL Examples feature added to mdt-ocl.build
Comment 10 Alexander Igdalov CLA 2010-05-31 09:56:50 EDT
Kenn, Ed,

I need formal "+"s from you to commit the patch.

Meanwhile, the bucky build job is still disabled. At the risk of being called a blockhead, I will ask it in the cross-projects list=))
Comment 11 Kenn Hussey CLA 2010-05-31 09:59:31 EDT
(In reply to comment #10)
> Kenn, Ed,
> 
> I need formal "+"s from you to commit the patch.
> 
> Meanwhile, the bucky build job is still disabled. At the risk of being called a
> blockhead, I will ask it in the cross-projects list=))

Looks good to me.
Comment 12 Ed Willink CLA 2010-05-31 10:37:43 EDT
+1 (although I think the signature following the qualifier is unnecessary).
Comment 13 Alexander Igdalov CLA 2010-05-31 10:46:57 EDT
(In reply to comment #12)
> +1 (although I think the signature following the qualifier is unnecessary).

I agree. Signatures removed. Committed.
Comment 14 Ed Willink CLA 2010-06-03 14:33:06 EDT
(In reply to comment #13)
> I agree. Signatures removed. Committed.

Looking at Install New Software for releases/helios suggests that this extra signature may be a 'Borland' thing. You might like to alert your former colleagues.
Comment 15 Ed Willink CLA 2010-06-04 12:49:26 EDT
(In reply to comment #2)
> You should update your Helios build contribution (xx-ocl.build) to add your
> example feature. Have a look on the others .build files as direction.
> 
> The modeling.xmi file has been updated, your components are going to be
> switched to visible once you provide me the missing screenshots.

In RC3 EPP, we've successfully got the OCL examples to releases/staging without accidentally installing them always. All the screenshots are available.

Could you please make MDT/OCL Examples visible, so that I can get a screenshot into a totorial.

[M2M/QVTd requires me to crack promotion and ... much joy.]
Comment 16 Cedric Brun CLA 2010-06-07 11:31:53 EDT
I'm glad you managed to find your way through the complex maze of build and promotion. The OCL contribution have been activated. 

I tried to install it with RC3 and the install finished correctly.
Comment 17 Ed Willink CLA 2010-06-07 11:46:12 EDT
Thanks.

Promoting QVTd is still a treat in store - aggravated by not even knowing what the project name should be; I'm trying to migrate qvt-relations to qvtd.