Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsWrong version of org.eclipse.core.resources bundle in the 3.6.1 p2 repository?
https://www.eclipse.org/forums/index.php/mv/msg/204355/653511/#msg_653511
Originally posted by: victor.lenet.gmail.com
Hello,
First, I am sorry for posting to two newsgroups, I was not sure which is
the right one.
I am trying to make a local mirror of the official 3.6.1 p2 repository
using org.eclipse.sdk feature. I am planing to use this local repository
as a base of my IDE product build and as a set of plugins against which
to compile my plugins.
For creating the local mirror I am using the following p2.mirror task:
The mirroring task finishes without any complaints. However, for some
reason, it mirrors an older version of core.resources bundle:
org.eclipse.core.resources_3.6.0.v20100526-0737.jar
instead of
org.eclipse.core.resources_3.6.0.R36x_v20100825-0600.jar
which is a part of Platform 3.6.1 repository.
The platform feature version is the same in both cases:
org.eclipse.platform_3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnv z0JWNTeb6fue6896L.jar
Even when I try to mirror only the core.resources bundle from the
updates repository, the result is the same.
Of course the product build complains about the wrong bundle version:
generateFeature:
[eclipse.generateFeature] Some inter-plug-in dependencies have not been
satisfied.
[eclipse.generateFeature] Bundle org.eclipse.core.resources:
[eclipse.generateFeature] Another singleton version selected:
org.eclipse.core.resources_3.6.0.v20100526-0737
and later on:
BUILD FAILED
....\workspace\adt.feature.builder\buildADT.xml:48: The following error
occurred while executing this line:
....\eclipse\plugins\org.eclipse.pde.build_3.6.1.R36x_v20100 823\scripts\productBuild\productBuild.xml:42:
The following error occurred while executing this line:
....\eclipse\plugins\org.eclipse.pde.build_3.6.1.R36x_v20100 823\scripts\build.xml:91:
The following error occurred while executing this line:
....\workspace\adt.feature.builder\builder\customTargets.xml :12: The
following error occurred while executing this line:
....\eclipse\plugins\org.eclipse.pde.build_3.6.1.R36x_v20100 823\scripts\productBuild\allElements.xml:20:
The following error occurred while executing this line:
....\eclipse\plugins\org.eclipse.pde.build_3.6.1.R36x_v20100 823\scripts\genericTargets.xml:107:
Processing inclusion from feature org.eclipse.platform: Bundle
org.eclipse.core.resources_3.6.0.R36x_v20100825-0600 failed to resolve.:
Another singleton version selected:
org.eclipse.core.resources_3.6.0.v20100526-0737
Am I doing something wrong here or is there a problem in the Eclipse
3.6.1 update repository?
Thanks in advance,
Victor]]>2011-02-10T02:13:39-00:00Re: Wrong version of org.eclipse.core.resources bundle in the 3.6.1 p2 repository?
https://www.eclipse.org/forums/index.php/mv/msg/204355/654010/#msg_654010
Originally posted by: victor.lenet.gmail.com
Apparently the problem is with 'latestVersionOnly="true"' parameter of
the 'slicingoptions' element. The bundle versions are compared using
string compare where "v20100526-0737" comes after "R36x_v20100825-0600".
The right option to use seems to be 'followStrict="true"'.
Cheers,
Victor]]>2011-02-12T22:25:23-00:00Re: Wrong version of org.eclipse.core.resources bundle in the 3.6.1 p2 repository?
https://www.eclipse.org/forums/index.php/mv/msg/204355/654166/#msg_654166
> Apparently the problem is with 'latestVersionOnly="true"' parameter of
> the 'slicingoptions' element. The bundle versions are compared using
> string compare where "v20100526-0737" comes after "R36x_v20100825-0600".
>
> The right option to use seems to be 'followStrict="true"'.
While there's a work-around, it begs the question: Why is their a
version of core.resources in 3.6.1 with 1) a different qualifier and not
a different number and 2) an incompatible qualifier