Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32366
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2015-08-19 08:21 -0700 |
| References | <e459bf50-e4b4-4f5c-b6f7-48a281086a98@c18g2000prh.googlegroups.com> |
| Message-ID | <e97c3ca2-de8c-4aac-b742-20002987dcdf@googlegroups.com> (permalink) |
| Subject | Re: help on Unable to create javax script engine for jython |
| From | jmakalanda@gmail.com |
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? > > THanks 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
Back to comp.lang.java.programmer | Previous | Next — Next 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