There was another request which has been turned down as well:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=412742
The main point is that the MANIFEST.MF is a configuration file for Tycho, and so it should be easy to find. This is made harder if the path is configurable.
All configuration files should be in “standard” locations. Right now, this is only META-INF/MANIFEST.MF for OSGi bundles, but there could be other standards
as well (e.g. for web bundles). Not sure these other standards exist, so far every request we got for this wanted the file in a different place.
So if you have an established standard that you’d want Tycho to support, you could open an enhancement and get other users to vote for it. Then, this IMHO could
be supported.
Regards
Tobias
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
On Behalf Of Stephen Rowles
Sent: Montag, 17. Februar 2014 16:50
To: Tycho user list
Subject: Re: [tycho-user] Support for non-standard Manifest location?
I'm specifically using WebSphere Liberty, and the tooling support for eclipse provided:
https://www.ibmdw.net/wasdev/downloads/
The target platform that they use simply references folders on disk and provides the appropriate plugins to support JSP's etc. I am in the process of turning that target definition and directory
structure into a p2 repository (anoyingly the eclipse export target platform wizard builds a repository with no plugins in the artifacts.xml!).
Stephen Rowles
From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
To: tycho-user@xxxxxxxxxxx,
Date: 17/02/2014 15:39
Subject: Re: [tycho-user] Support for non-standard Manifest location?
Sent by: tycho-user-bounces@xxxxxxxxxxx
No, Tycho still requires OSGi bundle manifest to be locating in
${project.basedir}/META-INF/MANIFEST.MF.
Out of curiosity, can you explain tools involved in development of such
webapps? I assume all webapps' dependencies are available from P2
repositories, how are these repositories get populated?
--
Regards,
Igor
On 2/17/2014, 10:23, Stephen Rowles wrote:
> Hi all,
>
> I have some web application bundles, which are valid OSGi bundles but
> have their META-INF/MANIFEST.MF is not under the bundle root they are
> within a top level folder of BundleContent, so
> BundleContent/META-INF/MANIFEST.MF
>
> I found this old tycho bug:
>
> https://issues.sonatype.org/browse/TYCHO-500
>
> However that was back in 2010, there are lots more OSGi based web
> application servers now, so I was wondering if this has moved on and
> been dealt with? I've done LOTS of googling but cannot find any way of
> telling tycho how to use a custom location for the manifest. This is a
> shame as it's the last step in the chain to making these work.
>
> Any suggestions?
>
> Cheers,
>
>
> *Stephen Rowles*
>
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
>
> _______________________________________________
> 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
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU