mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 15:53:58 +02:00
updating build scripts, removing specialized procedures
This commit is contained in:
parent
c80195368a
commit
a6ecbb2739
4 changed files with 41 additions and 9 deletions
4
releng/org.eclipse.rse.build/build.properties
Normal file
4
releng/org.eclipse.rse.build/build.properties
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
buildId=1.0M1-200604220100
|
||||||
|
archivePrefix=eclipse
|
||||||
|
buildLabel=S-1.0M1-200604220100
|
||||||
|
collectingFolder=COLLECTOR
|
|
@ -48,6 +48,7 @@
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
<!-- ******* add in the descriptions for each of the top level targets to the target decl -->
|
<!-- ******* add in the descriptions for each of the top level targets to the target decl -->
|
||||||
<target name="main" description="the main build target">
|
<target name="main" description="the main build target">
|
||||||
|
<echo message="**********************************************************"/>
|
||||||
<antcall target="preBuild" />
|
<antcall target="preBuild" />
|
||||||
<antcall target="fetch" />
|
<antcall target="fetch" />
|
||||||
<antcall target="generate" />
|
<antcall target="generate" />
|
||||||
|
|
|
@ -31,25 +31,41 @@
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
|
|
||||||
<target name="assemble.org.eclipse.rse.core">
|
<target name="assemble.org.eclipse.rse.core">
|
||||||
|
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
|
||||||
|
</ant>
|
||||||
|
<!--
|
||||||
<antcall target="buildFeature">
|
<antcall target="buildFeature">
|
||||||
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.core" />
|
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.core" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
-->
|
||||||
</target>
|
</target>
|
||||||
<target name="assemble.org.eclipse.rse.local">
|
<target name="assemble.org.eclipse.rse.local">
|
||||||
|
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
|
||||||
|
</ant>
|
||||||
|
<!--
|
||||||
<antcall target="buildFeature">
|
<antcall target="buildFeature">
|
||||||
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.local" />
|
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.local" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
-->
|
||||||
</target>
|
</target>
|
||||||
<target name="assemble.org.eclipse.rse.ftp">
|
<target name="assemble.org.eclipse.rse.ftp">
|
||||||
|
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
|
||||||
|
</ant>
|
||||||
|
<!--
|
||||||
<antcall target="buildFeature">
|
<antcall target="buildFeature">
|
||||||
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.ftp" />
|
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.ftp" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
-->
|
||||||
</target>
|
</target>
|
||||||
<target name="assemble.org.eclipse.rse.dstore">
|
<target name="assemble.org.eclipse.rse.dstore">
|
||||||
|
<ant antfile="${assembleScriptName}" dir="${buildDirectory}">
|
||||||
|
</ant>
|
||||||
|
<!--
|
||||||
<antcall target="serverruntime" />
|
<antcall target="serverruntime" />
|
||||||
<antcall target="buildFeature">
|
<antcall target="buildFeature">
|
||||||
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.dstore" />
|
<param name="featureFolder" value="${buildDirectory}\features\org.eclipse.rse.dstore" />
|
||||||
</antcall>
|
</antcall>
|
||||||
|
-->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="dstore_extra_server.jar">
|
<target name="dstore_extra_server.jar">
|
||||||
|
@ -63,7 +79,7 @@
|
||||||
|
|
||||||
<target name="serverruntime">
|
<target name="serverruntime">
|
||||||
<antcall target="dstore_extra_server.jar" />
|
<antcall target="dstore_extra_server.jar" />
|
||||||
<property name="universalserverfilelist" value="${buildDirectory}/plugins/org.eclipse.dstore.core/dstore_core.jar,
|
<!-- property name="universalserverfilelist" value="${buildDirectory}/plugins/org.eclipse.dstore.core/dstore_core.jar,
|
||||||
${buildDirectory}/plugins/org.eclipse.dstore.extra/serverruntime/dstore_extra_server.jar,
|
${buildDirectory}/plugins/org.eclipse.dstore.extra/serverruntime/dstore_extra_server.jar,
|
||||||
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/patterns.dat,
|
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/patterns.dat,
|
||||||
${buildDirectory}/plugins/org.eclipse.rse.services/clientserver.jar,
|
${buildDirectory}/plugins/org.eclipse.rse.services/clientserver.jar,
|
||||||
|
@ -78,7 +94,7 @@
|
||||||
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/daemon.linux,
|
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/daemon.linux,
|
||||||
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/win.env.bat,
|
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/win.env.bat,
|
||||||
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/daemon.win.bat,
|
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/daemon.win.bat,
|
||||||
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/run.win.bat" />
|
${buildDirectory}/plugins/org.eclipse.rse.services.dstore/serverruntime/run.win.bat" /-->
|
||||||
|
|
||||||
<delete dir="${packageDirectory}\rseserver" />
|
<delete dir="${packageDirectory}\rseserver" />
|
||||||
<mkdir dir="${packageDirectory}\rseserver" />
|
<mkdir dir="${packageDirectory}\rseserver" />
|
||||||
|
@ -163,6 +179,7 @@
|
||||||
<target name="preFetch">
|
<target name="preFetch">
|
||||||
<!-- clean up the old driver -->
|
<!-- clean up the old driver -->
|
||||||
<!-- <delete includeEmptyDirs="true">-->
|
<!-- <delete includeEmptyDirs="true">-->
|
||||||
|
<!--
|
||||||
<fileset dir="${buildDirectory}\plugins" casesensitive="yes" defaultexcludes="no">
|
<fileset dir="${buildDirectory}\plugins" casesensitive="yes" defaultexcludes="no">
|
||||||
<include name="org.eclipse.*/**" />
|
<include name="org.eclipse.*/**" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
@ -180,6 +197,7 @@
|
||||||
<fileset dir="${head}\eclipse\features" casesensitive="yes" defaultexcludes="no">
|
<fileset dir="${head}\eclipse\features" casesensitive="yes" defaultexcludes="no">
|
||||||
<include name="org.eclipse.*/**" />
|
<include name="org.eclipse.*/**" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
-->
|
||||||
<!-- </delete>-->
|
<!-- </delete>-->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -205,12 +223,19 @@
|
||||||
<!-- Steps to do before running the build.xmls for the elements being built. -->
|
<!-- Steps to do before running the build.xmls for the elements being built. -->
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
<target name="preProcess">
|
<target name="preProcess">
|
||||||
|
<antcall target="allElements">
|
||||||
|
<param name="target" value="gatherSources" />
|
||||||
|
</antcall>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
<!-- Steps to do after running the build.xmls for the elements being built. -->
|
<!-- Steps to do after running the build.xmls for the elements being built. -->
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
<target name="postProcess">
|
<target name="postProcess">
|
||||||
|
<antcall target="serverruntime" />
|
||||||
|
<antcall target="allElements">
|
||||||
|
<param name="target" value="gatherLogs" />
|
||||||
|
</antcall>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
|
@ -232,9 +257,7 @@
|
||||||
<mkdir dir="${packageDirectory}" />
|
<mkdir dir="${packageDirectory}" />
|
||||||
|
|
||||||
<property name="packageRuntimeDirectory" location="${packageDirectory}\runtime" />
|
<property name="packageRuntimeDirectory" location="${packageDirectory}\runtime" />
|
||||||
<property name="packageRuntimeRootDirectory" location="${packageRuntimeDirectory}\eclipse" />
|
|
||||||
<mkdir dir="${packageRuntimeDirectory}" />
|
<mkdir dir="${packageRuntimeDirectory}" />
|
||||||
<mkdir dir="${packageRuntimeRootDirectory}" />
|
|
||||||
|
|
||||||
<unzip src="${buildDirectory}\features\org.eclipse.rse.core\org.eclipse.rse.core_1.0.0.bin.dist.zip" dest="${packageRuntimeRootDirectory}" />
|
<unzip src="${buildDirectory}\features\org.eclipse.rse.core\org.eclipse.rse.core_1.0.0.bin.dist.zip" dest="${packageRuntimeRootDirectory}" />
|
||||||
<unzip src="${buildDirectory}\features\org.eclipse.rse.dstore\org.eclipse.rse.dstore_1.0.0.bin.dist.zip" dest="${packageRuntimeRootDirectory}" />
|
<unzip src="${buildDirectory}\features\org.eclipse.rse.dstore\org.eclipse.rse.dstore_1.0.0.bin.dist.zip" dest="${packageRuntimeRootDirectory}" />
|
||||||
|
|
|
@ -73,11 +73,16 @@
|
||||||
<ant antfile="build.xml" dir="${elementPath}" target="build.jars">
|
<ant antfile="build.xml" dir="${elementPath}" target="build.jars">
|
||||||
<property name="target" value="build.jars"/>
|
<property name="target" value="build.jars"/>
|
||||||
</ant>
|
</ant>
|
||||||
|
<!-- dwd
|
||||||
|
<ant antfile="build.xml" dir="${elementPath}" target="build.sources">
|
||||||
|
<property name="target" value="build.sources"/>
|
||||||
|
</ant>
|
||||||
|
-->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- **********************
|
<!-- **********************
|
||||||
1) the gather targets do more than just gather. These are packaging targets.
|
1) the gather targets do more than just gather. These are packaging targets.
|
||||||
We need to continue ot separate the two concepts (gather and package) as
|
We need to continue to separate the two concepts (gather and package) as
|
||||||
the packaging is different if we wanted to create an update site packaging
|
the packaging is different if we wanted to create an update site packaging
|
||||||
(for example). The gathers are commented out for now as the new generated
|
(for example). The gathers are commented out for now as the new generated
|
||||||
scripts do not seem to have them.
|
scripts do not seem to have them.
|
||||||
|
@ -101,7 +106,6 @@ set here?
|
||||||
<!-- Gather source for a build element -->
|
<!-- Gather source for a build element -->
|
||||||
<!-- ===================================================================== -->
|
<!-- ===================================================================== -->
|
||||||
<target name="gatherSources" description="Gathering source distribution..." depends="init">
|
<target name="gatherSources" description="Gathering source distribution..." depends="init">
|
||||||
<!--suspect: this call is required to create the *.src.zip inside each plugin-->
|
|
||||||
<ant antfile="build.xml" dir="${elementPath}" target="build.sources">
|
<ant antfile="build.xml" dir="${elementPath}" target="build.sources">
|
||||||
<property name="os" value="${os}" />
|
<property name="os" value="${os}" />
|
||||||
<property name="ws" value="${ws}" />
|
<property name="ws" value="${ws}" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue