Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32377
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: help on Unable to create javax script engine for jython |
| Date | 2015-08-19 19:16 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mr32p9$9aq$3@speranza.aioe.org> (permalink) |
| References | <e459bf50-e4b4-4f5c-b6f7-48a281086a98@c18g2000prh.googlegroups.com> <e97c3ca2-de8c-4aac-b742-20002987dcdf@googlegroups.com> |
On 8/19/2015 11:21 AM, jmakalanda@gmail.com wrote: > On Friday, 8 May 2009 09:11:51 UTC+1, Liming wrote: >> I use ant, and build and xml file like this: >> <project name="gen" default="gen" basedir="."> >> <target name="gen"> >> <script language="jython"> >> >> I have jython2.2.1.jar, and it always fails at <script >> language="jython"> with this error: Unable to create javax script >> engine for jython. >> >> Anyone can help? > > Check with the class path for ant is set.. it would be something link so: > > SET APACHE_ANT="C:\bea\modules\org.apache.ant_1.6.5\bin\ant.bat" > SET CLASSPATH_FOR_ANT="lib/jsch-0.1.33.jar;lib/bsf.jar;lib/jython-2.2.jar" > set WL_HOME=C:\bea > call "%WL_HOME%\wlserver_10.3\server\bin\setWLSEnv.cmd" > call %APACHE_ANT% -lib %CLASSPATH_FOR_ANT% -f deploy.xml %1 > > note the CLASSPATH_FOR_ANT var in second and da last line You did notice that the question was more than 6 years old? Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: help on Unable to create javax script engine for jython jmakalanda@gmail.com - 2015-08-19 08:21 -0700 Re: help on Unable to create javax script engine for jython Arne Vajhøj <arne@vajhoej.dk> - 2015-08-19 19:16 -0400
csiph-web