On 4/21/06, Richard S. Hall <[EMAIL PROTECTED]> wrote:


You might have noticed issue FELIX-61 for creating a "simple"
subproject, is this an area where you might be able to help? Even if you
can just explain what you did to mavenize it? Were you able to make is a
self-contained project or did it result in multiple maven projects?


Sorry for being so late in responding... been a slacker the last month or so
with the lists... catching up finally...

Yeah... I can help... With Maven-2 you can build a project that has multiple
modules.  The top layer POM defines all the common project attributes.
Then, each subfolder defines each module with it's own POM for generating
the artifact for that module.  You can use maven to either build modules
individually, or you can build all the modules at once from the top level.

I recall that's how I constructed my project a while ago, when first
experimenting with using maven-2 to build OSGi bundles of the Oscar
tutorials.  This worked well, especially when producing althernating impls
of the spell-check service as different bundles.

Let me know if you'd like me to document/share further and how... be glad to
contribute.

-> richard

Timothy Bennett wrote:
> Richard S. Hall wrote:
>
>> As we move ever closer to our first public release of Felix, we need
>> to nail down more and more details.
>>
>> For Oscar, I included a "simple" bundle (source & binary) in the
>> framework release archive that demonstrated many of the concepts and
>> functionality of the OSGi framework. The "simple" bundle was largely
>> a "hello world" type example that demonstrated bundle activators,
>> embedded JAR files, native libraries (for Linux), and dynamic imports.
>>
>> I am not sure if people think this is useful or not. If so, then we
>> will need to move it over. If not, then we can forget about it.
>>
>> Note that the "simple" bundle is not intended to replace a tutorial,
>> it just provides people that download the framework a simple example
>> with which to experiment.
>>
>> It is worth keeping?
>>
> Richard, I've got all your "suite" of bundles converted to Maven-2 and
> (I think) using the maven osgi plugin... somewhere on my file
> system... might be a good starting point, perhaps?
>

Reply via email to