Dear Gareth,

the __run__.py is not including in the jar file. it is located next to the jar file.
and this the batch file, which starts the application:
@echo off

setlocal

set DIR_JAVA=C:\Program Files\Java\jdk1.5.0_12\

set ARGS=
:loop
if [%1] == [] goto rundemo
        set ARGS=%ARGS% %1
        shift
        goto loop

:rundemo
"%DIR_JAVA%bin\java.exe" -Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M -jar SchedulerIF_sp5.jar __run__.py %ARGS%

endlocal

Ivan

On Fri, May 2, 2008 at 4:56 PM, DOUTCH GARETH-GDO003 <Gareth.Doutch@motorola.com> wrote:
Hi all,
 
When creating an application using the standalone jar method, I have seen instructions stating to place the startup script __run__.py at the root of the jar.
However, whenever I am call
 
java -jar jython.jar
 
it is starting up to the command interface in the normal way, not running my __run__.py script. What am I missing?
 
Many thanks,
 
Gareth

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users




--
"De sagittis hungarorum libera nos, Domine!" - "A magyarok nyilaitól ments meg Uram minket!"

http://www.freeweb.hu/pillesoft