Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32366 > unrolled thread
| Started by | jmakalanda@gmail.com |
|---|---|
| First post | 2015-08-19 08:21 -0700 |
| Last post | 2015-08-19 19:16 -0400 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | jmakalanda@gmail.com |
|---|---|
| Date | 2015-08-19 08:21 -0700 |
| Subject | Re: help on Unable to create javax script engine for jython |
| Message-ID | <e97c3ca2-de8c-4aac-b742-20002987dcdf@googlegroups.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
[toc] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-08-19 19:16 -0400 |
| Message-ID | <mr32p9$9aq$3@speranza.aioe.org> |
| In reply to | #32366 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web