Hi there all, I would like to emded my jython scripts in a jar file, I have written a java based jython script runner which runes the jython scripts no problem, however I would like to embed the scripts in a jar file and run my script runner which should find the jython scripts emdedded in the jar them run them but it does not seem to work any tips or any exaples of such a setup would be great.
cheers Mic
I am glad to announce that I managed to achieve this, the main catch is making the resoureces available to Java.
two important and trivial things to note
1. insert your jar containing the jython scripts in your application class path
2. when you creat the jar file be sure to insert the jython scripts in the same package name as the java script runner path.
thats it and you have managedto marry jython to java and maintain encapsulation with your scripts : )
cheers
Ey, I am just so curious. What's jython script anywway?