Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormfeldman2007-03-14 13:33:41 -0400
committermfeldman2007-03-14 13:33:41 -0400
commit3ec7a4e7281353307805dcfc85036e4496e558ff (patch)
treea17ecfd61960f0f4b6d1d9109f0a1d3ae270fac7 /archive
parent8dd9f2616af0745bfc93cec16442007bc9bcf980 (diff)
downloadorg.eclipse.gmf-tooling-3ec7a4e7281353307805dcfc85036e4496e558ff.tar.gz
org.eclipse.gmf-tooling-3ec7a4e7281353307805dcfc85036e4496e558ff.tar.xz
org.eclipse.gmf-tooling-3ec7a4e7281353307805dcfc85036e4496e558ff.zip
*** empty log message ***
Diffstat (limited to 'archive')
-rw-r--r--archive/org.eclipse.gmf.releng.components/.project11
-rw-r--r--archive/org.eclipse.gmf.releng.components/callisto/build.properties151
-rw-r--r--archive/org.eclipse.gmf.releng.components/callisto/customTargets.xml226
3 files changed, 388 insertions, 0 deletions
diff --git a/archive/org.eclipse.gmf.releng.components/.project b/archive/org.eclipse.gmf.releng.components/.project
new file mode 100644
index 000000000..1d0141031
--- /dev/null
+++ b/archive/org.eclipse.gmf.releng.components/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.gmf.releng.components</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
diff --git a/archive/org.eclipse.gmf.releng.components/callisto/build.properties b/archive/org.eclipse.gmf.releng.components/callisto/build.properties
new file mode 100644
index 000000000..2b59279fa
--- /dev/null
+++ b/archive/org.eclipse.gmf.releng.components/callisto/build.properties
@@ -0,0 +1,151 @@
+###############################################################################
+# Copyright (c) 2005 Borland Software Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Borland Software Corporation
+###############################################################################
+#####################
+# Parameters describing how and where to execute the build.
+# Typical users need only update the following properties:
+# baseLocation - where things you are building against are installed
+# bootclasspath - The base jars to compile against (typicaly rt.jar)
+# configs - the list of {os, ws, arch} configurations to build.
+#
+# Of course any of the settings here can be overridden by spec'ing
+# them on the command line (e.g., -DbaseLocation=d:/eclipse
+
+############# PRODUCT/PACKAGING CONTROL #############
+#product=
+#runPackager=true
+
+# The prefix that will be used in the generated archive.
+archivePrefix=eclipse
+
+# The location underwhich all of the build output will be collected.
+collectingFolder=${archivePrefix}
+
+# The list of {os, ws, arch} configurations to build. This
+# value is a '&' separated list of ',' separate triples. For example,
+# configs=win32,win32,x86 & linux,motif,x86
+# By default the value is *,*,*
+#config=win32, win32, x86 & \
+# linux, gtk, ppc &\
+# linux, gtk, x86 & \
+# linux, gtk, x86_64 & \
+# linux, motif, x86 & \
+# solaris, motif, sparc & \
+# solaris, gtk, sparc & \
+# aix, motif, ppc & \
+# hpux, motif, PA_RISC & \
+# macosx, carbon, ppc
+
+#The format of the archive. By default a zip is created using antZip.
+#The list can only contain the configuration for which the desired format is different than zip.
+#archivesFormat=win32, win32, x86 - antZip& \
+# linux, gtk, ppc - antZip &\
+# linux, gtk, x86 - antZip& \
+# linux, gtk, x86_64 - antZip& \
+# linux, motif, x86 - antZip& \
+# solaris, motif, sparc - antZip& \
+# solaris, gtk, sparc - antZip& \
+# aix, motif, ppc - antZip& \
+# hpux, motif, PA_RISC - antZip& \
+# macosx, carbon, ppc - antZip
+
+#Set to true if you want the output to be ready for an update jar (no site.xml generated)
+outputUpdateJars=true
+
+#Arguments to send to the zip executable
+zipargs=
+
+archivesFormat=*,*,*-zip
+
+#Arguments to send to the tar executable
+tarargs=
+
+
+############## BUILD NAMING CONTROL ################
+# The directory into which the build elements are fetched and where
+# the build takes place.
+
+# Type of build. Used in naming the build output. Typically this value is
+# one of I, N, M, S, ...
+buildType=I
+
+# ID of the build. Used in naming the build output.
+buildId=build
+
+# Label for the build. Used in naming the build output
+buildLabel=${buildType}.${buildId}
+
+# Timestamp for the build. Used in naming the build output
+timestamp=0000
+
+#The value to be used for the qualifier of a plugin or feature when you want to override the value computed by pde.
+#The value will only be applied to plugin or features indicating build.properties, qualifier = context
+#forceContextQualifier=<the value for the qualifier>
+
+#Enable / disable the generation of a suffix for the features that use .qualifier.
+#The generated suffix is computed according to the content of the feature
+generateFeatureVersionSuffix=true
+
+############# BASE CONTROL #############
+# Settings for the base Eclipse components and Java class libraries
+# against which you are building.
+# Base location for anything the build needs to compile against. For example,
+# in most RCP app or a plug-in, the baseLocation should be the location of a previously
+# installed Eclipse against which the application or plug-in code will be compiled.
+
+#skipBase=true
+#cleanBase=true
+#The default base location is relative to build root directory
+baseLocation=${buildRoot}/eclipse
+baseLocationRoot=${baseLocation}/..
+#Os/Ws/Arch/nl of the eclipse specified by baseLocation
+baseos=win32
+basews=win32
+basearch=x86
+
+############# CVS CONTROL ################
+# The CVS tag to use when fetching the map files from the repository
+
+#skipMaps=true
+mapsRepo=:pserver:anonymous@dev.eclipse.org/cvsroot/technology
+mapsRoot=org.eclipse.gmf/releng/org.eclipse.gmf.releng
+mapsCheckoutTag=HEAD
+
+#tagMaps=true
+mapsTagTag=v${buildId}
+
+# The CVS tag to use when fetching elements to build. By default the
+# builder will use whatever is in the maps. Use this value to override
+# for example, when doing a nightly build out of HEAD
+# fetchTag=HEAD
+#skipFetch=true
+
+
+############# JAVA COMPILER OPTIONS ##############
+# The location of the Java jars to compile against. Typically the rt.jar for your JDK/JRE
+bootclasspath=${java.home}/lib/rt.jar
+
+# Whether or not to include debug info in the output jars
+javacDebugInfo=true
+
+# Whether or not to fail the build if there are compiler errors
+javacFailOnError=true
+
+# Enable or disable verbose mode of the compiler
+javacVerbose=false
+
+# Extra arguments for the compiler. These are specific to the java compiler being used.
+compilerArg=-enableJavadoc -warn:-unsafe,serial
+
+# The version of the source code
+javacSource=1.5
+
+# The version of the byte code targeted
+javacTarget=1.5
diff --git a/archive/org.eclipse.gmf.releng.components/callisto/customTargets.xml b/archive/org.eclipse.gmf.releng.components/callisto/customTargets.xml
new file mode 100644
index 000000000..f1fb7b1e4
--- /dev/null
+++ b/archive/org.eclipse.gmf.releng.components/callisto/customTargets.xml
@@ -0,0 +1,226 @@
+<project name="Build specific targets and properties" default="noDefault">
+
+ <property name="id" value="org.eclipse.gmf.callisto" />
+ <property name="archiveName" value="GMF-callisto-${buildId}.zip"/>
+
+ <!-- ===================================================================== -->
+ <!-- Run a given ${target} on all elements being built -->
+ <!-- Add on <ant> task for each top level element being built. -->
+ <!-- ===================================================================== -->
+ <target name="allElements">
+ <ant antfile="${genericTargets}" target="${target}">
+ <property name="type" value="feature" />
+ <property name="id" value="${id}"/>
+ </ant>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Targets to assemble the built elements for particular configurations -->
+ <!-- These generally call the generated assemble scripts (named in -->
+ <!-- ${assembleScriptName}) but may also add pre and post processing -->
+ <!-- Add one target for each root element and each configuration -->
+ <!-- ===================================================================== -->
+
+ <target name="assemble.org.eclipse.gmf.callisto">
+ <ant antfile="${assembleScriptName}" dir="${buildDirectory}"/>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Check out map files from correct repository -->
+ <!-- Replace values for mapsCheckoutTag as desired. -->
+ <!-- ===================================================================== -->
+ <target name="getMapFiles" depends="checkLocalMaps" unless="skipMaps">
+ <property name="mapsCheckoutTag" value="HEAD" />
+ <cvs command="checkout -d org.eclipse.gmf.releng" cvsRoot="${mapsRepo}" package="${mapsRoot}" dest="${buildDirectory}/maps" tag="${mapsCheckoutTag}" />
+ <!-- Check out target platform config -->
+ <property name="targetConfigTag" value="HEAD" />
+ <cvs command="checkout -d org.eclipse.gmf.releng.target" cvsRoot="${mapsRepo}" package="${mapsRoot}.target" dest="${buildDirectory}/maps" tag="${targetConfigTag}" />
+ </target>
+
+ <target name="checkLocalMaps">
+ <available property="skipMaps" file="${buildDirectory}/maps" />
+ </target>
+
+ <target name="tagMapFiles" if="tagMaps">
+ <cvs dest="${buildDirectory}/maps/${mapsRoot}" command="tag ${mapsTagTag}" />
+ </target>
+
+ <!-- ===================================================================== -->
+
+ <target name="clean" unless="noclean">
+ <antcall target="allElements">
+ <param name="target" value="cleanElement" />
+ </antcall>
+ </target>
+
+ <target name="gatherLogs">
+ <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
+ <antcall target="allElements">
+ <param name="target" value="gatherLogs" />
+ </antcall>
+ <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
+ <fileset dir="${buildDirectory}/features">
+ <include name="**/*.log.zip" />
+ </fileset>
+ </unzip>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before setup -->
+ <!-- ===================================================================== -->
+ <target name="preSetup">
+ <antcall target="cleanBase"/>
+ </target>
+
+ <target name="cleanBase" if="cleanBase">
+ <delete dir="${baseLocation}"/>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after setup but before starting the build proper -->
+ <!-- ===================================================================== -->
+ <target name="postSetup">
+ <!-- Load build.cfg properties -->
+ <property file="${buildDirectory}/maps/org.eclipse.gmf.releng.target/build.cfg"/>
+ <ant antfile="${scripts}/install.xml" target="installBase" />
+ <ant antfile="${scripts}/install.xml" target="installGEF" />
+ <ant antfile="${scripts}/install.xml" target="installEMF" />
+ <ant antfile="${scripts}/install.xml" target="installEMFT" />
+ <ant antfile="${scripts}/install.xml" target="installXerces" />
+ <ant antfile="${scripts}/install.xml" target="installBatik" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="preFetch" if="copyRuntime">
+ <!-- Avoid repeated download of runtime... -->
+ <copy todir="${buildDirectory}/plugins">
+ <fileset dir="${buildDirectory}/../runtime/plugins"/>
+ </copy>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after fetching the build elements -->
+ <!-- ===================================================================== -->
+ <target name="postFetch">
+ <!-- TODO: use this workaround if it is decided to have optional source builds -->
+ <!-- <antcall target="generateSources"/> -->
+ <replace dir="${buildDirectory}/plugins" value="${buildId}" token="@buildId@">
+ <include name="**/about.mappings" />
+ </replace>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- NOTE: This is not currently in use! -->
+ <!-- FIXME! This is a workaround, as there is apparently no property -->
+ <!-- setting to enable/disable source builds using generate.feature option.-->
+ <!-- http://www.eclipse.org/articles/Article-PDE-Automation/automation.html-->
+ <!-- ===================================================================== -->
+ <target name="generateSources" if="sourceBuild">
+ <replace file="${buildDirectory}/features/${id}/feature.xml">
+ <replacefilter token="&lt;!--@@INCLUDES@@--&gt;" value="&lt;includes id=&quot;${id}.source&quot; version=&quot;0.0.0&quot;/&gt;"/>
+ </replace>
+ <replace file="${buildDirectory}/features/${id}/build.properties">
+ <replacefilter token="#generate.feature" value="generate.feature" />
+ </replace>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- FIXME! In accordance with workaround above for source builds, clean -->
+ <!-- this build structure and force clean rebuild for normal builds. -->
+ <!-- ===================================================================== -->
+ <target name="preGenerate">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after generating the build scripts. -->
+ <!-- ===================================================================== -->
+ <target name="postGenerate">
+ <!-- Replace in generated plug-ins -->
+ <replace dir="${buildDirectory}/plugins" value="${buildId}" token="@buildId@">
+ <include name="**/about.mappings" />
+ </replace>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="preProcess">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running the build.xmls for the elements being built. -->
+ <!-- ===================================================================== -->
+ <target name="postProcess">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="preAssemble">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running assemble. -->
+ <!-- ===================================================================== -->
+ <target name="postAssemble">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do before running package. -->
+ <!-- ===================================================================== -->
+ <target name="prePackage">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after running package. -->
+ <!-- ===================================================================== -->
+ <target name="postPackage">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do after the build is done. -->
+ <!-- ===================================================================== -->
+ <target name="postBuild">
+ <antcall target="gatherLogs" />
+ <!-- A temporary directory leftover? -->
+ <delete dir="${buildDirectory}/org.eclipse.gmf" failonerror="false"/>
+ <antcall target="pack200"/>
+ <antcall target="publish"/>
+ <ant antfile="${scripts}/package.xml" target="unpackUpdateJarsForPackaging" >
+ <property name="packageBatik" value="true"/>
+ <property name="packageXerces" value="true"/>
+ </ant>
+ </target>
+
+ <target name="pack200" if="pack200">
+ <ant antfile="${scripts}/package.xml" target="pack200" />
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do to test the build results -->
+ <!-- ===================================================================== -->
+ <target name="test">
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Steps to do to publish the build results -->
+ <!-- ===================================================================== -->
+ <target name="publish">
+ <move file="${buildDirectory}/${buildLabel}" tofile="${artifacts}/${buildLabel}"/>
+ <!-- workaround for CC until figure out how to tell CC about buildLabel -->
+ <delete dir="${artifacts}/cc" failonerror="false"/>
+ <copy todir="${artifacts}/cc">
+ <fileset dir="${artifacts}/${buildLabel}"/>
+ </copy>
+ </target>
+
+ <!-- ===================================================================== -->
+ <!-- Default target -->
+ <!-- ===================================================================== -->
+ <target name="noDefault">
+ <echo message="You must specify a target when invoking this file" />
+ </target>
+
+</project>

Back to the top