469,352 Members | 1,694 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

jython: PythonInterpreter runs script, wrong classpath

HK
Hi,

I am using ant to run junit to run a java class that uses
a PythonInterpreter to execute a script. The script
complains about a "ImportError: cannot import name ..."
despite the fact that junit, on behalf of ant -v
pretends to be using exactly the right classpath.

Obviously the classpath does not make it into the
PythonInterpreter.

Question: Is there a sys variable which tells me
where the PythonInterpreter searches for (or lets
the JVM search for) classes?

Thanks,
Harald.

Aug 4 '05 #1
0 995

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by ProgDario | last post: by
4 posts views Thread by Michael Chermside | last post: by
reply views Thread by Ike | last post: by
1 post views Thread by Nandan | last post: by
2 posts views Thread by pythonUser_07 | last post: by
7 posts views Thread by Jan Gregor | last post: by
1 post views Thread by techwiz18 | last post: by
1 post views Thread by nmin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.