Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] PDE builds and linked jar dependencies

Hi Yuri,
This is one of the problems that Buckminster (included in Europa) aims to solve. It will allow you extend the manifest and add dependencies to external jar files. You can also fetch and incorporate those jars from a Maven repository if you wish. Incidentally, we have a demo that does just that :-). Please take look at http://wiki.eclipse.org/index.php/Hello_XML_World_Example_%28Buckminster%29. It will demonstrate how a bundle includes two jar files (that are not bundles). One is provided using a standard Eclipse Java project and another is fetched from a Maven repository. The whole process of materializing and building is automatic.

Regards,
Thomas Hallgren

Yuri Schimke wrote:
The "OSGI way" seems to be to make all your dependencies available as OSGI
bundles, either wrapping the original JAR or just inserting the MANIFEST.MF
into the JAR.  All local modules would be there directly in your workspace,
and 3rd party dependencies in the PDE target platform.

Has any one tried this approach with large numbers of complex dependencies? e.g. Spring, Hibernate.

I tried briefly, but I found so many half baked options out there that each
had different serious limitations.  If anyone knows of a good combination
then please point it out :)


baerrach wrote:
On 6/11/07, Graham Leggett <minfrin@xxxxxxxx> wrote:
I have been trying to get an eclipse plugin to build using PDE, and have
been trying to get this eclipse plugin to have its dependencies managed
by
the maven-eclipse-plugin.
[del]
I am trying to figure out what the "right" way to handle dependencies in
a
PDE build is.
I'm using http://mojo.codehaus.org/pde-maven-plugin, which just calls
out to Ant to run the PDE build, and
http://maven.apache.org/plugins/maven-dependency-plugin/ to copy the
dependencies into a "lib" folder.

This works, but is a bit heavy handed and the lib folder contents get
stale very easily.

I am trying very hard to get the various project teams out there
working on this to start collaborating as their is some overlap.  But
I can't say I am having much success.
http://docs.codehaus.org/display/MAVENUSER/Eclipse+Integration lists
some options available for further investigation.

Do linked resources work from PDE? Is there some other technique that
should be used to handle dependencies instead of linked resources
instead?
I've been hacking through the PDE source because we include 800Mb of
GIS map data and the build is very slow > 20 minutes because of
inefficiencies with using zip (it uses update multiple times which
does a copy of the 800Mb each time it wants to update only a few
files).

I did some investigation to see if linked resources worked and from
what I can tell the answer is that linked resources are not supported.
 I have a need to support linked resources too, so there is a chance I
might find the time to hook it in, but that will be a long time in
coming (and then it need to be approved as part of the patch process)
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev






Back to the top