« Return to Thread: Using packaging "bundle" for SLP

Re: Using packaging "bundle" for SLP

by simonebordet :: Rate this Message:

Reply to Author | View in Thread

Hi,

On Fri, Aug 1, 2008 at 5:16 PM, Alan Cabrera <adc@...> wrote:
>> the pom for SLP uses packaging "bundle".
>> Is this necessary ? What advantages over "jar" ?
>
> People using OSGi can load it

Well, for that is enough the jar plugin and its manifest configuration, no ?

>> It scares me that if I add a package, or if I type it wrong (like it
>> was before r469), the classes are not added to the jar, making it
>> useless.
>
> Classes are always added to the jar.

They are not. If you have a typo (for example livetrbe instead of
livetribe) in the list of packages in the pom, the jar will be empty.
And if I do not want to export a package on purpose, it will not be in
the jar. I find this plugin a bit... "strange" :)

Simon
--
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Using packaging "bundle" for SLP