diff options
author | wisberg <wisberg> | 2002-12-16 17:58:19 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2002-12-16 17:58:19 +0000 |
commit | d842c4f1139629c1f062b74ba818d233b2c31043 (patch) | |
tree | 842d3871620bc0eb60edcd95e55804d67e0f61fa /lib | |
parent | 3ce247199704eae6b2c92c6e38c69584e3250c52 (diff) | |
download | aspectj-d842c4f1139629c1f062b74ba818d233b2c31043.tar.gz aspectj-d842c4f1139629c1f062b74ba818d233b2c31043.zip |
initial version
Diffstat (limited to 'lib')
-rw-r--r-- | lib/build/build.jar | bin | 0 -> 83686 bytes | |||
-rw-r--r-- | lib/build/makeEclipseJars.sh | 87 | ||||
-rw-r--r-- | lib/test/aspectjrt.jar | bin | 0 -> 29540 bytes | |||
-rw-r--r-- | lib/test/testing-client.jar | bin | 0 -> 6777 bytes |
4 files changed, 87 insertions, 0 deletions
diff --git a/lib/build/build.jar b/lib/build/build.jar Binary files differnew file mode 100644 index 000000000..a7319c48a --- /dev/null +++ b/lib/build/build.jar diff --git a/lib/build/makeEclipseJars.sh b/lib/build/makeEclipseJars.sh new file mode 100644 index 000000000..4e4bff490 --- /dev/null +++ b/lib/build/makeEclipseJars.sh @@ -0,0 +1,87 @@ +#!/bin/sh
+
+[ -n "$DEBUG" ] && set -vx
+genAntScript=${genAntScript} # anything to create Ant script instead
+eclipseDir=`cd $HOME/../apps/eclipse && pwd`
+[ -d "$eclipseDir" ] || exit 3
+scriptDir=`dirname "$0`
+scriptDir=`cd "$scriptDir"; pwd`
+cd "$scriptDir/../.." # in lib/build
+
+listAllPlugins() {
+ cd "$eclipseDir/plugins"
+ ls -d *
+}
+
+# try first without ant
+jdtPlugins() {
+ cat<<EOF
+org.apache.ant_1.4.1
+org.apache.xerces_4.0.3
+org.eclipse.core.boot_2.0.0
+org.eclipse.core.resources_2.0.0
+org.eclipse.core.runtime_2.0.0
+EOF
+}
+
+#return paths from eclipse plugin dir to jdt jars
+jdtPluginJars() {
+ curDir=`pwd`
+ for i in `jdtPlugins` ; do
+ cd "$eclipseDir/plugins/$i"
+ for j in *.jar; do
+ echo "$i/$j"
+ done
+ cd "$curDir"
+ done
+}
+
+verifyingCreatedAndActual() {
+cat<<EOF
+ rm made
+ \$JDKDIR/bin/jar tf jdtDepends.jar \
+ | sed '/META-INF/d' \
+ | sort > made
+ rm have
+ \$JDKDIR/bin/jar tf \
+ c:/home/wes/aj/aspectj/modules/lib/eclipse2.0/jdtDepends.jar \
+ | sed '/META-INF/d' \
+ | sort > have
+ diff made have
+1720d1719
+< org/w3c/dom/html/HTMLDOMImplementation.class
+EOF
+}
+
+cd "$eclipseDir/plugins"
+if [ -n "$genAntScript" ] ; then
+ cat<<EOF
+ <!--
+ <property name="eclipseDir"
+ location="\${eclipseDir}"/>
+ -->
+ <target name="jdtDepends.jar" if="\${eclipseDir}" >
+ <jar destfile="jdtDepends.jar" >
+ <zipgroupfileset dir="\${eclipseDir}/plugins">
+EOF
+ for k in `jdtPluginJars` ; do
+ cat <<EOF
+ <include name="$k" />
+EOF
+ done
+ cat <<EOF
+ </zipgroupfileset>
+ </jar>
+ </target>
+EOF
+else
+ mkdir tempzzz; cd tempzzz ; rm -rf *;
+ for k in `jdtPluginJars` ; do
+ "$JDKDIR"/bin/jar xf ../$k
+ done
+ "$JDKDIR"/bin/jar cfM ../jdtDepends.jar .
+ cd ..
+ mv jdtDepends.jar "$scriptDir"
+
+ ls -ald "$scriptDir/jdtDepends.jar"
+fi
diff --git a/lib/test/aspectjrt.jar b/lib/test/aspectjrt.jar Binary files differnew file mode 100644 index 000000000..d2a1db526 --- /dev/null +++ b/lib/test/aspectjrt.jar diff --git a/lib/test/testing-client.jar b/lib/test/testing-client.jar Binary files differnew file mode 100644 index 000000000..e7b8b9ad8 --- /dev/null +++ b/lib/test/testing-client.jar |