You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Brian M Dube <bd...@apache.org> on 2011/05/15 21:05:09 UTC
Getting started with submodules
Hello,
I'm experimenting with EasyAnt for the OSGi implementation of Apache
Forrest [1] which consists of about a dozen submodules. Right now each
submodule contains its own Ant build file which can be called directly
or from build.xml at [1].
The submodule build files use the bnd task to create OSGi bundles from
the sources. Is this setup a good candidate for EasyAnt? Is a plugin
already available for creating OSGi bundles?
-Brian
[1] https://svn.apache.org/repos/asf/forrest/trunk/whiteboard/forrest-osgi/
Re: Getting started with submodules
Posted by Brian M Dube <bd...@apache.org>.
On Wed, May 18, 2011 at 06:59:05PM -0700, Brian M Dube wrote:
> I have some of the build working with Apache EasyAnt (for
> forrest-osgi). If there is a response on their list, I'll follow up
> with some questions and pursue it further.
There was a response.
Date: Mon, 6 Jun 2011 17:19:01 +0200
Subject: Re: Getting started with submodules
Message-ID: <BA...@mail.gmail.com>
The solution is likely to involve writing a new OSGi plugin for Apache
EasyAnt. I won't have the time to investigate that option for a while.
-Brian
Re: Getting started with submodules
Posted by Brian M Dube <bd...@apache.org>.
I have some of the build working with Apache EasyAnt (for
forrest-osgi). If there is a response on their list, I'll follow up
with some questions and pursue it further.
-Brian
Re: Getting started with submodules
Posted by Jean-Louis Boudart <je...@gmail.com>.
Feel free to ask for help here if you have questions about to write your own
plugins/buildtypes, reusing your old build.xml files, or any question you
may have about easyant.
2011/6/6 Jean-Louis Boudart <je...@gmail.com>
> As you pointed out, EasyAnt support OSGI through build-osgi-bundle-java
> buildtype[1].
> It relies on a osgi-bundle[2] plugin using luminis bnd ant task[3].
>
> We used this custom task as it was looking easier to interact with bnd, but
> i just realized that bnd.jar content was merged in their task. So i can't
> tell you which version of bnd they are using exactly.
> Code hasn't move since 2009, i don't know if still maintened :/.
>
> Their source are accessible at
> https://opensource.luminis.net/svn/BUNDLES/trunk/build-plugin/.
>
> Maybe it would be more safe to write a new plugin using bnd.
>
>
> [1]
> https://svn.apache.org/repos/asf/incubator/easyant/buildtypes/trunk/build-osgi-bundle-java/
> [2]
> https://svn.apache.org/repos/asf/incubator/easyant/plugins/trunk/osgi-bundle
> [3] https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task
>
>
>
> 2011/5/19 Brian M Dube <bd...@apache.org>
>
>> On Sun, May 15, 2011 at 12:05:09PM -0700, Brian M Dube wrote:
>> > The submodule build files use the bnd task to create OSGi bundles from
>> > the sources. Is this setup a good candidate for EasyAnt? Is a plugin
>> > already available for creating OSGi bundles?
>>
>> I've found the build-osgi-bundle-java build type through the
>> easyant.org site.
>>
>> When setting the osgi.export.package or osgi.import.package
>> properties, I'm getting errors when version ranges such as
>> "[0.10,0.11)" are specified. Parsing breaks due to unmatched ")". How
>> can I specify OSGi version strings with this build type?
>>
>> Thanks,
>> Brian
>>
>
>
>
> --
> Jean Louis Boudart
> Independent consultant
> Project Lead http://www.easyant.org
>
--
Jean Louis Boudart
Independent consultant
Project Lead http://www.easyant.org
Re: Getting started with submodules
Posted by Jean-Louis Boudart <je...@gmail.com>.
As you pointed out, EasyAnt support OSGI through build-osgi-bundle-java
buildtype[1].
It relies on a osgi-bundle[2] plugin using luminis bnd ant task[3].
We used this custom task as it was looking easier to interact with bnd, but
i just realized that bnd.jar content was merged in their task. So i can't
tell you which version of bnd they are using exactly.
Code hasn't move since 2009, i don't know if still maintened :/.
Their source are accessible at
https://opensource.luminis.net/svn/BUNDLES/trunk/build-plugin/.
Maybe it would be more safe to write a new plugin using bnd.
[1]
https://svn.apache.org/repos/asf/incubator/easyant/buildtypes/trunk/build-osgi-bundle-java/
[2]
https://svn.apache.org/repos/asf/incubator/easyant/plugins/trunk/osgi-bundle
[3] https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task
2011/5/19 Brian M Dube <bd...@apache.org>
> On Sun, May 15, 2011 at 12:05:09PM -0700, Brian M Dube wrote:
> > The submodule build files use the bnd task to create OSGi bundles from
> > the sources. Is this setup a good candidate for EasyAnt? Is a plugin
> > already available for creating OSGi bundles?
>
> I've found the build-osgi-bundle-java build type through the
> easyant.org site.
>
> When setting the osgi.export.package or osgi.import.package
> properties, I'm getting errors when version ranges such as
> "[0.10,0.11)" are specified. Parsing breaks due to unmatched ")". How
> can I specify OSGi version strings with this build type?
>
> Thanks,
> Brian
>
--
Jean Louis Boudart
Independent consultant
Project Lead http://www.easyant.org
Re: Getting started with submodules
Posted by Brian M Dube <bd...@apache.org>.
On Sun, May 15, 2011 at 12:05:09PM -0700, Brian M Dube wrote:
> The submodule build files use the bnd task to create OSGi bundles from
> the sources. Is this setup a good candidate for EasyAnt? Is a plugin
> already available for creating OSGi bundles?
I've found the build-osgi-bundle-java build type through the
easyant.org site.
When setting the osgi.export.package or osgi.import.package
properties, I'm getting errors when version ranges such as
"[0.10,0.11)" are specified. Parsing breaks due to unmatched ")". How
can I specify OSGi version strings with this build type?
Thanks,
Brian