From: Robert W. B. <rb...@di...> - 2001-10-26 22:35:11
|
On Fri, 26 Oct 2001 Mat...@i2... wrote: > Ahh, ok, that worked, thanks. > Actually - that also fails if my jar isn't in my classpath when I start > jython, and I use sys.add_extdir() to add the dir containing my jar. > > Matt Yes, the add_* methods (add_classdir, add_extdir, add_package) are a bit tricky because they do not make classes available to Jython, they just give the packageManager some hints to make the packages available. The classloader still must find the class in the classpath -robert > On 10/26/2001 08:19:32 PM jython-users-admin wrote: > > > > Import should work with classes that are not in a package. If class > "foo" > > has no package statement and is in the classpath, then "import foo" > should > > work. > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |