cdt/cdt_6_0_x/org.eclipse.cdt.releng/build.sh
changeset 37 c2bce6dd59e7
equal deleted inserted replaced
35:a36bd1ef0b40 37:c2bce6dd59e7
       
     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 # make sure the umask doesn't allow for group execute permissions\
       
    25 # TODO not sure we really need this any more
       
    26 umask 0022
       
    27 
       
    28 # Checkout basebuilder to run the build
       
    29 mkdir -p tools
       
    30 cd tools
       
    31 cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse \
       
    32 	checkout -r R35_RC4 org.eclipse.releng.basebuilder
       
    33 cd ..
       
    34 
       
    35 # Let's go!
       
    36 java $CDT_BUILD_VMARGS -jar tools/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar \
       
    37 	-ws gtk -arch ppc -os linux -application org.eclipse.ant.core.antRunner $*
       
    38 
       
    39 # Copy the build.log to where the latest build is
       
    40 cp /opt/public/download-staging.priv/tools/cdt/releng/build.log /home/www/tools/cdt/builds/6.0.0/latest