summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/compare-jars.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/compare-jars.sh b/scripts/compare-jars.sh
new file mode 100755
index 0000000..9a54131
--- /dev/null
+++ b/scripts/compare-jars.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+old=$1
+new=$2
+
+for file in `cd $old ; ls *.jar`
+do
+ echo ===== $file =====
+ jar tf $old/$file | sort > $old/$file.old
+ jar tf $new/$file | sort > $old/$file.new
+ diff $old/$file.old $old/$file.new | tee $old/$file.diff
+done