[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [tycho-user] Tycho and IProvisioningEventBus ?
|
- From: Barrie Treloar <baerrach@xxxxxxxxx>
- Date: Wed, 2 May 2012 17:21:20 +0930
- Delivered-to: tycho-user@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=a/vbdYuNOn+6e5Q5saBp3L9JilW59H0v8oys/i4FYmk=; b=SCZN9vKiuLSZ7F1v4WZB/wDAOOi5xHLS+Nrgsv9A+wo7vTDGEPpVIT7YuFH/jydE7R dvfWNTMPhaLLaVVbf9uFdjG+r5g8xelU7gipxxaStzccNLXGp5KmlUclXA8R909y8Cjl k+bY1wCwuGDvb/+AoIomAEspf4jxIzFVlC/4NBHUTIGRF+g/11vBFnTO+qibblJDjPqb jwYAOyfKqg0Uhh4QG5yzTD1o4l/EdMX1ABZt+9FTizYPFANS5vc2PKd/OStIAEZswFMv 23I0dyHk9tYR7hIMpwP1gd1j7Vq3IfNaO3Pt3STOyI6iyX0Wl/YUenl/SQ7VDiQxpqee WGfQ==
On Wed, May 2, 2012 at 4:55 PM, Stephen Coy <steve@xxxxxxxxxxxxx> wrote:
> Tycho appears to be generating additional metadata in a p2content.xml file.
> A normal jarred bundle has:
>
> <touchpointData size='1'>
> <instructions size='1'>
> <instruction key='manifest'>
> Bundle-SymbolicName:
> com.axelerator.platform.desktop.application;singleton:=true
Bundle-Version:
> 12.2.2.201205020709

> </instruction>
> </instructions>
> </touchpointData>
>
> and the directory shaped one has:
>
> <touchpointData size='1'>
> <instructions size='2'>
> <instruction key='manifest'>
> Bundle-SymbolicName:
> com.axelerator.platform.desktop.jboss;singleton:=true
Bundle-Version:
> 12.2.2.201205020709

> </instruction>
> <instruction key='zipped'>
> true
> </instruction>
> </instructions>
> </touchpointData>
>
> I'm not sure how that helps you though.
It all helps :)
I'm trying to work out why org.apache.ant_1.8.2.v20120109-1030 is
being unpacked, but my stuff isn't.
ant doesn't have BundleShape, and there is no 'zipped' in the
org.apache.ant-1.8.2.v20120109-1030-p2artifacts.xml file.
I'd have to download the orbit content.xml file to check, not I dont
this is proxied via Nexus :)
<unit id="org.apache.ant" singleton="false" version="1.8.2.v20120109-1030">
...
<touchpointData size="1">
<instructions size="2">
<instruction key="zipped">true</instruction>
<instruction key="manifest">Bundle-SymbolicName: org.apache.ant
Bundle-Version: 1.8.2.v20120109-1030</instruction>
</instructions>
But my bundle, exposed via the experimental P2 nexus stuff:
<unit id='...client.mapping' version='14.0.1'>
...
<touchpointData size='1'>
<instructions size='1'>
<instruction key='manifest'>
Bundle-SymbolicName:....client.mapping
Bundle-Version: 14.0.1
</instruction>
</instructions>
</touchpointData>
</unit>
Luckily I have write access to that file :)
Hacking in the zipped instruction fixes the problem.
So I now know where to look.
Bless you Stephen!
Three days of work has not gone wasted.