From: <sp...@is...> - 2001-11-22 16:40:22
|
Hi all, I have eventually managed to add a search path using the=20 "sys.path.append" method, which did not override the default search=20 path. This should IMHO cited in the FAQ. I now run into a *weird* problem: I can import my package=20 "net.sourceforge.spedit.app", this package contains a class which is=20 "Application". Strangely I cannot import=20 "net.sourceforge.spedit.app.Application", nor instanciate it. When I do=20= a "dir(net.sourceforge.spedit.app)", I get "Application" in the list- so=20= obvisouly Jython has access to it. Here is the exact error I get : "AttributeError: java package 'net.sourceforge.spedit.app' has no=20 attribute 'Application'" I'm using jython 2.1a3. Cheers, -- S=E9bastien. |