| 
| How to configure headless PDEbuild to build not in the source folder [message #490592] | Fri, 09 October 2009 05:58  |  | 
| Eclipse User  |  |  |  |  | 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  |  | 
| Eclipse User  |  |  |  |  | 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  |  | 
| Eclipse User  |  |  |  |  | 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?
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.45525 seconds