Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] [SUCCESS / OK] TMF XTEXT HEAD Build 0.7.0 / N200902171710 done [17:45]

On 17.02.2009 23:45, TMF XTEXT Build Team wrote:
Status: SUCCESS / OK

Ok. N-builds do work, but signing does not. However, signing user is "nickb". Shouldn't that work? :) See attached file.

Regards,
Patrick

--
Patrick Schönbach
Software Architect

PGP public key available. Key ID: 0B7DDE39
Or email to pgp@xxxxxxxxxxxxx with subject 'pschoenb'.
Fingerprint: BE80 0E7E B68E CE99 623C  902D 62A6 806A 0B7D DE39

web: http://www.itemis.de
mail: schoenbach@xxxxxxxxx
xing: https://www.xing.com/profile/Patrick_Schoenbach

itemis AG
Schauenburgerstraße 116
24118 Kiel
Germany

Rechtlicher Hinweis:
Amtsgericht Dortmund, HRB 20621
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael Neuhaus
<project default="run">

	<!-- when incubation is done, set this to "" -->
	<property name="incubation" value="-incubation" />

	<target name="init">

		<!-- common releng helper scripts -->
		<property name="helper"
		          value="${buildDirectory}/../org.eclipse.modeling.common.releng/scripts/buildAllHelper.xml" />

		<property name="commonScriptsDir"
		          value="${basedir}/../org.eclipse.modeling.common.releng/scripts" />

		<echo message="Set compilerArgs = '-enableJavadoc -encoding ISO-8859-1 -warn:-serial,nls,unused,unchecked,raw'" />
		<property name="compilerArg"
		          value="-enableJavadoc -encoding ISO-8859-1 -warn:-serial,nls,unused,unchecked,raw" />

		<echo message="Set javacSource and javacTarget = 1.5" />
		<property name="javacSource" value="1.5" />
		<property name="javacTarget" value="1.5" />

		<path id="bc">
			<fileset dir="${java.home}/lib">
				<include name="*.jar" />
			</fileset>
		</path>
		<property name="bootclasspath" refid="bc" />

		<echo message="Set J2SE-1.5 = ${bootclasspath}" />
		<property name="J2SE-1.5" value="${bootclasspath}" />
		<condition property="bundleBootClasspath" value="${J2SE-1.5}">
			<isset property="J2SE-1.5" />
		</condition>
		<condition property="bundleJavacSource" value="1.5">
			<isset property="J2SE-1.5" />
		</condition>
		<condition property="bundleJavacTarget" value="1.5">
			<isset property="J2SE-1.5" />
		</condition>

		<property name="buildingOSGi" value="true" />
		<property name="collectingFolder" value="eclipse" />
		<property name="archivePrefix" value="eclipse" />

		<!-- Reduce the amount of info in the build log -->
		<property name="javacVerbose" value="false" />

		<property name="buildDirectory" location="${basedir}/../src/eclipse" />
		<property file="${basedir}/repoInfo.properties" />
		<property name="testBase" location="${buildDirectory}/../testing" />
		<available file="${buildDirectory}/label.properties"
		           property="label.properties.exists" />
		<antcall target="create.label.properties" />
		<property file="${buildDirectory}/label.properties" />

		<echo message="buildAll.xml properties:" />
		<echo message="basedir = ${basedir}" />

		<!-- load a value for ${subprojectName}, among other variables, from build.cfg -->
		<property name="buildConfigFile" value="${basedir}/../build.cfg" />
		<available file="${buildConfigFile}"
		           type="file"
		           property="buildConfigIsAvailable" />
		<fail message="Can't load build properties from ${buildConfigFile}"
		      unless="buildConfigIsAvailable" />
		<!-- TODO: set any special build-related properties here by echoing them into ${buildConfigFile}:
		<echo file="${buildConfigFile}" append="true">

# extra properties specific to just this build
propertyName=propertyValue
</echo>	-->

		<property file="${buildConfigFile}" />

		<echo message="buildVer = ${buildVer}" />
		<echo message="subprojectName = ${subprojectName}" />

		<!-- <echo message="Base OS: ${baseos}; Base Window System: ${basews}"/> -->
		<condition property="isWindows">
			<equals arg1="${baseos}.${basews}" arg2="win32.win32" />
		</condition>
		<condition property="isLinuxGTK">
			<equals arg1="${baseos}.${basews}" arg2="linux.gtk" />
		</condition>
		<condition property="isLinuxMotif">
			<equals arg1="${baseos}.${basews}" arg2="linux.motif" />
		</condition>
		<!-- required for signing & repackaging master zip into smaller zips -->
		<property name="masterZip"
		          value="${projectName}-${subprojectName}-Master${incubation}-${buildAlias}.zip" />
		<property name="allZip"
		          value="${projectName}-${subprojectName}-ALL${incubation}-${buildAlias}.zip" />
		<property name="SDKZip"
		          value="${projectName}-${subprojectName}-SDK${incubation}-${buildAlias}.zip" />
		
		<!-- run on emf.toro / emft.eclipse -->
		<available file="/opt/sun-java2-5.0"
		           type="dir"
		           property="java15-home"
		           value="/opt/sun-java2-5.0" />
		<!-- run on build.eclipse -->
		<available file="/opt/public/common/ibm-java2-ppc-50"
		           type="dir"
		           property="java15-home"
		           value="/opt/public/common/ibm-java2-ppc-50" />
		<echo message="Using java15-home = ${java15-home}" />

		<property name="stagingHome"
		          value="/home/data/httpd/download-staging.priv" />
		<property name="projectPath" value="modeling/${projectName}" />
		<!-- user with write perms in staging dir & permission to run /usr/bin/sign -->
		<property name="buildServerUser" value="nickb@xxxxxxxxxxxxxxxxx" />
		<condition property="sign">
			<or>
				<!-- want to enable/disable signing for a given build type? add/remove types here -->
				<equals arg1="${buildType}" arg2="I" />
				<equals arg1="${buildType}" arg2="M" />
				<equals arg1="${buildType}" arg2="S" />
				<equals arg1="${buildType}" arg2="R" />
			</or>
		</condition>
	</target>

	<target name="create.label.properties" unless="label.properties.exists">
		<mkdir dir="${buildDirectory}" />
		<tstamp />
		<property name="date" value="${DSTAMP}" />
		<property name="time" value="${TSTAMP}" />
		<property name="timestamp" value="${date}${time}" />
		<property name="buildType" value="I" />

		<!--this naming convention used by php scripts on download server-->
		<property name="buildLabel" value="${buildType}${timestamp}" />

		<property name="buildAlias" value="${buildLabel}" />
		<property name="buildId" value="${buildAlias}" />
		<property name="forceContextQualifier" value="v${timestamp}" />

		<!--store the build label information in a file-->
		<echo file="${buildDirectory}/label.properties" append="true">
		buildType=${buildType}
		</echo>
		<echo file="${buildDirectory}/label.properties" append="true">
		buildId=${buildId}
		</echo>
		<echo file="${buildDirectory}/label.properties" append="true">
		timestamp=${timestamp}
		</echo>
		<echo file="${buildDirectory}/label.properties" append="true">
		buildLabel=${buildLabel}
		</echo>
		<echo file="${buildDirectory}/label.properties" append="true">
		buildAlias=${buildAlias}
		</echo>
		<echo file="${buildDirectory}/label.properties" append="true">
		forceContextQualifier=${forceContextQualifier}
		</echo>
	</target>

	<target name="buildAll">

		<macrodef name="echo-timestamp">
			<sequential>
				<ant target="-timestamp"
				     inheritAll="false"
				     antfile="${helper}" />
			</sequential>
		</macrodef>

		<echo-timestamp />

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/sdk" />
		</ant>

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/runtime" />
		</ant>

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/examples" />
		</ant>

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/tests" />
		</ant>

		<!-- doc must be the last execution -->

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/doc" />
		</ant>

		<!-- TODO: if necessary, you can remove 3rd party jars used at build time from the zips here -->
        <!-- for example, see cdo's buildAll.xml -->

        <echo message="Repack zip w/ exclusion filter" />
        <zip destfile="${buildDirectory}/${buildLabel}/${SDKZip}_temp"
             update="true">
            <zipfileset src="${buildDirectory}/${buildLabel}/${SDKZip}" />
        </zip>

		<echo message="Remove orig. zip and rename new one" />
		<delete file="${buildDirectory}/${buildLabel}/${SDKZip}" />
		<move file="${buildDirectory}/${buildLabel}/${SDKZip}_temp"
		      tofile="${buildDirectory}/${buildLabel}/${SDKZip}" />


		<!-- build Master Zip using "outputUpdateJars=true" in build.properties so we get ONLY jars, not mix of folders & jars -->

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/all" />
		</ant>


		<echo-timestamp />
		<ant target="signMasterZip" antfile="${helper}">
			<property name="mailStatus" value="nomail" />
		</ant>

		<!-- Unpack jars to ALL zip with mix of folders & jars -->

		<ant target="unpackUpdateJarsAndRepack" antfile="${helper}">
			<property name="sourceZip"
			          value="${buildDirectory}/${buildLabel}/${masterZip}" />
			<property name="targetZip"
			          value="${buildDirectory}/${buildLabel}/${allZip}" />
		</ant>


		<echo-timestamp />
		<!-- build SDK -->

		<zip destfile="${buildDirectory}/${buildLabel}/${SDKZip}" update="true">
			<zipfileset src="${buildDirectory}/${buildLabel}/${allZip}"
			            dirmode="775"
			            filemode="664"
			            excludes="**/*.pack.gz, **/pack.properties, **/features/*.jar, **/org.eclipse.*.all*, **/org.eclipse.*.all*/**, **/plugins/*.source_*.jar" />
		</zip>

		<!-- build runtime from SDK -->
		<zip destfile="${buildDirectory}/${buildLabel}/${projectName}-${subprojectName}-runtime${incubation}-${buildAlias}.zip"
		     update="true">
			<zipfileset src="${buildDirectory}/${buildLabel}/${SDKZip}"
			            dirmode="775"
			            filemode="664"
			            excludes="**/org.eclipse.*.examples*, **/org.eclipse.*.examples*/**, **/org.eclipse.*.sdk*, **/org.eclipse.*.sdk*/**, **/org.eclipse.*.all*, **/org.eclipse.*.all*/**, **/org.eclipse.*.doc*, **/org.eclipse.*.doc*/**, **/org.eclipse.*.source*, **/org.eclipse.*.source*/**, **/*src.zip">
				<include name="**/org.eclipse.xtext*" />
				<include name="**/org.eclipse.xtext*/**" />
			</zipfileset>
			<zipfileset src="${buildDirectory}/${buildLabel}/${allZip}"
			            dirmode="775"
			            filemode="664"
			            id="rootfiles"
			            includes="**/eclipse/epl-v10.html, **/eclipse/notice.html" />
		</zip>

		<!-- TODO: build examples from ALL zip or SDK zip? -->
		<zip destfile="${buildDirectory}/${buildLabel}/${projectName}-${subprojectName}-examples${incubation}-${buildAlias}.zip"
		     update="true">
			<zipfileset src="${buildDirectory}/${buildLabel}/${allZip}"
			            dirmode="775"
			            filemode="664">
				<include name="**/org.eclipse.*.example*" />
				<include name="**/org.eclipse.*.example*/**" />
			</zipfileset>
			<zipfileset refid="rootfiles" />
		</zip>

		<!-- remove rootfiles -->
		<ant target="removeRootFilesFromMaster" antfile="${helper}" />

		<!-- pack the master zip -->
		<ant target="packMasterZip" antfile="${helper}" />

		<echo-timestamp />

		<!-- TODO: if you plan to keep your ${allZip} and it's different from your SDK, remove the next line -->
		<delete file="${buildDirectory}/${buildLabel}/${allZip}"
		        failonerror="true"
		        quiet="true" />

		<ant antfile="build.xml" target="main">
			<property name="component" value="builder/tests" />
		</ant>

		<echo-timestamp />
		<ant target="generateDigests" antfile="${helper}" />
	</target>

	<target name="run" depends="init">
		<antcall target="buildAll" />
		<ant target="test" antfile="${helper}" />
		<ant target="publish" antfile="${helper}" />
		<ant target="cleanUp" antfile="${helper}" />
	</target>

	<target name="runTestsOnly" depends="init">
		<delete dir="${buildDirectory}" />
		<mkdir dir="${buildDirectory}/${buildLabel}" />
		<copy todir="${buildDirectory}/${buildLabel}">
			<fileset dir="${buildDirectory}/..">
				<include name="**/*.zip" />
			</fileset>
		</copy>
		<ant target="test" antfile="${helper}" />
		<ant target="publish" antfile="${helper}" />
		<ant target="cleanUp" antfile="${helper}" />
	</target>

	<target name="runWithoutTest" depends="init">
		<antcall target="buildAll" />
		<ant target="publish" antfile="${helper}" />
		<ant target="cleanUp" antfile="${helper}" />
	</target>

	<target name="buildOnly" depends="init">
		<antcall target="buildAll" />
		<ant target="cleanUp" antfile="${helper}" />
	</target>
</project>

Back to the top