mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +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
|
||||
#*******************************************************************************
|
||||
# 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
|
||||
# are made available under the terms of the Eclipse Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
|
@ -87,6 +87,14 @@ $timeStamp = "${mydstamp}-${mytstamp}";
|
|||
$buildId = $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 .= "-application org.eclipse.ant.core.antRunner ";
|
||||
$incantation .= "-buildfile ${pdeBuild}/scripts/build.xml ";
|
||||
|
@ -104,6 +112,13 @@ if ($buildType =~ "N") {
|
|||
$incantation .= "-DforceContextQualifier=${buildId} ";
|
||||
$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");
|
||||
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
#!/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
|
||||
# Author: Dave Dykstal, Kushal Munir
|
||||
# Prerequisites:
|
||||
|
@ -56,6 +68,14 @@ mydstamp = Time.now.strftime("%Y%m%d")
|
|||
mytstamp = Time.now.strftime("%H%M")
|
||||
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 += "-application org.eclipse.ant.core.antRunner "
|
||||
command += "-buildfile #{pdeBuild}/scripts/build.xml "
|
||||
|
@ -73,6 +93,12 @@ if ("#{buildType}" == "N") then
|
|||
command += "-DforceContextQualifier=#{buildId} "
|
||||
command += "-DfetchTag=HEAD "
|
||||
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)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/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
|
||||
# are made available under the terms of the Eclipse Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
|
@ -42,6 +42,14 @@ timestamp="${mydstamp}-${mytstamp}"
|
|||
buildId="${buildType}${timestamp}"
|
||||
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="$command -application org.eclipse.ant.core.antRunner "
|
||||
command="$command -buildfile ${pdeBuild}/scripts/build.xml "
|
||||
|
@ -59,6 +67,10 @@ command="$command -DfetchTag=HEAD "
|
|||
command="$command -DskipFetch "
|
||||
command="$command -Dmydstamp=${mydstamp} "
|
||||
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 postBuild "
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/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
|
||||
# are made available under the terms of the Eclipse Public License v1.0
|
||||
# which accompanies this distribution, and is available at
|
||||
|
|
Loading…
Add table
Reference in a new issue