Packaging Jython code in jar
Ivan Golovko <[email protected]> Mon, 4 Sep 2017 13:33:37 +0300
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <CACXRKcii8Nv_AW9-AfF7Pxkf9o=KV3rJpGVvpPaLA0qfLug2nQ@mail.gmail.com> |
Hi all, we use Jython as a scripting engine inside a Java app. Besides our Java classes, we would like to provide people who write scripts with certain code written in Python, e. g. function decorators. We need to package our Jython code in jar to do this. But plaintext.py (as instance) files won’t work. We tried jython-compile-maven-plugin <http://mavenjython.sourceforge.net/compile/index.html>, but it appears to be outdated and not working. Help us find a solution. In details. 1. We have a java application that is built by maven. 2. There are some *.py *filies in the resource directory. 3. A running application can work with external *.py *files. We want external *.py* files to be able to use jython modules from the resource directory. -- С уважением, Иван Головко ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jython-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users