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

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
> 
> 

-- 
View this message in context: http://www.nabble.com/PDE-builds-and-linked-jar-dependencies-tf3901879.html#a11076043
Sent from the Eclipse PDE - build mailing list archive at Nabble.com.



Back to the top