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

    Status: Needs information => Answered

RaiMan proposed the following answer:
Seems you are still using 10.2? (tmplib)
I recommend to use Sikuli X, since the handling of the native libraries is 
different and will be optimized with X 1.0rc2 end of month.

--- and it is still all Java code?

--- structure means:
myfile.jar
 - Image (what is in here?)
 - META-INF
 - Settings
 - tmplib
 - .classpath (does this contain sikuli-script.jar?)
 - .project

- what are your system path settings?

I guess the problem is, that for the native libraries a "real" directory
is needed, since they cannot be found by Windows inside a .jar.

Same problem will be if you are using images with Sikuli features: they
have also to be in real directories.

- the users of your .jar will the have Sikuli on their machines or
should all be contained in your .jar?

If yes:
So I think a distribution has to be a .zip file containing your .jar, 
sikuli-script.jar, tmplib directory and an image directory.
So you have to build a .jar, that only contains your stuff.
It should contain a .cmd that sets the path's correctly and runs a java command 
like
java -cp sikuli-script.jar -jar myfile.jar

This is exactly, how Sikuli (in the zip version) comes on your machine: look 
into the .bat, that runs the Sikuli IDE:
sikuli-script.IDE is comparable to your myfile.jar

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to