|
From: <bc...@wo...> - 2001-04-14 07:34:53
|
[me]
>If you don't need this scanning, you can manually tell jython which java
>packages you have:
>
> sys.add_package("my.javapackage.core")
> sys.add_package("my.javapackage.util")
[D-Man]
>I assume this will work after the sys-package-manager says "ignoring
>corrupt jar file"? Before I was getting "No module 'my' found" (using
>your package name above).
Yes. You can also get rid of the "skipping bad jar" warning by setting
the "python.verbose" property to "error" on the command line:
jython -Dpython.verbose=error main.py
or in the registry file.
regards,
finn
|