Re: [Sikuli-driver] [Question #706755]: Share the created project

2023-05-23 Thread Oleksij Atirovich
Question #706755 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706755

Oleksij Atirovich posted a new comment:
Your command line option works too, thanks ;) I removed the manifest.mf
from the jars and made a code that specifies a main class for them and
runs with your code. Now the jars are not opened by double clicking and
can only be opened with my file.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #706755]: Share the created project

2023-05-23 Thread Oleksij Atirovich
Question #706755 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706755

Status: Answered => Solved

Oleksij Atirovich confirmed that the question is solved:
Thanks RaiMan, that solved my question.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #706755]: Share the created project

2023-05-23 Thread RaiMan
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp