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

Bug 396741

Summary: Bundle org.eclipse.rap.ui.views [1.5.0,2.0.0) is missing in Kepler
Product: [RT] RAP Reporter: Dennis Huebner <dennis.huebner>
Component: RelengAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 CC: mknauer
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Dennis Huebner CLA 2012-12-17 07:39:37 EST
I was using rap nightly update site in our emf build, to use the most recent versioned runtime rap environment.
This repository contains org.eclipse.rap.ui.views bundle in version 1.5.100.20121031-1050 see
downloads/rt/rap/nightly/runtime/20121216-1212/plugins/org.eclipse.rap.ui.views_1.5.100.20121031-1050.jar
The version range to this dependency is now [1.5.0,2.0.0).

There is no org.eclipse.rap.ui.views bundle matching this range in the Kepler aggregation right now.

     [exec] Build failed! Exception was org.eclipse.core.runtime.CoreException: Cannot complete the install because one or more required items could not be found.
     [exec] Cannot complete the install because one or more required items could not be found.
     [exec] [0]Missing requirement: EMF RAP Edit UI 2.9.0.v20121217-0429 (org.eclipse.emf.rap.edit.ui 2.9.0.v20121217-0429) requires 'bundle org.eclipse.rap.ui.views [1.5.0,2.0.0)' but it could not be found
     [exec] 
     [exec] Bundle(org.eclipse.rap.ui.views [1.5.0,2.0.0)) is required by:
     [exec]   ValidationSet(main)
     [exec]     Contribution(EMF (Core))
     [exec]       MappedRepository(file:///home/data/httpd/download.eclipse.org/modeling/emf/emf/updates/2.9milestones/)
     [exec]         Feature(org.eclipse.emf.rap.sdk.feature.group [2.9.0.v20121217-0429,2.9.0.v20121217-0429])
     [exec]           InstallableUnit(org.eclipse.emf.rap.feature.group 2.9.0.v20121217-0429)
     [exec]             InstallableUnit(org.eclipse.emf.rap.edit.ui.feature.group 2.9.0.v20121217-0429)
     [exec]               InstallableUnit(org.eclipse.emf.rap.edit.ui 2.9.0.v20121217-0429)
Comment 1 Markus Knauer CLA 2012-12-17 08:00:13 EST
I can see org.eclipse.rap.ui.views_1.5.100.20121031-1050.jar in /releases/staging - the same as the one in the RAP Runtime nightly repository. Are there any other possible errors that could lead to this error message? Because from my point of view it looks good, and the version range matches [1.5.0,2.0.0).
Comment 2 Dennis Huebner CLA 2012-12-17 08:28:04 EST
(In reply to comment #1)
> I can see org.eclipse.rap.ui.views_1.5.100.20121031-1050.jar in
> /releases/staging - the same as the one in the RAP Runtime nightly
> repository. Are there any other possible errors that could lead to this
> error message? Because from my point of view it looks good, and the version
> range matches [1.5.0,2.0.0).

That what the aggregator says, please see https://hudson.eclipse.org/hudson/job/simrel.kepler.runaggregator/210/console
for detailed console log.
Comment 3 Dennis Huebner CLA 2012-12-17 08:44:22 EST
It looks like the problem is, that rap runtime is an a separate validation set.
Comment 4 Markus Knauer CLA 2012-12-17 08:46:00 EST
That seems to be a different error. The real problem that causes your build failures is this one here:

     [exec] Bundle(org.eclipse.rap.ui.views [1.5.0,2.0.0)) is required by:
     [exec]   ValidationSet(main)
     [exec]     Contribution(EMF (Core))
     [exec]       MappedRepository(file:///home/data/httpd/download.eclipse.org/modeling/emf/emf/updates/2.9milestones/)
     [exec]         Feature(org.eclipse.emf.rap.sdk.feature.group [2.9.0.v20121217-0429,2.9.0.v20121217-0429])
     [exec]           InstallableUnit(org.eclipse.emf.rap.feature.group 2.9.0.v20121217-0429)
     [exec]             InstallableUnit(org.eclipse.emf.rap.edit.ui.feature.group 2.9.0.v20121217-0429)
     [exec]               InstallableUnit(org.eclipse.emf.rap.edit.ui 2.9.0.v20121217-0429)

The RAP Runtime contributions are "runtime only" contributions and cannot be installed together with their "RCP" counterparts. Therefor they have to live in their own b3 validation set.

One solution could be to put org.eclipse.emf.rap.edit.ui into the same validation set.
Comment 5 Dennis Huebner CLA 2012-12-17 09:24:44 EST
I've added a new emf-emf-rap.b3aggcon file and added it to the runtime validation set. Tested it local and the validation was successful.
Right now I have to manage the emf repository in two places/files, I wonder if one can reference repositories or even features between the validation sets. Any ideas?
Comment 6 Ivan Furnadjiev CLA 2013-01-08 06:18:38 EST
Can we close this bug as INVALID?
Comment 7 Dennis Huebner CLA 2013-01-08 07:14:54 EST
(In reply to comment #6)
> Can we close this bug as INVALID?

Yes.
Comment 8 Ivan Furnadjiev CLA 2013-01-08 07:36:43 EST
(In reply to comment #7)
> (In reply to comment #6)
> > Can we close this bug as INVALID?
> 
> Yes.
Closed.