[fedora-java] aot-compile-rpm
Andrew Overholt
overholt at redhat.com
Wed Jul 13 18:48:53 UTC 2005
* Gary Benson <gbenson at redhat.com> [2005-07-13 09:28]:
> > Okay, but what about the .db? Right now we have multiple dbs - one
> > for each sub-package. Can we have this as well?
>
> aot-compile-rpm will make a separate database for each jarfile.
Cool. I went through and added aot-compile-rpm to the end of %install but
it fails with:
+ aot-compile-rpm
Traceback (most recent call last):
File "/usr/bin/aot-compile-rpm", line 203, in ?
aot_compile_rpm(
File "/usr/bin/aot-compile-rpm", line 25, in aot_compile_rpm
for jar in weed_jars(strip_exclusions(find_jars(basedir), exclusions)):
File "/usr/bin/aot-compile-rpm", line 48, in find_jars
os.path.walk(dir, visit, jars)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 298, in walk
walk(name, func, arg)
File "/usr/lib/python2.4/posixpath.py", line 290, in walk
func(arg, top, names)
File "/usr/bin/aot-compile-rpm", line 45, in visit
assert not jars.has_key(item)
AssertionError
error: Bad exit status from /var/tmp/rpm-tmp.84677 (%install)
Any ideas? My python-fu is _very_ weak (and by that I mean it's
non-existent).
Andrew
More information about the fedora-devel-java-list
mailing list