SVN: java-tools/list-sysjars.sh
pawelz
pawelz at pld-linux.org
Mon Mar 30 10:14:09 CEST 2009
Author: pawelz
Date: Mon Mar 30 10:14:09 2009
New Revision: 10271
Modified:
java-tools/list-sysjars.sh
Log:
- search in JDK and JRE standard directories
Modified: java-tools/list-sysjars.sh
==============================================================================
--- java-tools/list-sysjars.sh (original)
+++ java-tools/list-sysjars.sh Mon Mar 30 10:14:09 2009
@@ -16,3 +16,19 @@
[ -f $I ] && jar tf $I | grep '\.class$' | tr '/' '.' | grep -v '\$' | awk '{gsub ("\.class$", ""); printf("%s %s\n", "'$I'", $0)}';
[ -d $I ] && for J in $I/*; do [ -f $J ] && jar tf $J | grep '\.class$' | tr '/' '.' | grep -v '\$' | awk '{gsub ("\.class$", ""); printf("%s %s\n", "'$J'", $0)}'; done
done
+
+for I in $JAVA_HOME/*; do
+ [ -f $I ] && jar tf $I | grep '\.class$' | tr '/' '.' | grep -v '\$' | awk '{gsub ("\.class$", ""); printf("%s %s\n", "'$I'", $0)}';
+done
+
+for I in $JAVA_HOME/jre/*; do
+ [ -f $I ] && jar tf $I | grep '\.class$' | tr '/' '.' | grep -v '\$' | awk '{gsub ("\.class$", ""); printf("%s %s\n", "'$I'", $0)}';
+done
+
+for I in $JAVA_HOME/jre/lib/*; do
+ [ -f $I ] && jar tf $I | grep '\.class$' | tr '/' '.' | grep -v '\$' | awk '{gsub ("\.class$", ""); printf("%s %s\n", "'$I'", $0)}';
+done
+
+for I in $JAVA_HOME/lib/*; do
+ [ -f $I ] && jar tf $I | grep '\.class$' | tr '/' '.' | grep -v '\$' | awk '{gsub ("\.class$", ""); printf("%s %s\n", "'$I'", $0)}';
+done
More information about the pld-cvs-commit
mailing list