cdt/cdt_5_0_x/org.eclipse.cdt.releng/build.sh
changeset 0 0e6d23e2b466
equal deleted inserted replaced
-1:000000000000 0:0e6d23e2b466
       
     1 #*******************************************************************************
       
     2 # Copyright (c) 2005, 2008 IBM Corporation and others.
       
     3 # All rights reserved. This program and the accompanying materials
       
     4 # are made available under the terms of the Eclipse Public License v1.0
       
     5 # which accompanies this distribution, and is available at
       
     6 # http://www.eclipse.org/legal/epl-v10.html
       
     7 #
       
     8 # Contributors:
       
     9 #     IBM Corporation - initial API and implementation
       
    10 #*******************************************************************************
       
    11 
       
    12 # The CDT build script, set up the environment to run the build.xml ant script
       
    13 # We are running on build.eclipse.org
       
    14 
       
    15 # export display for running the tests
       
    16 export DISPLAY=:1
       
    17 
       
    18 # set up to use the Java 5 JRE
       
    19 export PATH=/opt/public/common/ibm-java2-ppc-50/bin:$PATH
       
    20 
       
    21 # make sure we're in the releng project dir 
       
    22 cd `dirname $0`
       
    23 
       
    24 # (TODO why is this here?)
       
    25 umask 0022
       
    26 
       
    27 # Checkout basebuilder to run the build
       
    28 mkdir -p tools
       
    29 cd tools
       
    30 cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse \
       
    31 	checkout -r RC2_34 org.eclipse.releng.basebuilder
       
    32 cd ..
       
    33 
       
    34 # Let's go!
       
    35 java -jar tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar \
       
    36 	-ws gtk -arch ppc -os linux -application org.eclipse.ant.core.antRunner $*