Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346272

Summary: [releng] No source for org.eclipse.ocl.examples.pivot
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: Adolfo Sanchez-Barbudo Herrera <adolfosbh>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mdt-ocl-inbox
Version: 3.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ed Willink CLA 2011-05-18 11:04:19 EDT
RC1: Importing org.eclipse.ocl.examples.pivot as a source plugin does not provide sources.
Comment 1 Adolfo Sanchez-Barbudo Herrera CLA 2011-05-18 12:30:01 EDT
Ed,

Looking into this
Comment 2 Adolfo Sanchez-Barbudo Herrera CLA 2011-05-18 12:39:45 EDT
Ed,

examples.pivot plugin appears "unpacked" in the installation...

It's a problem of the examples' feature configuration... Fixing and committing.

Regards,
Adolfo.
Comment 3 Adolfo Sanchez-Barbudo Herrera CLA 2011-05-18 14:08:26 EDT
The last build now provides a jared pivot plugin...

However we still have a weird org.eclipse.ocl.examples.pivot.jar inside the plugin...

The following bundle's manifest entry could be the cause:

Bundle-ClassPath: org.eclipse.ocl.examples.pivot.jar

Do you know why thi strange class path ?

NB: Shouldn't be internal packages marked as internal ?

Cheers,
Adolfo.
Comment 4 Ed Willink CLA 2011-05-18 14:53:50 EDT
(In reply to comment #3)
> The following bundle's manifest entry could be the cause:
> 
> Bundle-ClassPath: org.eclipse.ocl.examples.pivot.jar

Corrected in CVS.
> 
> Do you know why thi strange class path ?

Possibly a artefact of the migration from UML2.
> 
> NB: Shouldn't be internal packages marked as internal ?

If they were core packages certainly. All Examples packages are unstable. The package is only internal because of an uncorrected copy from UML2's genmodel.
Comment 5 Adolfo Sanchez-Barbudo Herrera CLA 2011-05-19 06:36:11 EDT
Ed,

Buckminster now generates a proper source bundle. And the pivot bundle can be imported as a project with sources inside the workspace...

However, we still have said cursed examples.pivot jar inside the bundle... tuning the build.properties file should finally cure the bundle.
Comment 6 Adolfo Sanchez-Barbudo Herrera CLA 2011-05-19 07:29:51 EDT
All looks fine now.

Resolving as fixed.
Comment 7 Ed Willink CLA 2011-05-19 14:07:25 EDT
All Pivot/Xtext examples look to provide good sources in build 506.