Skip to main content



      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 05:58 Go to next message
Eclipse UserFriend
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 17:55 Go to previous message
Eclipse UserFriend
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 17:55 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 02:58:53 EDT 2025

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

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

Back to the top