← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255047]: Packaging script for use on systems without sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I strongly recommend, to use the version 1.1.0 from beginning (start:
http://sikulix.com)

The following description is for 1.1.0:

supposing you are using Python as scripting language, then on a system
that should run the script, you only need the sikulix.jar either
prepared for one system (Mac in your case, setup option 1) or for all
systems (setup option 1 and 5).

Mandatory: The system, where the script should be run must have a valid
Java 6+ installation.

Make a folder containing your script, sikulix.jar

and a command file containing
java -jar sikulix.jar -r yourscript.sikuli

zip the folder and hand it over.

the user should just unzip the package and run your prepared run script.

For version 1.0.1 the same should work with a prepared sikuli-
script.jar.

With version 1.2 there will be a packaging option for self contained
scripts (or groups of scripts) in a .jar file, that can be run by double
clicking and either find the Sikuli environment setup already, set it up
from the contained sikulix.jar or download it from MavenCentral (which
would make the packages rather small).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.