Baroudi Malek | 21 Jul 12:20

Jython help ?

Hello Jython Dev list,

I'm newbie in jython and I would to know if I can I use some python GIS library in my java project with Jython ?

My problem is how to use some ".py" file in my java application,I tried jythonc --core --deep --jar appletdemo.jar *.py
in console but I have this error :

./jpywork/socket.java:737: as of release 1.4, 'assert' is a keyword, and may not be used as an identifier
(use -source 1.3 or lower to use 'assert' as an identifier)
            if (frame.getglobal("__debug__").__nonzero__()) Py.assert(frame.getlocal(0).__getattr__("sock"));
                                                               ^

my python library is here : http://svn.featureserver.org/trunk/vectorformats/vectorformats/Formats/KML.py
                                       http://svn.featureserver.org/trunk/vectorformats/vectorformats/Formats/OSM.py
                                       http://svn.featureserver.org/trunk/vectorformats/vectorformats/Formats/WFS.py
                                       http://svn.featureserver.org/trunk/vectorformats/vectorformats/Feature.py


Thank you in advance.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jython-dev mailing list
Jython-dev <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-dev

Gmane