Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Packaging and MANIFEST.MF

In Eclipse 2.1 and earlier the only dependency information was in the plugin.xml file. In Eclipse 3.0 they switched to OSGi and thus need a manifest file. 

There is some backward compatible hooks which generate the manifest for pre-3.0 bundles which is what you're seeing here. 

Your best bet is to build it in PDE, open up the generated jar and extract the manifest from it and place into the source. 

Alex

Sent from my iPhone 4S

On 20 Jan 2012, at 19:05, Martin Röbert <martin.roebert@xxxxxxxxx> wrote:

> Hi and thanks for the replies.
> 
> I think I have to build it to use it as a dependency. This project is - afaik - only available as source. So I have to build it and I use it as dependency additionally. 
> 
> While catching a glimpse over the codeI think I found the problem: The MANIFEST.MF is generated via ant. So: Can I incorporate the maven ant tasks to build this? Or does anyone has an idea how I could incorporate this project into a Tycho build? (For clarification I provide the URL to the bundle: https://github.com/cbeust/testng-eclipse)
> 
> Thanks in advance,
> Martin
> --
> Martin Röbert
> Forschungsbereich Applied Software Engineering
> Institut für Angewandte Informatik e.V. an der Universität Leipzig
> 
> Großer Brockhaus 1
> 04103 Leipzig
> 
> http://www.infai.org
> 
> Die IT-Trends von morgen - Wissen aus der
> angewandten Forschung für Entscheider:
> http://www.it-radar.org
> 
> Am 20.01.2012 um 19:17 schrieb Igor Fedorenko:
> 
>> Are you trying to build this plugin or use it as a dependency? Tycho is
>> should be able to use this plugin as a dependency, but it needs existing
>> bundle manifest to build.
>> 
>> --
>> Regards,
>> Igor
>> 
>> On 12-01-20 9:19 AM, Martin Röbert wrote:
>>> Hi there,
>>> 
>>> at the moment I am trying to set up a build process for some eclipse bundles. Everything is fine except an error in a third-party bundle.
>>> This bundle uses the plugin.xml as the only manifest file. If I try to build it, maven/tycho is nagging around, that it could not pack the jar, because it could not find a MANIFEST.MF.
>>> 
>>> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.13.0:package-plugin (default-package-plugin) on project org.testng.eclipse: Error assembling JAR: /Users/martin/git/probate-web/eclipse/de.lpzebusiness.testng/META-INF/MANIFEST.MF (No such file or directory) ->  [Help 1]
>>> 
>>> Any hints on that?
>>> 
>>> Thanks in advance,
>>> 
>>> Martin
>>> 
>>> --
>>> Martin Röbert
>>> Forschungsbereich Applied Software Engineering
>>> Institut für Angewandte Informatik e.V. an der Universität Leipzig
>>> 
>>> Großer Brockhaus 1
>>> 04103 Leipzig
>>> 
>>> http://www.infai.org
>>> 
>>> Die IT-Trends von morgen - Wissen aus der
>>> angewandten Forschung für Entscheider:
>>> http://www.it-radar.org
>>> 
>>> _______________________________________________
>>> tycho-user mailing list
>>> tycho-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top