[jboss-user] [JBoss Seam] - Re: jboss-ejb3-all.jar StatelessRemoteProxy serialVersionUID
nynymike
do-not-reply at jboss.com
Fri Aug 24 22:43:48 EDT 2007
ok... figured this one out.
The jars that I needed were all in jboss-4.0.5.GA\client:
| * jbossall-client.jar
| * ejb3-persistence.jar
| * jbossall-client.jar
| * jboss-annotations-ejb3.jar
| * jboss-aspect-jdk50-client.jar
| * jboss-ejb3-client.jar
| * jboss-ejb3x.jar
|
|
| I also wrote a handy dandy python program to recursively search for classes in jar files. Make sure "jar" is in your path. Add #!... for unix.
|
| | import os, sys
| | from os.path import join
| |
| | dir = ""
| | target = ""
| |
| | try:
| | target = sys.argv[1]
| | dir = sys.argv[2]
| | except:
| | target = raw_input("What is the target string: ")
| | dir = raw_input("What is the root directory: ")
| |
| |
| | l = os.walk(dir)
| |
| | for tup in l:
| | dirName = tup[0]
| | for fn in tup[2]:
| | if fn[-3:] == "jar":
| | fullPath = join(dirName, fn)
| | f = os.popen("jar -tvf %s" % fullPath, "r")
| | text = f.read()
| | if text.find(target) > 1:
| | print "FOUND IT: %s\n" % fn
| | f = os.popen("jar -tvf %s" % fullPath, "r")
| | lines = f.readlines()
| | for line in lines:
| | if line.find(target) > 1: print line
| |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077979#4077979
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077979
More information about the jboss-user
mailing list