Skip to search.
judoscript

Group Information

  • Members: 79
  • Category: Java
  • Founded: Nov 24, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Using Judoscript+Jcom from Scriptable Thinlet   Message List  
Reply Message #711 of 2774 |
Re: Using Judoscript+Jcom from Scriptable Thinlet


Michael,

Original Thinlet (thinlet.sourceforge.net) works with Java only.

What I use is a layer over Thinlet called Scriptable Thinlet
(perso.club-internet.fr/sjobic/thinlet/) which includes Thinlet
itself and BSF (http://jakarta.apache.org/bsf) to use various script
languages instead of Java.

To add Judoscript support to Scriptable Thinlet, you only have to put
judo.jar, jcom.jar and jcom.dll in
[yourpath]/xthinlet/scriptablethinlet/lib and, if you are under
Windoze for instance, use a batch file like this from
[yourpath]/xthinlet/scriptablethinlet/demo:

if "%OS%"=="Windows_NT" @setlocal

REM overload my JDK1.4 JAVA_HOME to test with JDK1.1
REM set JAVA_HOME=c:\java\jdk1.1.8
REM set LOCALCLASSPATH=%JAVA_HOME%\lib\classes.zip

set HOME=%~dp0..

set LOCALCLASSPATH=%LOCALCLASSPATH%;%HOME%\classes
set LOCALCLASSPATH=%LOCALCLASSPATH%;%HOME%\..\thinlet\lib\thinlet.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%HOME%\lib\bsf-2.3.0rc1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%HOME%\lib\judo.jar

set PATH=%PATH%;%HOME%\lib

echo Use classpath: %LOCALCLASSPATH%
echo Use JAVA_HOME: %JAVA_HOME%
%JAVA_HOME%/bin/java -classpath %LOCALCLASSPATH%
thinlet.script.ScriptableThinlet -language judoscript -file %HOME%
\src\demo\script\calculatorJudo.xml

REM End of script

It's your turn now !

Olivier.

--- In judoscript@yahoogroups.com, "wexler" <mwexler.338002@b...>
wrote:
>
> I'm curious about thinlet and judoscript. The site looks very
> intersting. Would you be willing to post about your experiences
with
> using thinlet with Judoscript? For example, how hard it was to
> configure (we've seen some of this), what a complete sample program
> looks like (looks like multiple xml files, one per panel or
screen?),
> and how you package and execute it?
>
> I know, that's a lot to ask, so really any off the cuff notes for
> documentation purposes would be helpful.
>
> http://thinlet.sourceforge.net/overview.html gives samples, but they
> are all java focused; perhaps things work differently in Judoscript?
>
> Thanks for any hints,
>
> Michael
>
> --- In judoscript@yahoogroups.com, "o_collioud" <o_collioud@y...>
wrote:
> >
> >
> > This time, adding to PATH the path of the directory which
contains
> > jcom.dll did the trick.
> >
> > It's time for me to code my app now...
> >
> > @+
> >
> > Olivier.
> >






Wed Oct 13, 2004 1:28 pm

o_collioud
Offline Offline
Send Email Send Email

Message #711 of 2774 |
Expand Messages Author Sort by Date

Hi, now that I have succeeded in using Judoscript+Jcom to access my ActiveX object and also in extending Thinlet (http://perso.club- ...
o_collioud Offline Send Email Oct 13, 2004
5:48 am

This time, adding to PATH the path of the directory which contains jcom.dll did the trick. It's time for me to code my app now... @+ Olivier....
o_collioud Offline Send Email Oct 13, 2004
8:10 am

I'm curious about thinlet and judoscript. The site looks very intersting. Would you be willing to post about your experiences with using thinlet with...
wexler Offline Send Email Oct 13, 2004
12:43 pm

Michael, Original Thinlet (thinlet.sourceforge.net) works with Java only. What I use is a layer over Thinlet called Scriptable Thinlet ...
o_collioud Offline Send Email Oct 13, 2004
1:29 pm

Ooops! add the following line to the script too: set LOCALCLASSPATH=%LOCALCLASSPATH%;%HOME%\lib\jcom.jar ... if jcom.jar is not included in judo.jar (which is...
o_collioud Offline Send Email Oct 13, 2004
1:43 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help