Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE-build with target platform
PDE-build with target platform [message #7146] Wed, 18 June 2008 09:27 Go to next message
Oliver Senn is currently offline Oliver SennFriend
Messages: 2
Registered: July 2009
Junior Member
How do I have to configure an automated PDE build (e.g. build.properties)
so that the build uses a given target platform?

In my current configuration the PDE build uses the platform for building
also as target platform.

I'd like to separate these two to have one platform (say eclipse 3.4) for
the PDE build. Then I'd like to use the PDE of this eclipse 3.4
installation to build a product against a different target platform (say
eclipse 3.3).

Thanks.
Re: PDE-build with target platform [message #7194 is a reply to message #7146] Thu, 19 June 2008 19:53 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
In the workbench PDE/UI does this with in the preferences:
Plug-in Development -> Target Platform.

When doing this in an automated PDE/Build, set the "baseLocation"
property to point at your target platform.
Generally speaking, in a headless build there are the following
locations, all of which are independent of the version of eclipse that
is actually running the build:
baseLocation : generally pre-compiled binaries. ie target platform
buildDirectory : generally the source for bundles being compiled
pluginPath : a list of additional places to find (generally binary) bundles.

-Andrew
Oliver wrote:
> How do I have to configure an automated PDE build (e.g.
> build.properties) so that the build uses a given target platform?
> In my current configuration the PDE build uses the platform for building
> also as target platform.
> I'd like to separate these two to have one platform (say eclipse 3.4)
> for the PDE build. Then I'd like to use the PDE of this eclipse 3.4
> installation to build a product against a different target platform (say
> eclipse 3.3).
>
> Thanks.
>
Re: PDE-build with target platform [message #7287 is a reply to message #7194] Fri, 20 June 2008 15:34 Go to previous message
Eclipse UserFriend
Originally posted by: breadlord.gmail.com

I've just built one of these...

In order to build the Target platform you need to get the RCP binary
pack for the platform you're running on and the delta pack - both from
the version you want to compile against. The only thing that the eclipse
IDE install is used for is running the PDE Build application.

You unzip both of the above into the same directory - it should look
like a massively cutdown version of eclipse. If your app uses some more
plugins you're going to have to add them to the plugins directory you've
just created.

In the build.properties set baselocation to be the directory just above
this one.

Try looking at:
http://rcpquickstart.com/2007/06/06/getting-started-with-pde -build/ for
an example and instructions

Tom

Andrew Niefer wrote:
> In the workbench PDE/UI does this with in the preferences:
> Plug-in Development -> Target Platform.
>
> When doing this in an automated PDE/Build, set the "baseLocation"
> property to point at your target platform.
> Generally speaking, in a headless build there are the following
> locations, all of which are independent of the version of eclipse that
> is actually running the build:
> baseLocation : generally pre-compiled binaries. ie target platform
> buildDirectory : generally the source for bundles being compiled
> pluginPath : a list of additional places to find (generally binary)
> bundles.
>
> -Andrew
> Oliver wrote:
>> How do I have to configure an automated PDE build (e.g.
>> build.properties) so that the build uses a given target platform?
>> In my current configuration the PDE build uses the platform for
>> building also as target platform.
>> I'd like to separate these two to have one platform (say eclipse 3.4)
>> for the PDE build. Then I'd like to use the PDE of this eclipse 3.4
>> installation to build a product against a different target platform
>> (say eclipse 3.3).
>>
>> Thanks.
>>
Re: PDE-build with target platform [message #569340 is a reply to message #7146] Thu, 19 June 2008 19:53 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
In the workbench PDE/UI does this with in the preferences:
Plug-in Development -> Target Platform.

When doing this in an automated PDE/Build, set the "baseLocation"
property to point at your target platform.
Generally speaking, in a headless build there are the following
locations, all of which are independent of the version of eclipse that
is actually running the build:
baseLocation : generally pre-compiled binaries. ie target platform
buildDirectory : generally the source for bundles being compiled
pluginPath : a list of additional places to find (generally binary) bundles.

-Andrew
Oliver wrote:
> How do I have to configure an automated PDE build (e.g.
> build.properties) so that the build uses a given target platform?
> In my current configuration the PDE build uses the platform for building
> also as target platform.
> I'd like to separate these two to have one platform (say eclipse 3.4)
> for the PDE build. Then I'd like to use the PDE of this eclipse 3.4
> installation to build a product against a different target platform (say
> eclipse 3.3).
>
> Thanks.
>
Re: PDE-build with target platform [message #569501 is a reply to message #7194] Fri, 20 June 2008 15:34 Go to previous message
Eclipse UserFriend
Originally posted by: breadlord.gmail.com

I've just built one of these...

In order to build the Target platform you need to get the RCP binary
pack for the platform you're running on and the delta pack - both from
the version you want to compile against. The only thing that the eclipse
IDE install is used for is running the PDE Build application.

You unzip both of the above into the same directory - it should look
like a massively cutdown version of eclipse. If your app uses some more
plugins you're going to have to add them to the plugins directory you've
just created.

In the build.properties set baselocation to be the directory just above
this one.

Try looking at:
http://rcpquickstart.com/2007/06/06/getting-started-with-pde -build/ for
an example and instructions

Tom

Andrew Niefer wrote:
> In the workbench PDE/UI does this with in the preferences:
> Plug-in Development -> Target Platform.
>
> When doing this in an automated PDE/Build, set the "baseLocation"
> property to point at your target platform.
> Generally speaking, in a headless build there are the following
> locations, all of which are independent of the version of eclipse that
> is actually running the build:
> baseLocation : generally pre-compiled binaries. ie target platform
> buildDirectory : generally the source for bundles being compiled
> pluginPath : a list of additional places to find (generally binary)
> bundles.
>
> -Andrew
> Oliver wrote:
>> How do I have to configure an automated PDE build (e.g.
>> build.properties) so that the build uses a given target platform?
>> In my current configuration the PDE build uses the platform for
>> building also as target platform.
>> I'd like to separate these two to have one platform (say eclipse 3.4)
>> for the PDE build. Then I'd like to use the PDE of this eclipse 3.4
>> installation to build a product against a different target platform
>> (say eclipse 3.3).
>>
>> Thanks.
>>
Previous Topic:Extension points show "Generic" under the context menu
Next Topic:headless build RAP application
Goto Forum:
  


Current Time: Thu Aug 01 01:37:56 GMT 2024

Powered by FUDForum. Page generated in 0.03213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top