Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32377
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!nntpspool01.opticnetworks.net!aioe.org!.POSTED!not-for-mail |
|---|---|
| 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 | Wed, 19 Aug 2015 19:16:55 -0400 |
| Organization | Aioe.org NNTP Server |
| Lines | 28 |
| 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> |
| NNTP-Posting-Host | 6sQnVX30ysopbfpJ+C2lEQ.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.lang.java.programmer:32377 |
Show key headers only | View raw
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