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

Bug 339002

Summary: Source bundles found in meta-data but artifacts are missing
Product: [Modeling] EMFT Reporter: Thomas Hallgren <thomas>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: dennis.huebner
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Thomas Hallgren CLA 2011-03-05 03:50:19 EST
When trying to resolve source bundles for some bundles in my target platform using the p2 update site at:

http://download.eclipse.org/modeling/emft/mwe/updates/nightly

I discovered that some sources are present in the p2 meta-data but the actual artifacts seems to be missing. I get these errors when trying to download:

 Artifact not found: osgi.bundle,org.eclipse.emf.mwe2.launch.source,2.0.0.v201103031425.
 Artifact not found: osgi.bundle,org.eclipse.emf.mwe2.language.source,2.0.0.v201103031425.
 Artifact not found: osgi.bundle,org.eclipse.emf.mwe2.language.ui.source,2.0.0.v201103031425.
Comment 1 Dennis Huebner CLA 2011-03-05 04:43:44 EST
Hello Thomas,
updates/nightly points to <child location='mwe2lang'/>
The corresponding artifacts.jar currently contains :
 <artifact classifier='osgi.bundle' id='org.eclipse.emf.mwe2.language.source' version='2.0.0.v201103041820'>
      <properties size='3'>
 
which is physicaly present in 
updates/nightly/mwe2lang/plugins

Maybe you tried to resolve bundles during promotion at 23:29 ?

Please try agian and let me know if it works.

Regards,
Dennis.

(In reply to comment #0)
> When trying to resolve source bundles for some bundles in my target platform
> using the p2 update site at:
> 
> http://download.eclipse.org/modeling/emft/mwe/updates/nightly
> 
> I discovered that some sources are present in the p2 meta-data but the actual
> artifacts seems to be missing. I get these errors when trying to download:
> 
>  Artifact not found:
> osgi.bundle,org.eclipse.emf.mwe2.launch.source,2.0.0.v201103031425.
>  Artifact not found:
> osgi.bundle,org.eclipse.emf.mwe2.language.source,2.0.0.v201103031425.
>  Artifact not found:
> osgi.bundle,org.eclipse.emf.mwe2.language.ui.source,2.0.0.v201103031425.
Comment 2 Thomas Hallgren CLA 2011-03-05 05:50:09 EST
(In reply to comment #1)
> Maybe you tried to resolve bundles during promotion at 23:29 ?
>
That must have been it. My problems were related to version '2.0.0.v201103031425' which I guess no longer exists. I managed to find them though so it must have been just before the redeploy happened. Then when I attempted the download, it had been swapped for version '2.0.0.v201103041820'.

I actually retried with no success at first. It wasn't until I removed the p2 cache that I managed to get it working. Anyway, sorry for the buzz.