diff options
Diffstat (limited to 'eclipse.platform.releng.tychoeclipsebuilder/rcp.config/buildConfiguration.xml')
-rw-r--r-- | eclipse.platform.releng.tychoeclipsebuilder/rcp.config/buildConfiguration.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/buildConfiguration.xml b/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/buildConfiguration.xml new file mode 100644 index 000000000..09e5955c0 --- /dev/null +++ b/eclipse.platform.releng.tychoeclipsebuilder/rcp.config/buildConfiguration.xml @@ -0,0 +1,43 @@ +<project name="org.eclipse.rcp.configuration" default="main" basedir="."> + + <target name="main" > + <property name="product" value="${basedir}/config.product" /> + <property name="id" value="org.eclipse.pde.build.container.feature" /> + <property name="type" value="feature" /> + <property name="verify" value="false" /> + + <path id="launcher.paths"> + <fileset dir="${reposource}" includes="plugins/org.eclipse.equinox.launcher*" /> + <!-- the built version of the org.eclipse.equinox.executable feature --> + <dirset dir="${buildDirectory}" includes="features/org.eclipse.equinox.executable*" /> + </path> + + <!-- generate a feature based on our .product file --> + <property file="${eclipse.build.configs}/master/build.properties" /> + <ant antfile="${eclipse.pdebuild.scripts}/productBuild/productBuild.xml" target="generateFeature" > + <property name="nestedInclusions" value="false" /> + <property name="buildDirectory" value="${basedir}/temp"/> + </ant> + <!-- generate product build scripts for the generated feature --> + <ant antfile="${eclipse.pdebuild.scripts}/genericTargets.xml" target="generateScript" > + <property name="buildDirectory" value="${basedir}/temp"/> + <property name="baseLocation" value="" /> + <property name="transformedRepoLocation" value="" /> + <property name="pluginPath" refid="launcher.paths" /> + <property name="forceContextQualifier" value="${buildId}" /> + </ant> + + <!-- get the generate p2.inf that got generated with the above scripts --> + <move file="${basedir}/temp/features/org.eclipse.pde.build.container.feature/product/p2.inf" tofile="${basedir}/p2.inf" overwrite="true" /> + <replace file="${basedir}/p2.inf" token="@FLAVOR@" value="tooling" /> + + <!-- publish the configuration feature with the generated p2.inf --> + <replace file="${basedir}/feature.xml" token="@qualifier@" value="${buildId}" /> + <eclipse.gatherFeature + metadataRepository="file:${reposource}" + artifactRepository="file:${reposource}" + buildResultFolder="${basedir}" + baseDirectory="${basedir}" + /> + </target> +</project> |