← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #706755]: Share the created project

 

Question #706755 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706755

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry, but currently there is no such feature available, that allows to
have a self-contained jar-file, that is executable without having the
SikuliX IDE installed.

In 2.0.5 the features "Export as (runnable) jar" produce a jar file that
contains the script folder contents, which in turn can be run from
command line:

java -jar sikulixide.jar -r myScript.jar

The advantage over the .skl (zip-packed) is, that the scripts are pre-
compiled Java-code and are a bit more safe against inspection/hacking.

The system to run such a jar must have Java 8+ installed and a working
SikuliX IDE 2.0.5

Since the overhead for a self-contained is more than 150MB for some KB
of script stuff, I do not think it makes sense to have such a feature.

But an installer, that takes care for a suitable OpenJDK and a usable
SikuliX, to run script containers, is surely a valuable option. After
summer I will have a deeper look on it.

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