1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00
cdt/releng/org.eclipse.cdt.releng/build.sh

37 lines
1.5 KiB
Bash
Raw Normal View History

2006-06-14 12:16:17 +00:00
#*******************************************************************************
# Copyright (c) 2005, 2011 IBM Corporation and others.
2006-06-14 12:16:17 +00:00
# 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:
# IBM Corporation - initial API and implementation
#*******************************************************************************
# The CDT build script, set up the environment to run the build.xml ant script
# We are running on build.eclipse.org
# export display for running the tests
export DISPLAY=:1
# set up to use the Java 5 JRE
export PATH=/opt/public/common/jdk-1.5.0_16/bin:/usr/local/bin:$PATH
#export PATH=/opt/public/common/ibm-java2-ppc-50/bin/java:/usr/local/bin:$PATH
# make sure we're in the releng project dir
2004-03-04 20:26:04 +00:00
cd `dirname $0`
2008-04-21 17:31:23 +00:00
# Checkout basebuilder to run the build
2005-04-08 18:23:12 +00:00
mkdir -p tools
cd tools
cvs -d /cvsroot/eclipse co -r r36x_v20101125 org.eclipse.releng.basebuilder
2011-04-21 16:33:00 +00:00
cp /home/data/httpd/download.eclipse.org/technology/subversive/0.7/pde-update-site/plugins/org.eclipse.team.svn.pde.build_*.jar \
2010-01-21 03:31:56 +00:00
org.eclipse.releng.basebuilder/plugins
2005-04-08 18:23:12 +00:00
cd ..
2007-12-17 02:59:35 +00:00
# Let's go!
java $CDT_BUILD_VMARGS -jar tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar \
-Djvm1.5=/opt/public/common/jdk-1.5.0_16/bin/java \
2010-10-08 14:22:29 +00:00
-ws gtk -arch x86 -os linux -application org.eclipse.ant.core.antRunner $*