Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Partial mirroring and working update site(p2)
Partial mirroring and working update site [message #1471719] Thu, 13 November 2014 09:37 Go to next message
Joacim Järkeborn is currently offline Joacim JärkebornFriend
Messages: 4
Registered: November 2013
Junior Member
Hi,

I want to mirror M2E artifacts and metadata (including dependencies) from Kepler release to have an offline update site.

I have tried org.eclipse.equinox.p2.<type>.repository.mirrorApplication where <type> is artifact or metadata but cannot do partial download and will get the full repository.

So I have tried p2 Ant task where I can specify IU's and I can mirror the artifacts/metadata but when pointing Eclipse "install manager" to the directory no features shows up to be installed

Ant script
<project name="Create Mirror" default="create-mirror" basedir=".">

	<target name="create-mirror">

		<property name="target.dir" location="${user.home}/eclipsemirror" />

		<echo message="" />
		<echo message="Mirroring into ${target.dir}..." />

		<p2.mirror raw="false">
			<repository location="${target.dir}/releases/m2e" name="M2E repository" kind="M" />
			<repository  location="${target.dir}/releases/m2e" name="M2E repository" kind="A" />
			<source>
			     <repository location="http://download.eclipse.org/releases/kepler/" />
			</source>

            <iu id="org.eclipse.m2e.feature.feature.group"/>
            <iu id="org.eclipse.m2e.logback.feature.feature.group"/>
            <iu id="org.slf4j.api"/>
            <iu id="ch.qos.logback.classic"/>
            <iu id="ch.qos.logback.core"/>
            <iu id="ch.qos.logback.slf4j"/>
            <iu id="org.eclipse.equinox.concurrent"/>
            <iu id="org.eclipse.gmf.bridge.trace"/>

			<slicingoptions includeFeatures="true" followStrict="true" />
		</p2.mirror>
	</target>
</project>


I have also made an attempt with tycho-p2-extras-plugin but the same here, it works but no features shows up to be installed.

Any idea how to do it?
Re: Partial mirroring and working update site [message #1481821 is a reply to message #1471719] Fri, 21 November 2014 08:49 Go to previous message
Joacim Järkeborn is currently offline Joacim JärkebornFriend
Messages: 4
Registered: November 2013
Junior Member
No ideas?
Previous Topic:Cant get Eclipse to work.
Next Topic:Equinox performance with many DS factory components
Goto Forum:
  


Current Time: Fri Apr 26 03:32:48 GMT 2024

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

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

Back to the top