|
Lines 1-13
Link Here
|
| 1 |
#!/bin/bash -x |
1 |
#!/bin/bash -x |
| 2 |
|
2 |
|
| 3 |
if [ $# -ne 3 ]; then |
3 |
if [ $# -ne 4 ]; then |
| 4 |
echo "usage: run-javadoc.sh <workspace dir> <release version> <previous version>" |
4 |
echo "usage: run-javadoc.sh <workspace dir> <release version> <previous version> <CVS branch>" |
| 5 |
exit 2 |
5 |
exit 2 |
| 6 |
fi |
6 |
fi |
| 7 |
|
7 |
|
| 8 |
wsdir=$1 |
8 |
wsdir=$1 |
| 9 |
version=$2 |
9 |
version=$2 |
| 10 |
previousVersion=$3 |
10 |
previousVersion=$3 |
|
|
11 |
cvsbrn=$4 |
| 12 |
|
| 11 |
#JAVA_5_HOME=/opt/ibm/jdk1.5.0_06 |
13 |
#JAVA_5_HOME=/opt/ibm/jdk1.5.0_06 |
| 12 |
JAVA_5_HOME=/opt/ibm/ibm-java2-i386-50 |
14 |
JAVA_5_HOME=/opt/ibm/ibm-java2-i386-50 |
| 13 |
JAVADOC_FLAGS=-J-Xmx500m |
15 |
JAVADOC_FLAGS=-J-Xmx500m |
|
Lines 123-125
Link Here
|
| 123 |
tar zxf jdiff.tgz |
125 |
tar zxf jdiff.tgz |
| 124 |
rm -f jdiff.tgz |
126 |
rm -f jdiff.tgz |
| 125 |
ssh download-eclipse "cd /home/data/httpd/archive.eclipse.org/tptp/$version/jdiff; rm -fr Platform Monitoring_Tools Testing_Tools Tracing_and_Profiling_Tools; tar zxf jdiff.tgz; rm -f jdiff.tgz" |
127 |
ssh download-eclipse "cd /home/data/httpd/archive.eclipse.org/tptp/$version/jdiff; rm -fr Platform Monitoring_Tools Testing_Tools Tracing_and_Profiling_Tools; tar zxf jdiff.tgz; rm -f jdiff.tgz" |
|
|
128 |
|
| 129 |
# Create javadoc plugins and upload them to the webserver |
| 130 |
cd $ws |
| 131 |
cvs -d tptp:/cvsroot/tptp ex -r $cvsbrn -d eclipse/plugins/org.eclipse.tptp.platform.api.doc.isv platform/org.eclipse.tptp.platform.api.doc.isv |
| 132 |
cp -r Platform eclipse/plugins/org.eclipse.tptp.platform.api.doc.isv/javadoc/ |
| 133 |
rm eclipse/plugins/org.eclipse.tptp.platform.api.doc.isv/build.properties |
| 134 |
zip -ry platform-api-TPTP-$version.zip eclipse |
| 135 |
rm -rf eclipse |
| 136 |
|
| 137 |
cvs -d tptp:/cvsroot/tptp ex -r $cvsbrn -d eclipse/plugins/org.eclipse.tptp.monitoring.api.doc.isv monitoring/org.eclipse.tptp.monitoring.api.doc.isv |
| 138 |
cp -r Monitoring_Tools eclipse/plugins/org.eclipse.tptp.monitoring.api.doc.isv/javadoc/ |
| 139 |
rm eclipse/plugins/org.eclipse.tptp.monitoring.api.doc.isv/build.properties |
| 140 |
zip -ry monitoring-api-TPTP-$version.zip eclipse |
| 141 |
rm -rf eclipse |
| 142 |
|
| 143 |
cvs -d tptp:/cvsroot/tptp ex -r $cvsbrn -d eclipse/plugins/org.eclipse.tptp.test.api.doc.isv test/org.eclipse.tptp.test.api.doc.isv |
| 144 |
cp -r Testing_Tools eclipse/plugins/org.eclipse.tptp.test.api.doc.isv/javadoc/ |
| 145 |
rm eclipse/plugins/org.eclipse.tptp.test.api.doc.isv/build.properties |
| 146 |
zip -ry test-api-TPTP-$version.zip eclipse |
| 147 |
rm -rf eclipse |
| 148 |
|
| 149 |
cvs -d tptp:/cvsroot/tptp ex -r $cvsbrn -d eclipse/plugins/org.eclipse.tptp.trace.api.doc.isv trace/org.eclipse.tptp.trace.api.doc.isv |
| 150 |
cp -r Tracing_and_Profiling_Tools eclipse/plugins/org.eclipse.tptp.trace.api.doc.isv/javadoc/ |
| 151 |
rm eclipse/plugins/org.eclipse.tptp.trace.api.doc.isv/build.properties |
| 152 |
zip -ry trace-api-TPTP-$version.zip eclipse |
| 153 |
rm -rf eclipse |
| 154 |
|
| 155 |
scp platform-api-TPTP-$version.zip monitoring-api-TPTP-$version.zip test-api-TPTP-$version.zip trace-api-TPTP-$version.zip download-eclipse:/home/data/httpd/archive.eclipse.org/tptp/$version/javadoc |