Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Mirror update site problem
Mirror update site problem [message #904191] Tue, 28 August 2012 01:07 Go to next message
Ted Williams is currently offline Ted WilliamsFriend
Messages: 2
Registered: August 2012
Junior Member
I am trying to mirror the m2e plugin so I can install @ work in an offline env.

I followed instructions from here:

http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring

Using the following commands:
 eclipse -nosplash -verbose
 -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
 -source http://download.eclipse.org/technology/m2e/releases
 -destination c:\tmp\m2e


 eclipse -nosplash -verbose
 -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
 -source [url]http://download.eclipse.org/technology/m2e/releases[/url]
 -destination c:\tmp\m2e


However when I take my eclipse offline and try to install from that
local update site I get the following error:

Quote:

Cannot complete the install because one or more required items could
not be found.
Software being installed: m2e - slf4j over logback logging
(Optional) 1.1.0.20120530-0009
(org.eclipse.m2e.logback.feature.feature.group 1.1.0.20120530-0009)
Missing requirement: Maven Project Model Edit Bundle
1.1.0.20120530-0009 (org.eclipse.m2e.model.edit 1.1.0.20120530-0009)
requires 'bundle org.eclipse.emf.ecore.xmi 0.0.0' but it could not be
found
Cannot satisfy dependency:
From: Maven Integration for Eclipse 1.1.0.20120530-0009
(org.eclipse.m2e.core.ui 1.1.0.20120530-0009)
To: bundle org.eclipse.m2e.model.edit [1.1.0,1.2.0)
Cannot satisfy dependency:
From: m2e logback appender 1.1.0.20120530-0009
(org.eclipse.m2e.logback.appender 1.1.0.20120530-0009)
To: bundle org.eclipse.m2e.core.ui [1.1.0,1.2.0)
Cannot satisfy dependency:
From: m2e - slf4j over logback logging (Optional)
1.1.0.20120530-0009 (org.eclipse.m2e.logback.feature.feature.group
1.1.0.20120530-0009)
To: org.eclipse.m2e.logback.appender [1.1.0.20120530-0009]


I would think there would be a way to mirror such that all dependencies would be included.

I search for 'bundle org.eclipse.emf.ecore.xmi 0.0.0' but could not really find anything. How am I supposed to mirror that dependency as well?

The point of mirroring a p2 site is so that you can install the plugin offline. Anyone have any ideas? I am wondering if the m2e p2 site is setup correctly. Or maybe there is a different way to mirror p2 sites.

Thanks in advance

[Updated on: Tue, 28 August 2012 01:07]

Report message to a moderator

Re: Mirror update site problem [message #905150 is a reply to message #904191] Wed, 29 August 2012 19:55 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

looks like m2e depends on parts of EMF. EMF would be in its own repo, as well as the release train repo (indigo, juno, etc).

When you install from within eclipse, it would auto-contact the release repo to pick up EMF.


PW


Re: Mirror update site problem [message #907934 is a reply to message #905150] Tue, 04 September 2012 12:55 Go to previous messageGo to next message
Ted Williams is currently offline Ted WilliamsFriend
Messages: 2
Registered: August 2012
Junior Member
Paul,

Thanks for the response. Unfortunately I am not connected to the internet at work. When I need to bring in plugins for eclipse I have to mirror the updated site from an external computer and bring in to my work pc.

Is there a way when I mirror the update site I can get all its deps?

If not is there an easy way to mirror the eclipse deps that I need. I am having trouble trying to find the dep that I need to install this.

Thanks.
Re: Mirror update site problem [message #909815 is a reply to message #907934] Fri, 07 September 2012 21:17 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
You should be able to use the p2 mirroring ant task with slicing options: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm&cp=2_0_20_3_3
Previous Topic:java.util.logging in servlet bridge and Tomcat
Next Topic:Calling p2.process.artifacts from ant script
Goto Forum:
  


Current Time: Fri Apr 19 00:37:34 GMT 2024

Powered by FUDForum. Page generated in 0.02675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top