Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] building orbit bundles

I think there is a lot of interesting behind getting that Felix Maven plugin's closer to the solution so that Apache projects using Maven could make themselves available to Orbit without additional work in packaging (other than inclusion of the plugin).

P

On 1/18/07, Jeff McAffer <Jeff_McAffer@xxxxxxxxxx> wrote:

Really there are two flavours of things that come into Orbit, random java libs and bundles.  commons logging is a random lib.  We get it create some metadata for it, sprinkle a little about sauce on and bundle it up.  Things like JSCH and ICU come to us pre bundled so we dont' do anything.  If you are suggesting that we use Maven to do the bundling of the random libs in Orbit, that is certainly a possibility at some point.  The discussion we have had in that direction previously was along the lines of
        "we know the current setup is bogus and we need to fix it.  The solution is not clear
        (e.g., just using Maven does not solve all the problems) so we need to sit down and
        figure out the real solution. "
Personally I would like to do this in the larger context of common build infrastructure etc etc. so that we end up with a real solution across all of the various Eclipse/OSGi build usecases.

If you are suggesting that others could use Maven to create bundles that Orbit would consume, sure.  But, we can really only get stuff directly from the originator.  Its not really acceptable for us to get Apache stuff form Bob in his basement.  I for one would be tickled pink to not do any of this bundling crap and just have all libraries appear on our doorstep as real OSGi bundles.

Jeff



"Philip Dodds" <philip.dodds@xxxxxxxxx>
Sent by: orbit-dev-bounces@xxxxxxxxxxx

01/18/2007 11:13 PM

Please respond to
Orbit Developer discussion <orbit-dev@xxxxxxxxxxx>

To
"Orbit Developer discussion" <orbit-dev@xxxxxxxxxxx>
cc

Subject
Re: [orbit-dev] building orbit bundles







With the Apache Felix Maven plugin would orbit accept pre-build bundles?  We have just been thinking about using the Maven plugins to generate both the OSGI bundle and maybe a testing bundle (containing any testcases)  - also maybe Maven could create the source bundle with it?   It might be a great way of getting Maven based projects ready for Orbit?

Cheers

P

On 1/18/07, Jeff McAffer <Jeff_McAffer@xxxxxxxxxx > wrote:

Thomas,


I'm not sure which tool you are refering to.  There is the stuff going on in  Apache Felix (I believe that is documented there) and there is the process we use to bundle things in Orbit.  That is not a tool but is documented on the Orbit wiki.                        
       
http://wiki.eclipse.org/index.php/Adding_Bundles_To_Orbit

Is there something else?


Jeff





Thomas Hallgren < thomas@xxxxxxx>
Sent by:
orbit-dev-bounces@xxxxxxxxxxx

01/18/2007 02:51 AM

Please respond to
Orbit Developer discussion <
orbit-dev@xxxxxxxxxxx >


To
Orbit Developer discussion <orbit-dev@xxxxxxxxxxx >
cc

Subject
Re: [orbit-dev] building orbit bundles









Hi Jeff,
If you could provide a more elaborate requirement spec. for this tool (a
wiki page that explains how Orbit does this would be great), we would be
interested in incorporating it into Buckminster. The way I see it, it
ought to be possible to directly materialize any jar as a bundle.

Kind Regards,
Thomas Hallgren

Jeff McAffer wrote:
>
> Ben Konrath wrote on 01/17/2007 03:34:53 PM:
> > Once Eclipse projects start using bundles provided by Orbit, we will no
> > longer be able to symlink to the jars installed on the system. One
> > possible solution is to build the Orbit bundle along with our regular
> > build and create a sub-package that is exclusively used by our eclispe
> > packages. For example, if we needed to use an orbit provided tomcat
> > bundle, we would do a regular build of tomcat with the sources provided
> > by apache and then use a tool to make the tomcat bundle, putting this
> > bundle in a separate package. Our eclipse build and package would just
> > require this tomcat eclipse package. Is there a tool to create these
> > Orbit bundles from regular java jars? If not, are there any plans to
> > create one?
>
> Such a tool would be interesting and there has been some work in that
> direction in the Apache Felix area.  They are looking mostly at
> manifest generation.  We have some different requirements (e.g., about
> file injection, hand crafted manifests, ...) that have partially
> driven the current approach.  The short answer then is no, the topic
> has not come up.
>
> Having said that, what is happening here is not rocket science.
>  Basically we are taking built thing and adding a few files to it and
> JAR'ing it up.  Your build could, for example, check out the Orbit
> stuff, build the lib from source, replace the Orbit supplied compiled
> classes with your compiled classes and then "build" the orbit bundle.
>  Yucky perhaps but it would indeed work.
>
> Remember, Orbit is for the most part not changing how we are shipping
> things or really even how they are produced, just where they are
> managed/created.
>
> There will be an interesting question as to how you ensure that the
> thing you built is the same as what we ship from Eclipse but that is
> not unique to or brought on by Orbit.
>
> > Speaking of which, the icu4j bundles included with the SDK currently
> > require Eclipse to generate the build files. Is this something that can
> > be addressed with the efforts of this project? Or should I just file a
> > bug to resolve this problem. My naive solution would be to import the
> > contributed icu4j plugin sources into cvs and generate the build files
> > in the same way that build files are currently generated for the other
> > plugins in the SDK.
>
> ICU is a different kettle of fish.  ICU comes to us as bundles so we
> really don't do anything at all to it.  For simplicity I think we
> decided to explode the ICU budnle into CVS projects and then
> reassemble but that is goofy.  All we really need to do is figure out
> how to stash the original ICU bundles in a safe spot and then
> materialize them on the appropriate download page.
>
> In any event, ICU (and SSH) issues likely have to be taken up with the
> original projects.
>
> Hope that helps
> Jeff
> ------------------------------------------------------------------------
>
> _______________________________________________
> orbit-dev mailing list
>
orbit-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/orbit-dev
>  

_______________________________________________
orbit-dev mailing list

orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


_______________________________________________
orbit-dev mailing list

orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev




Back to the top