|
From: Titus B. <ti...@ca...> - 2001-11-28 19:11:00
|
Hi all,
I have an odd situation. Imagine the following setup:
test1.py
test2.py
source/test3.py
where test1.py contains:
-- test1.py
import test2, sys
sys.path.append('source/')
import test3
--
This works fine with 'jython test1.py'. It works fine if I do
'jythonc --all -j out.jar test1.py test2.py source/test3.py', move out.jar
to another directory, put it in the classpath, and type 'import test1' into
jython.
However, it does not work if I do
'jythonc --all -j out.jar test1.py'
It finds the test2 dependency, but not the test3 dependency.
Even odder is that in one of my projects -- the only one for which I can
make a simple distribution -- 'jythonc --all -j out.jar start.py' includes
all of the files upon which start.py is dependent.
I can't figure out what makes some things work and others not; are there any
hints that anyone can give me? (I'd compile jython myself and just put
printlns in, but I can't compile it at the moment.)
tnx,
--titus
|