david_williams | 8a62f0d | 2006-06-28 05:07:27 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | # script to run update, setting properties, for an individual project |
| 4 | |
david_williams | 47f6122 | 2007-02-10 18:50:15 +0000 | [diff] [blame] | 5 | #updateSite=$HOME/downloads/webtools/testUpdates |
| 6 | updateSite=$HOME/downloads/webtools/declaredUpdates |
david_williams | 8a62f0d | 2006-06-28 05:07:27 +0000 | [diff] [blame] | 7 | |
david_williams | 256d476 | 2007-02-11 03:23:19 +0000 | [diff] [blame] | 8 | echo "update site: $updateSite" |
| 9 | |
| 10 | eclipseLocation=$HOME/eclipse-ppc-33M5 |
david_williams | 8a62f0d | 2006-06-28 05:07:27 +0000 | [diff] [blame] | 11 | |
| 12 | |
| 13 | project="$1" |
| 14 | if [ "$project" != "" ] |
| 15 | then |
| 16 | |
| 17 | ant -f features-$project.xml -DeclipseLocation=$eclipseLocation -DlocalUpdateSitePath=$updateSite -Dosgi.arch=ppc -Dosgi.clean -Dosgi.debug=true -Declipse.consoleLog=true -DcontinueOnError=true |
| 18 | |
| 19 | |
| 20 | else |
| 21 | echo " Usage: $0 <project> (where project is wtp, jsf, or jpa)" |
| 22 | |
| 23 | fi |