Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » b3 aggregator problem
b3 aggregator problem [message #532539] Mon, 10 May 2010 12:30 Go to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 134
Registered: July 2009
Senior Member
I'm trying to create a p2 site using the aggregator, but I keep getting
the following error message:

> Build model validation failed: Diagnosis of
> org.eclipse.b3.aggregator.impl.AggregatorImpl@147b98c {file:/C:/work/dev/tooticki/core/ide/eclipse/features/com.ia r.hubble.releng/helios.b3aggr#/}

What does the error mean? The b3aggr file looks like this:

> <?xml version="1.0" encoding="UTF-8"?>
> <aggregator:Aggregator xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0">
> <contributions label="Helios">
> <repositories location="http://download.eclipse.org/releases/helios/"/>
> <repositories location="http://<path to intranet server>/cdt-master-7.0.0-I201003141308/"/>
> </contributions>
> </aggregator:Aggregator>

(replaced the name of our internal server holding the CDT update site).

--
/Jesper
Re: b3 aggregator problem [message #532558 is a reply to message #532539] Mon, 10 May 2010 12:48 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I am guessing, but it could be that the model does not define any
platform-configurations to validate against...

When are you seeing this error? When you try to open the model in the
editor?

- henrik


On 5/10/10 2:30 PM, Jesper Eskilson wrote:
>
> I'm trying to create a p2 site using the aggregator, but I keep getting
> the following error message:
>
>> Build model validation failed: Diagnosis of
>> org.eclipse.b3.aggregator.impl.AggregatorImpl@147b98c {file:/C:/work/dev/tooticki/core/ide/eclipse/features/com.ia r.hubble.releng/helios.b3aggr#/}
>>
>
> What does the error mean? The b3aggr file looks like this:
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <aggregator:Aggregator xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0">
>> <contributions label="Helios">
>> <repositories location="http://download.eclipse.org/releases/helios/"/>
>> <repositories location="http://<path to intranet
>> server>/cdt-master-7.0.0-I201003141308/"/>
>> </contributions>
>> </aggregator:Aggregator>
>
> (replaced the name of our internal server holding the CDT update site).
>
> --
> /Jesper
Re: b3 aggregator problem [message #532559 is a reply to message #532539] Mon, 10 May 2010 12:48 Go to previous messageGo to next message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
It looks like you have not assigned any label to the "Aggregator" node (which is mandatory).

I guess you should see exact explanation of the problem in your error log.

Filip

Jesper Eskilson wrote:
>
> I'm trying to create a p2 site using the aggregator, but I keep getting
> the following error message:
>
>> Build model validation failed: Diagnosis of
>> org.eclipse.b3.aggregator.impl.AggregatorImpl@147b98c {file:/C:/work/dev/tooticki/core/ide/eclipse/features/com.ia r.hubble.releng/helios.b3aggr#/}
>>
>
> What does the error mean? The b3aggr file looks like this:
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <aggregator:Aggregator xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0">
>> <contributions label="Helios">
>> <repositories location="http://download.eclipse.org/releases/helios/"/>
>> <repositories location="http://<path to intranet
>> server>/cdt-master-7.0.0-I201003141308/"/>
>> </contributions>
>> </aggregator:Aggregator>
>
> (replaced the name of our internal server holding the CDT update site).
>
> --
> /Jesper
Re: b3 aggregator problem [message #532581 is a reply to message #532558] Mon, 10 May 2010 13:24 Go to previous messageGo to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 134
Registered: July 2009
Senior Member
On 2010-05-10 14:48, Henrik Lindberg wrote:
> Hi,
> I am guessing, but it could be that the model does not define any
> platform-configurations to validate against...

Yes, that seems to be it. Now it starts validating at least.

> When are you seeing this error? When you try to open the model in the
> editor?

No, when I try to build or validate the model.

--
/Jesper
Re: b3 aggregator problem [message #532788 is a reply to message #532581] Tue, 11 May 2010 08:52 Go to previous messageGo to next message
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 134
Registered: July 2009
Senior Member
On 2010-05-10 15:24, Jesper Eskilson wrote:
> On 2010-05-10 14:48, Henrik Lindberg wrote:
>> Hi,
>> I am guessing, but it could be that the model does not define any
>> platform-configurations to validate against...
>
> Yes, that seems to be it. Now it starts validating at least.

After giving up an attempt to aggregate the entire Helios update site
which took forever :-), I tried this:

> <?xml version="1.0" encoding="UTF-8"?>
> <aggregator:Aggregator xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0" label="Helios p2 site">
> <configurations/>
> <configurations operatingSystem="linux" windowSystem="gtk"/>
> <contributions label="Helios">
> <repositories location="http://download.eclipse.org/releases/helios/">
> <products name="org.eclipse.sdk.ide"/>
> </repositories>
> <repositories location=" http://seupp-s-hemulen.ad.iar.com/ide_irp_storage/eclipse/up date-sites/cdt-master-7.0.0-I201003141308/"/>
> </contributions>
> </aggregator:Aggregator>

But then I get this non-informative error message:

> java.lang.NoSuchMethodError: org.eclipse.equinox.internal.p2.metadata.RequiredCapability. <init> (Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/equinox/p2 /metadata/VersionRange;Lorg/eclipse/equinox/p2/metadata/expr ession/IMatchExpression;IIZLjava/lang/String;)V
> java.lang.NoSuchMethodError: org.eclipse.equinox.internal.p2.metadata.RequiredCapability. <init> (Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/equinox/p2 /metadata/VersionRange;Lorg/eclipse/equinox/p2/metadata/expr ession/IMatchExpression;IIZLjava/lang/String;)V

--
/Jesper
Re: b3 aggregator problem [message #532808 is a reply to message #532788] Tue, 11 May 2010 09:39 Go to previous message
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
You need to upgrade your IDE to 3.6M7 (according to the error it looks like you are currently using 3.6M6).

Filip

Jesper Eskilson wrote:
> On 2010-05-10 15:24, Jesper Eskilson wrote:
>> On 2010-05-10 14:48, Henrik Lindberg wrote:
>>> Hi,
>>> I am guessing, but it could be that the model does not define any
>>> platform-configurations to validate against...
>>
>> Yes, that seems to be it. Now it starts validating at least.
>
> After giving up an attempt to aggregate the entire Helios update site
> which took forever :-), I tried this:
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <aggregator:Aggregator xmi:version="2.0"
>> xmlns:xmi="http://www.omg.org/XMI"
>> xmlns:aggregator="http://www.eclipse.org/b3/2010/aggregator/1.0.0"
>> label="Helios p2 site">
>> <configurations/>
>> <configurations operatingSystem="linux" windowSystem="gtk"/>
>> <contributions label="Helios">
>> <repositories location="http://download.eclipse.org/releases/helios/">
>> <products name="org.eclipse.sdk.ide"/>
>> </repositories>
>> <repositories
>> location=" http://seupp-s-hemulen.ad.iar.com/ide_irp_storage/eclipse/up date-sites/cdt-master-7.0.0-I201003141308/"/>
>>
>> </contributions>
>> </aggregator:Aggregator>
>
> But then I get this non-informative error message:
>
>> java.lang.NoSuchMethodError:
>> org.eclipse.equinox.internal.p2.metadata.RequiredCapability. <init> (Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/equinox/p2 /metadata/VersionRange;Lorg/eclipse/equinox/p2/metadata/expr ession/IMatchExpression;IIZLjava/lang/String;)V
>>
>> java.lang.NoSuchMethodError:
>> org.eclipse.equinox.internal.p2.metadata.RequiredCapability. <init> (Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/equinox/p2 /metadata/VersionRange;Lorg/eclipse/equinox/p2/metadata/expr ession/IMatchExpression;IIZLjava/lang/String;)V
>>
>
Previous Topic:finding out dependencies when building a product
Next Topic:buckminster and p2 director behind a firewall ?
Goto Forum:
  


Current Time: Thu Mar 28 21:38:42 GMT 2024

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

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

Back to the top