From: Richard G. <rg...@in...> - 2001-03-08 20:35:14
|
Hi all, This is a Jython beginner's question. I'm using Jython 2.0 on Windows NT 4.0, mainly for testing a Java framework of our own. This framework is in a package com.intraware.b2b.ifwk, which is in the CLASSPATH envt variable. In interactive mode: >>>import com.intraware.b2b.ifwk.client will work, whereas if the same statement is in a script "M:\ifwk\scripts\testClient.py", launched by: jpython.bat M:\ifwk\scripts\testClient.py The script will launch but give an error: Traceback (innermost last): File "M:\ifwk\scripts\testClient.py", line 12, in ? ImportError: No module named intraware So it looks like the CLASSPATH is different in the 2 cases. But I don't know why. Any suggestion would be greatly appreciated. Richard |