Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] Bundle Dependency Question

On 5/3/07, Mark_Melvin@xxxxxxxx <Mark_Melvin@xxxxxxxx> wrote:
<some_folder>/
    +--builddir/
    |       +--features/
    |       |     +--Feature A/ (this is what I am building)
    |       +--plugins/
    |
    +--dependencies/
            +--features/
            |     +--Feature B/
            |     +--Feature C/
            +--plugins/
                  +--pluginD_vXXXX.jar

And looking at your response about why you are doing this...

The "dependencies" folder is the "eclipseTarget" directory right? And
as Pascal points out, requires all transitive dependencies to be
resolved in order for PDE to work.

Have a look at http://docs.codehaus.org/display/MAVENUSER/Building+Eclipse+RCP+and+RCP-based+Applications
it is specific to Maven, but since you are using Ivy (which uses the
Maven repository) you may find some value in switching.

The setup described across the various pages will allow you to
automatically populated the "eclipseTarget" directory based on the
already declared dependencies in your plugins META-INF/Manifest.mf
files.

At the moment it is not a 100% solution for you as the
maven-eclipse-plugin doesn't understand features at the moment so it
can't pull in the right dependencies.

However I have the same need as you and I am actively working on resolving it.

My build is using Maven to invoke the pde ant build process and
CruiseControl to run this continuously. And because Maven helps with
the transitive dependencies I don't have the same problems with
manually specifying everything.

Cheers
Barrie


Back to the top