kfukuda | fdf28f4 | 2009-05-20 00:58:13 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | #==================================================================================== |
| 3 | # Copyright (c) 2008 The Eclipse Foundation and others. |
| 4 | # All rights reserved. This program and the accompanying materials |
| 5 | # are made available under the terms of the Eclipse Public License v1.0 |
| 6 | # which accompanies this distribution, and is available at |
| 7 | # http://www.eclipse.org/legal/epl-v10.html |
| 8 | #==================================================================================== |
| 9 | |
| 10 | if [ -f /opt/ibm/java2-ppc-50/bin/java ]; then |
| 11 | # We're running on the build server. Configure the environment for there. |
| 12 | buildRoot=${HOME}/build/root |
| 13 | else |
| 14 | # running on Desktop. |
| 15 | buildRoot=${HOME}/eclipse.actf.build |
| 16 | fi |
| 17 | |
| 18 | buildDirectory=${buildRoot}/workspace |
| 19 | |
| 20 | rm -f ${buildDirectory}/*.* |
| 21 | rm -rf ${buildDirectory}/plugins |
| 22 | rm -rf ${buildDirectory}/features |
| 23 | rm -rf ${buildDirectory}/repository/* |