Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Error building eclipse RCP application with GMF Dependencies

It seems the original P2 Repo was corrupted. The problem is that Tycho tries to index the whole P2 repo even if the Plugins are not referenced. To solve this what did was -

  1. Open .product file and export the product
  2. Copy the 'repository' folder from the exported product artifacts and place it in a shared location
  3. In the tag in Maven pom.xml give the location of this repository instead if external repositories. All the future Tycho builds will use this repository

This way the repo size is small and all the build issues are resolved.

Please let me know if this approach is ok? Or will it cause any issues down the road?


On Fri, Apr 26, 2013 at 3:06 PM, Pushkar Gupte <pushkar85@xxxxxxxxx> wrote:
I am utilizing Eclipse Tycho to build my RCP application with GMF dependencies. 

I am getting the following error -

    [ERROR] Internal error: java.lang.RuntimeException: Could not download artifacts from any repository
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.emf.core,1.4.1.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.emf.commands.core,1.4.0.v20120514-1615
    [ERROR] osgi.bundle,,1.5.0.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui,1.6.0.v20120514-1615
    [ERROR] osgi.bundle,,1.4.2.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.providers,1.5.0.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.providers.ide,1.2.0.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.render,1.6.0.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.resources.editor,1.4.1.v20120514-1615
    [ERROR] osgi.bundle,org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,1.2.1.v20120514-1615

I am specifing the following dependency in the Manifest.MF -


I have provided the repository location for GMF bundle as -


The P2 repository has all the above JAR's. The only difference is that for some reason Tycho is looking for **.v20120514-1615** qualifier. However the P2 repository has **.201302191707** qualifier. Not sure why Tycho is looking for that specific qualifier and not resolve to the latest version.

Any help will be appreciated.

Back to the top