Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to configure headless PDEbuild to build not in the source folder
How to configure headless PDEbuild to build not in the source folder [message #490592] Fri, 09 October 2009 09:58 Go to next message
Andreas Gellendin is currently offline Andreas GellendinFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

I have written a RCP application. My sources are in a sourcecode control
system. Now I want to configure the PDE build, that it builds into a
target directory that is not under source control.

I set the -DbuildDirectory Parameter to the target folder.
I run the build from the source folder. But now the build fails to find
the feature I want to build, because it seems to search it in the target
folder. As I understand it in the buildDirectory the build will be done
and the features and plugins will be generated.

What did I wrong?
Re: How to configure headless PDEbuild to build not in the source folder [message #491991 is a reply to message #490592] Fri, 16 October 2009 21:55 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Try setting "buildTempFolder", the compilation results and such for
plugins should end up under there.

For features, you can also try "feature.temp.folder" I think.

If the top level feature that you are building is not in the
buildDirectory, you will need to set "elementPath" to point to the
feature's folder. The default value of elementPath is
"${buildDirectory}/${type}s/${id}" where type & id come from
topLevelElementType and topLevelElementId (or your allElements.xml)

-Andrew
Andreas Gellendin wrote:
> Hi,
>
> I have written a RCP application. My sources are in a sourcecode control
> system. Now I want to configure the PDE build, that it builds into a
> target directory that is not under source control.
>
> I set the -DbuildDirectory Parameter to the target folder.
> I run the build from the source folder. But now the build fails to find
> the feature I want to build, because it seems to search it in the target
> folder. As I understand it in the buildDirectory the build will be done
> and the features and plugins will be generated.
>
> What did I wrong?
Re: How to configure headless PDEbuild to build not in the source folder [message #602586 is a reply to message #490592] Fri, 16 October 2009 21:55 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Try setting "buildTempFolder", the compilation results and such for
plugins should end up under there.

For features, you can also try "feature.temp.folder" I think.

If the top level feature that you are building is not in the
buildDirectory, you will need to set "elementPath" to point to the
feature's folder. The default value of elementPath is
"${buildDirectory}/${type}s/${id}" where type & id come from
topLevelElementType and topLevelElementId (or your allElements.xml)

-Andrew
Andreas Gellendin wrote:
> Hi,
>
> I have written a RCP application. My sources are in a sourcecode control
> system. Now I want to configure the PDE build, that it builds into a
> target directory that is not under source control.
>
> I set the -DbuildDirectory Parameter to the target folder.
> I run the build from the source folder. But now the build fails to find
> the feature I want to build, because it seems to search it in the target
> folder. As I understand it in the buildDirectory the build will be done
> and the features and plugins will be generated.
>
> What did I wrong?
Previous Topic:Headless build fails when unpack="true"
Next Topic:Accessing UI Thread
Goto Forum:
  


Current Time: Thu Apr 25 23:45:54 GMT 2024

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

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

Back to the top