Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Error when mirroring GEF 3.5.2 p2 repository
Error when mirroring GEF 3.5.2 p2 repository [message #523137] Thu, 25 March 2010 09:42 Go to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 336
Registered: July 2009
Senior Member
Hi,

I am trying to automate assembly of a target platform for our build
system and I've decided to use p2 mirroring for that.

For various different reasons, I've decided to assemble the target
platform from previously downloaded p2 repository archives stored locally.

I have an ant file with a target like this:

<target name="build-eclipse-p2" description="Builds target platform">
<p2.mirror verbose="true" destination="${basedir}/eclipse"
source="${basedir}/org.eclipse.rcp.source-p2repo-3.5.2.zip" />
<p2.mirror verbose="true" destination="${basedir}/eclipse"
source="${basedir}/equinox-SDK-3.5.2.zip" />
<p2.mirror verbose="true" destination="${basedir}/eclipse"
source="${basedir}/org.eclipse.ecf.sdk_3.2.0.v20100219-1253.zip " />
<p2.mirror verbose="true" destination="${basedir}/eclipse"
source="${basedir}/GEF-Update-3.5.2.zip" />
</target>

The problem I'm seeing is that at the end of this target execution I see
following error message:

====================
[p2.mirror] Mirroring:
osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020 (Descriptor: canonical:
osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020)
[p2.mirror] Messages while mirroring artifact descriptors.
[p2.mirror] Artifact not found:
osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020.
[p2.mirror]
jar:file:/D:/workspaces/vbsvn-Trunk/target-platform/GEF-Upda te-3.5.2.zip!/plugins/org.eclipse.gef_3.5.1.v20090910-2020.j ar

BUILD FAILED
D:\workspaces\vbsvn-Trunk\target-platform\build.xml:86: Messages while
mirroring artifact descriptors.
Artifact not found:
osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020.Messages while
mirroring artifact descriptors.
Artifact not found: osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020.
====================

I have tried putting several sources into one single p2.mirror task, but
that one fails even earlier:
====================
[p2.mirror] Messages while mirroring artifact descriptors.
[p2.mirror] Artifact not found: canonical:
osgi.bundle,org.eclipse.gef.examples.flow.source,3.5.0.v2009 0422-2346.

BUILD FAILED
D:\workspaces\vbsvn-Trunk\target-platform\build.xml:83: Messages while
mirroring artifact descriptors.
Artifact not found: canonical:
osgi.bundle,org.eclipse.gef.examples.flow.source,3.5.0.v2009 0422-2346.Messages
while mirroring artifact descriptors.
Artifact not found: canonical:
osgi.bundle,org.eclipse.gef.examples.flow.source,3.5.0.v2009 0422-2346.
====================

Can anyone tell me please, what is wrong in my setup, because from what
I can tell, all should be just by the book?

--
Roland Tepp
Re: Error when mirroring GEF 3.5.2 p2 repository [message #523819 is a reply to message #523137] Mon, 29 March 2010 12:57 Go to previous message
Eclipse UserFriend
Originally posted by: ean.informatik.uni-kiel.de

Hi,

maybe it's not the point and I have no experience with p2. As I migrate
my project from 3.5.1 to 3.5.2 I had problems with imported packages at
my MANIFEST.MF.
Try to remove some packages from your MANIFEST.MF.

best regards

Roland Tepp schrieb:
> Hi,
>
> I am trying to automate assembly of a target platform for our build
> system and I've decided to use p2 mirroring for that.
>
> For various different reasons, I've decided to assemble the target
> platform from previously downloaded p2 repository archives stored locally.
>
> I have an ant file with a target like this:
>
> <target name="build-eclipse-p2" description="Builds target platform">
> <p2.mirror verbose="true" destination="${basedir}/eclipse"
> source="${basedir}/org.eclipse.rcp.source-p2repo-3.5.2.zip" />
> <p2.mirror verbose="true" destination="${basedir}/eclipse"
> source="${basedir}/equinox-SDK-3.5.2.zip" />
> <p2.mirror verbose="true" destination="${basedir}/eclipse"
> source="${basedir}/org.eclipse.ecf.sdk_3.2.0.v20100219-1253.zip " />
> <p2.mirror verbose="true" destination="${basedir}/eclipse"
> source="${basedir}/GEF-Update-3.5.2.zip" />
> </target>
>
> The problem I'm seeing is that at the end of this target execution I see
> following error message:
>
> ====================
> [p2.mirror] Mirroring:
> osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020 (Descriptor: canonical:
> osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020)
> [p2.mirror] Messages while mirroring artifact descriptors.
> [p2.mirror] Artifact not found:
> osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020.
> [p2.mirror]
> jar:file:/D:/workspaces/vbsvn-Trunk/target-platform/GEF-Upda te-3.5.2.zip!/plugins/org.eclipse.gef_3.5.1.v20090910-2020.j ar
>
>
> BUILD FAILED
> D:\workspaces\vbsvn-Trunk\target-platform\build.xml:86: Messages while
> mirroring artifact descriptors.
> Artifact not found:
> osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020.Messages while
> mirroring artifact descriptors.
> Artifact not found: osgi.bundle,org.eclipse.gef,3.5.1.v20090910-2020.
> ====================
>
> I have tried putting several sources into one single p2.mirror task, but
> that one fails even earlier:
> ====================
> [p2.mirror] Messages while mirroring artifact descriptors.
> [p2.mirror] Artifact not found: canonical:
> osgi.bundle,org.eclipse.gef.examples.flow.source,3.5.0.v2009 0422-2346.
>
> BUILD FAILED
> D:\workspaces\vbsvn-Trunk\target-platform\build.xml:83: Messages while
> mirroring artifact descriptors.
> Artifact not found: canonical:
> osgi.bundle,org.eclipse.gef.examples.flow.source,3.5.0.v2009 0422-2346.Messages
> while mirroring artifact descriptors.
> Artifact not found: canonical:
> osgi.bundle,org.eclipse.gef.examples.flow.source,3.5.0.v2009 0422-2346.
> ====================
>
> Can anyone tell me please, what is wrong in my setup, because from what
> I can tell, all should be just by the book?
>
Previous Topic:SelectionHandlesEditPolicy
Next Topic:Background image with Figure coordinate space
Goto Forum:
  


Current Time: Wed Nov 26 15:43:41 GMT 2014

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

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