Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho and IProvisioningEventBus ?

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&#xA;Bundle-Version:
> 12.2.2.201205020709&#xA;
>         </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&#xA;Bundle-Version:
> 12.2.2.201205020709&#xA;
>         </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&#xA;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.


Back to the top