|
From: David C. <dav...@gm...> - 2017-12-14 22:23:53
|
I'm having trouble using Jython 2.7.1 from Ant.
Here is my Ant target:
<target name="hello-jython">
<script language="jython">
print 'Hello, jython!'
</script>
</target>
And when I execute the target:
$ ant hello-jython
Buildfile: /home/me/myproject/build.xml
hello-jython:
BUILD FAILED
/home/me/myproject/build.xml:95: Unable to create javax script engine for
jython
Total time: 0 seconds
I copied jython.jar from my Jython2.7.1 installation into $ANT_HOME/lib,
and I noticed that it created the famous 'cachedir' folder there when I
fired up Ant.
The version of Ant in question:
$ ant -version
Apache Ant(TM) version 1.9.6 compiled on June 29 2015
I will appreciate any tips! Thanks!
David
|