Created
May 22, 2012 16:25
-
-
Save tomzeller/2770083 to your computer and use it in GitHub Desktop.
Finding a file in a java distribution ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks. | |
Another one : | |
find ./ -name '*.jar' -exec sh -c 'unzip -l "{}" | grep xsd | grep spring' \; -print | |
42117 03-23-12 15:02 schema/spring-beans-2.5.xsd | |
7904 03-23-12 15:02 schema/spring-util-2.5.xsd | |
.//lib/custom/psp-2.1.0.jar | |
38851 06-04-10 08:00 org/springframework/beans/factory/xml/spring-beans-2.0.xsd | |
42117 06-04-10 08:00 org/springframework/beans/factory/xml/spring-beans-2.5.xsd | |
2208 06-04-10 08:00 org/springframework/beans/factory/xml/spring-tool-2.0.xsd | |
2835 06-04-10 08:00 org/springframework/beans/factory/xml/spring-tool-2.5.xsd | |
7499 06-04-10 08:00 org/springframework/beans/factory/xml/spring-util-2.0.xsd | |
7904 06-04-10 08:00 org/springframework/beans/factory/xml/spring-util-2.5.xsd | |
.//lib/custom/spring-beans-2.5.6.SEC02.jar | |
17502 06-04-10 08:00 org/springframework/context/config/spring-context-2.5.xsd | |
7535 06-04-10 08:00 org/springframework/ejb/config/spring-jee-2.0.xsd | |
9219 06-04-10 08:00 org/springframework/ejb/config/spring-jee-2.5.xsd | |
5401 06-04-10 08:00 org/springframework/scripting/config/spring-lang-2.0.xsd | |
7593 06-04-10 08:00 org/springframework/scripting/config/spring-lang-2.5.xsd | |
.//lib/custom/spring-context-2.5.6.SEC02.jar | |
grouper.apiBinary-2.1.0 <user>$ for f in `find . -name '*jar'`; do res=` unzip -l $f | grep xsd | grep spring`; [ -n "$res" ] && echo -ne "$f :\n\n$res\n---\n"; done | |
./lib/custom/psp-2.1.0.jar : | |
42117 03-23-12 15:02 schema/spring-beans-2.5.xsd | |
7904 03-23-12 15:02 schema/spring-util-2.5.xsd | |
--- | |
./lib/custom/spring-beans-2.5.6.SEC02.jar : | |
38851 06-04-10 08:00 org/springframework/beans/factory/xml/spring-beans-2.0.xsd | |
42117 06-04-10 08:00 org/springframework/beans/factory/xml/spring-beans-2.5.xsd | |
2208 06-04-10 08:00 org/springframework/beans/factory/xml/spring-tool-2.0.xsd | |
2835 06-04-10 08:00 org/springframework/beans/factory/xml/spring-tool-2.5.xsd | |
7499 06-04-10 08:00 org/springframework/beans/factory/xml/spring-util-2.0.xsd | |
7904 06-04-10 08:00 org/springframework/beans/factory/xml/spring-util-2.5.xsd | |
--- | |
./lib/custom/spring-context-2.5.6.SEC02.jar : | |
17502 06-04-10 08:00 org/springframework/context/config/spring-context-2.5.xsd | |
7535 06-04-10 08:00 org/springframework/ejb/config/spring-jee-2.0.xsd | |
9219 06-04-10 08:00 org/springframework/ejb/config/spring-jee-2.5.xsd | |
5401 06-04-10 08:00 org/springframework/scripting/config/spring-lang-2.0.xsd | |
7593 06-04-10 08:00 org/springframework/scripting/config/spring-lang-2.5.xsd | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks. | |
grouper.apiBinary-2.1.0 <user>$ for f in `find . -name '*jar'`; do res=` unzip -l $f | grep xsd | grep spring`; [ -n "$res" ] && echo -ne "$f :\n\n$res\n---\n"; done | |
./lib/custom/psp-2.1.0.jar : | |
42117 03-23-12 15:02 schema/spring-beans-2.5.xsd | |
7904 03-23-12 15:02 schema/spring-util-2.5.xsd | |
--- | |
./lib/custom/spring-beans-2.5.6.SEC02.jar : | |
38851 06-04-10 08:00 org/springframework/beans/factory/xml/spring-beans-2.0.xsd | |
42117 06-04-10 08:00 org/springframework/beans/factory/xml/spring-beans-2.5.xsd | |
2208 06-04-10 08:00 org/springframework/beans/factory/xml/spring-tool-2.0.xsd | |
2835 06-04-10 08:00 org/springframework/beans/factory/xml/spring-tool-2.5.xsd | |
7499 06-04-10 08:00 org/springframework/beans/factory/xml/spring-util-2.0.xsd | |
7904 06-04-10 08:00 org/springframework/beans/factory/xml/spring-util-2.5.xsd | |
--- | |
./lib/custom/spring-context-2.5.6.SEC02.jar : | |
17502 06-04-10 08:00 org/springframework/context/config/spring-context-2.5.xsd | |
7535 06-04-10 08:00 org/springframework/ejb/config/spring-jee-2.0.xsd | |
9219 06-04-10 08:00 org/springframework/ejb/config/spring-jee-2.5.xsd | |
5401 06-04-10 08:00 org/springframework/scripting/config/spring-lang-2.0.xsd | |
7593 06-04-10 08:00 org/springframework/scripting/config/spring-lang-2.5.xsd | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment