From: David M. <morley@AI.SRI.COM> - 2005-10-27 20:25:52
|
Under Mac OS X, jython will not recognize a package name with more than 11 characters. Thus a package named abcdefghijk works, but abcdefghijkl does not (jython 22a1, Mac OS X 10.4.2 and 10.3.9): /tmp% mkdir abcdefghijk /tmp% touch abcdefghijk/__init__.py /tmp% mkdir abcdefghijkl /tmp% touch abcdefghijkl/__init__.py /tmp% jython Jython 2.2a1 on java1.4.2_09 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import abcdefghijk >>> import abcdefghijkl Traceback (innermost last): File "<console>", line 1, in ? ImportError: no module named abcdefghijkl >>> On a related note: I would be keen to try to sort out what is going wrong myself, but it is not obvious how to do so. Ideally I would like some instructions that state: 1. You check out the files from CVS by running "cvs -d ??? co ???" 2. You compile the java files by running ??? 3. You run this version of jython by doing ??? 4. If you are using Eclipse then you can ??? Even before the jython wiki shuffled off its mortal coil, I could not work out much more than step 1. - David |