You can create a 'target platform' directory which contains all the jars of
plugins you use. Then set this directory in Preferences > PDE > Target
platform. You will have to add ALL the plugins you use, even the core
eclipse plugins. But later you can just add stuff here and press reload on
the same preference page. You could even create a POM for your target
platform that copies everything from the maven repo.

If you go for the second option, you will probably no longer have a PDE
project and will lose the PDE's support for running OSGi applications.

Tom

On 10/31/06, Steinar Bang <[EMAIL PROTECTED]> wrote:

If I would like to access an API residing in an OSGi bundle (built
with maven) from an eclipse RCP project, what's the
correct/best/simplest way to make that API available in the RCP
project:

1. stop eclipse, drop the bundle JAR into the plugins project, start
    eclipse and browse to the bundle's exported package in the
    MANIFEST.MF file editor?

2. create a pom.xml that can be used to generate neccessary
    MANIFEST.MF info of the RCP project, and m2eclipse enable that
    project so that the MANIFEST.MF in the future will be generated
    from pom.xml, and there will be a "Maven2 Dependencies" entry
    pointing into the maven repo where the OSGi bundle resides?

3. other...?

or perhaps none of the above (ie. "not possible")?

Thanx!


- Steinar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to