mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
[283482] Provide execution environments for nightly builds (CDC-1.1, J2SE-1.4, J2SE-1.5)
This commit is contained in:
parent
62be99692d
commit
427f38d6a1
4 changed files with 58 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
# Copyright (c) 2006, 2007 IBM Corporation and others.
|
# Copyright (c) 2006, 2009 IBM Corporation and others.
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are made available under the terms of the Eclipse Public License v1.0
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
# which accompanies this distribution, and is available at
|
# which accompanies this distribution, and is available at
|
||||||
|
@ -87,6 +87,14 @@ $timeStamp = "${mydstamp}-${mytstamp}";
|
||||||
$buildId = $buildType . $timeStamp;
|
$buildId = $buildType . $timeStamp;
|
||||||
$buildId = ask("Enter the build id", $buildType . $timeStamp);
|
$buildId = ask("Enter the build id", $buildType . $timeStamp);
|
||||||
|
|
||||||
|
# default value of the bootclasspath attribute used in ant javac calls.
|
||||||
|
# these pathes are valid on build.eclipse.org
|
||||||
|
$bootclasspath = "/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/rt.jar:/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/jsse.jar";
|
||||||
|
$bootclasspath_15 = "/shared/common/jdk-1.5.0_16/jre/lib/rt.jar";
|
||||||
|
#$bootclasspath_16 = "$builderDir/jdk/win32_16/jdk6/jre/lib/rt.jar";
|
||||||
|
#$bootclasspath_foundation = "/shared/common/Java_ME_platform_SDK_3.0_EA/runtimes/cdc-hi/lib/rt.jar";
|
||||||
|
$bootclasspath_foundation11 = "/shared/dsdp/JDKs/win32/j9_cdc11/lib/jclFoundation11/classes.zip";
|
||||||
|
|
||||||
$incantation = "java -cp ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar org.eclipse.core.launcher.Main ";
|
$incantation = "java -cp ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar org.eclipse.core.launcher.Main ";
|
||||||
$incantation .= "-application org.eclipse.ant.core.antRunner ";
|
$incantation .= "-application org.eclipse.ant.core.antRunner ";
|
||||||
$incantation .= "-buildfile ${pdeBuild}/scripts/build.xml ";
|
$incantation .= "-buildfile ${pdeBuild}/scripts/build.xml ";
|
||||||
|
@ -104,6 +112,13 @@ if ($buildType =~ "N") {
|
||||||
$incantation .= "-DforceContextQualifier=${buildId} ";
|
$incantation .= "-DforceContextQualifier=${buildId} ";
|
||||||
$incantation .= "-DfetchTag=HEAD ";
|
$incantation .= "-DfetchTag=HEAD ";
|
||||||
}
|
}
|
||||||
|
$incantation .= "-DdoPublish=true ";
|
||||||
|
$incantation .= "-Dbootclasspath=${bootclasspath} ";
|
||||||
|
$incantation .= "-DJ2SE-1.4=${bootclasspath} ";
|
||||||
|
$incantation .= "-DJ2SE-1.5=${bootclasspath_15} ";
|
||||||
|
$incantation .= "-DCDC-1.1/Foundation-1.1=${bootclasspath_foundation11} ";
|
||||||
|
#$incantation .= "postBuild ";
|
||||||
|
|
||||||
|
|
||||||
print("${incantation}\n");
|
print("${incantation}\n");
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,16 @@
|
||||||
#!/usr/bin/ruby
|
#!/usr/bin/ruby
|
||||||
|
#*******************************************************************************
|
||||||
|
# Copyright (c) 2006, 2009 IBM 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:
|
||||||
|
# David Dykstal (IBM) - initial API and implementation
|
||||||
|
# Martin Oberhuber (Wind River) - ongoing maintenance
|
||||||
|
#*******************************************************************************
|
||||||
|
|
||||||
# Build script for Remote System Explorer
|
# Build script for Remote System Explorer
|
||||||
# Author: Dave Dykstal, Kushal Munir
|
# Author: Dave Dykstal, Kushal Munir
|
||||||
# Prerequisites:
|
# Prerequisites:
|
||||||
|
@ -56,6 +68,14 @@ mydstamp = Time.now.strftime("%Y%m%d")
|
||||||
mytstamp = Time.now.strftime("%H%M")
|
mytstamp = Time.now.strftime("%H%M")
|
||||||
buildId = ask("Enter the build id", buildType + mydstamp + "-" + mydstamp)
|
buildId = ask("Enter the build id", buildType + mydstamp + "-" + mydstamp)
|
||||||
|
|
||||||
|
# default value of the bootclasspath attribute used in ant javac calls.
|
||||||
|
# these pathes are valid on build.eclipse.org
|
||||||
|
bootclasspath = "/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/rt.jar:/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/jsse.jar"
|
||||||
|
bootclasspath_15 = "/shared/common/jdk-1.5.0_16/jre/lib/rt.jar"
|
||||||
|
#bootclasspath_16 = "$builderDir/jdk/win32_16/jdk6/jre/lib/rt.jar"
|
||||||
|
#bootclasspath_foundation = "/shared/common/Java_ME_platform_SDK_3.0_EA/runtimes/cdc-hi/lib/rt.jar"
|
||||||
|
bootclasspath_foundation11 = "/shared/dsdp/JDKs/win32/j9_cdc11/lib/jclFoundation11/classes.zip"
|
||||||
|
|
||||||
command = "java -cp #{basebuilder}/plugins/org.eclipse.equinox.launcher.jar org.eclipse.core.launcher.Main "
|
command = "java -cp #{basebuilder}/plugins/org.eclipse.equinox.launcher.jar org.eclipse.core.launcher.Main "
|
||||||
command += "-application org.eclipse.ant.core.antRunner "
|
command += "-application org.eclipse.ant.core.antRunner "
|
||||||
command += "-buildfile #{pdeBuild}/scripts/build.xml "
|
command += "-buildfile #{pdeBuild}/scripts/build.xml "
|
||||||
|
@ -73,6 +93,12 @@ if ("#{buildType}" == "N") then
|
||||||
command += "-DforceContextQualifier=#{buildId} "
|
command += "-DforceContextQualifier=#{buildId} "
|
||||||
command += "-DfetchTag=HEAD "
|
command += "-DfetchTag=HEAD "
|
||||||
end
|
end
|
||||||
|
command += "-DdoPublish=true "
|
||||||
|
command += "-Dbootclasspath=#{bootclasspath} "
|
||||||
|
command += "-DJ2SE-1.4=#{bootclasspath} "
|
||||||
|
command += "-DJ2SE-1.5=#{bootclasspath_15} "
|
||||||
|
command += "-DCDC-1.1/Foundation-1.1=#{bootclasspath_foundation11} "
|
||||||
|
#command += "postBuild "
|
||||||
|
|
||||||
puts(command)
|
puts(command)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
# Copyright (c) 2006, 2007 Wind River Systems, Inc.
|
# Copyright (c) 2006, 2009 Wind River Systems, Inc.
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are made available under the terms of the Eclipse Public License v1.0
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
# which accompanies this distribution, and is available at
|
# which accompanies this distribution, and is available at
|
||||||
|
@ -42,6 +42,14 @@ timestamp="${mydstamp}-${mytstamp}"
|
||||||
buildId="${buildType}${timestamp}"
|
buildId="${buildType}${timestamp}"
|
||||||
rm -rf "${buildDirectory}"
|
rm -rf "${buildDirectory}"
|
||||||
|
|
||||||
|
# default value of the bootclasspath attribute used in ant javac calls.
|
||||||
|
# these pathes are valid on build.eclipse.org
|
||||||
|
bootclasspath="/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/rt.jar:/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/jsse.jar"
|
||||||
|
bootclasspath_15="/shared/common/jdk-1.5.0_16/jre/lib/rt.jar"
|
||||||
|
#bootclasspath_16="$builderDir/jdk/win32_16/jdk6/jre/lib/rt.jar"
|
||||||
|
#bootclasspath_foundation="/shared/common/Java_ME_platform_SDK_3.0_EA/runtimes/cdc-hi/lib/rt.jar"
|
||||||
|
bootclasspath_foundation11="/shared/dsdp/JDKs/win32/j9_cdc11/lib/jclFoundation11/classes.zip"
|
||||||
|
|
||||||
command="java -cp ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar org.eclipse.core.launcher.Main "
|
command="java -cp ${basebuilder}/plugins/org.eclipse.equinox.launcher.jar org.eclipse.core.launcher.Main "
|
||||||
command="$command -application org.eclipse.ant.core.antRunner "
|
command="$command -application org.eclipse.ant.core.antRunner "
|
||||||
command="$command -buildfile ${pdeBuild}/scripts/build.xml "
|
command="$command -buildfile ${pdeBuild}/scripts/build.xml "
|
||||||
|
@ -59,6 +67,10 @@ command="$command -DfetchTag=HEAD "
|
||||||
command="$command -DskipFetch "
|
command="$command -DskipFetch "
|
||||||
command="$command -Dmydstamp=${mydstamp} "
|
command="$command -Dmydstamp=${mydstamp} "
|
||||||
command="$command -Dmytstamp=${mytstamp} "
|
command="$command -Dmytstamp=${mytstamp} "
|
||||||
|
#command="$command -Dbootclasspath=${bootclasspath} "
|
||||||
|
#command="$command -DJ2SE-1.4=${bootclasspath} "
|
||||||
|
#command="$command -DJ2SE-1.5=${bootclasspath_15} "
|
||||||
|
#command="$command -DCDC-1.1/Foundation-1.1=${bootclasspath_foundation11} "
|
||||||
#command="$command -DJ2SE-1.2=../jres/1.2.2/lib/rt.jar "
|
#command="$command -DJ2SE-1.2=../jres/1.2.2/lib/rt.jar "
|
||||||
#command="$command postBuild "
|
#command="$command postBuild "
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
# Copyright (c) 2006, 2007 Wind River Systems, Inc.
|
# Copyright (c) 2006, 2009 Wind River Systems, Inc.
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are made available under the terms of the Eclipse Public License v1.0
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
# which accompanies this distribution, and is available at
|
# which accompanies this distribution, and is available at
|
||||||
|
@ -59,8 +59,8 @@ if [ "$3" != "" ]; then
|
||||||
fi
|
fi
|
||||||
rm -rf "${buildDirectory}"
|
rm -rf "${buildDirectory}"
|
||||||
|
|
||||||
#default value of the bootclasspath attribute used in ant javac calls.
|
# default value of the bootclasspath attribute used in ant javac calls.
|
||||||
#these pathes are valid on build.eclipse.org
|
# these pathes are valid on build.eclipse.org
|
||||||
bootclasspath="/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/rt.jar:/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/jsse.jar"
|
bootclasspath="/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/rt.jar:/shared/dsdp/JDKs/win32/j2sdk1.4.2_19/jre/lib/jsse.jar"
|
||||||
bootclasspath_15="/shared/common/jdk-1.5.0_16/jre/lib/rt.jar"
|
bootclasspath_15="/shared/common/jdk-1.5.0_16/jre/lib/rt.jar"
|
||||||
#bootclasspath_16="$builderDir/jdk/win32_16/jdk6/jre/lib/rt.jar"
|
#bootclasspath_16="$builderDir/jdk/win32_16/jdk6/jre/lib/rt.jar"
|
||||||
|
|
Loading…
Add table
Reference in a new issue