Thank you Simon,
I indeed already use maven-bundle-plugin to create the bundles (and even
iPojo maven plugin). I also already tryed the assembly plugin for
another non-OSGi project but I was hoping for something a bit more
pre-configured for OSGi. With the assembly plugin, I still have to
configure a lot of OSGi specific things.
If there is nothing better, I will go with this. Are there any good
OSGi-specific tutorial of the assembly plugin indicating good practices
for packaging such applications?
Kind regards,
Ben
On 14/04/2011 14:22, Simon Chemouil wrote:
Hi Benoït,
One way to deal with this is to use the maven-bundle-plugin (a Felix
subproject) to build your bundles and simply use a Maven assembly
(using the maven assembly plugin) to generate your distributions. It
is straightforward to generate an archive or a directory that will
contain your bundles, the Felix runtime and scripts. You can even set
the appropriate permissions (e.g, the executable bit) when you
generate your assembly.
Tycho is about having PDE projects build in Maven.
HTH,
Simon
2011/4/14 Benoît Thiébault<[email protected]>:
Hi everyone,
I am currently working on a project that is managed by Maven as a
multi-modules project, each module representing an OSGi bundle. What I would
like to do is to automatically generate a distributable packaging of the
project for each targeted platform. In this packaging, I would like to have
one executable (in the form of a sh scripton Linux for instance) that would
launch felix for instance, install and start all the required bundles.
Is there such a tool ? What are the best practices to package OSGi
applications ?
I recently discovered Tycho (http://tycho.sonatype.org/) that "is a set of
Maven plugins and extensions for building Eclipse plugins and OSGI bundles
with Maven". This kind of tool is very interesting, except it is aimed at
creating Eclipse RCP plugin and the documentation is very small. Do you have
any alternatives to suggest ?
Kind regards,
Ben
--
Dr Benoît Thiébault
Project Manager
Artenum Toulouse - Science& Groupware
http://www.artenum.com
Bâtiment Calfocenter
10, rue Marguerite Long
31 320 Castanet Tolosan
Phone: +33 (0)5 62 19 32 22
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Dr Benoît Thiébault
Project Manager
Artenum Toulouse - Science& Groupware
http://www.artenum.com
Bâtiment Calfocenter
10, rue Marguerite Long
31 320 Castanet Tolosan
Phone: +33 (0)5 62 19 32 22
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]