← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #660613]: Convert my Sikuli python script in a java (obfuscated) standalone package

 

Question #660613 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660613

RaiMan proposed the following answer:
ok, it is a bit of a challenge ;-)

... but I have decided to make it !!!

I guess later tomorrow there will be a compact solution, that allows, to create a jar, that runs a compiled (hence obfuscated) script with just saying:
java -jar myscript.jar

everything needed to run the script is contained in the jar.

--- planned extras:
- stuff needed to be imported can be integrated (including other jar files)
- images will be integrated and loaded from the jar at runtime

To create the script jar, you will have to say something like this:
java -jar sikulixsetup... scriptjar folder-containing-script optional:folder-containing-images optional:other-stuff  

Hope you can wait ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.