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

    Status: Open => Answered

RaiMan proposed the following answer:
-- sikuli-script.jar is just another lib on the class path
-- same goes for your "sikuli extensions" (which should be in a separate jar, 
so they can be used wherever you want)
-- since Eclipse as such is not "scriptable", you might have an Ant project 
inside Eclipse or make the decision, to run everything outside Eclipse (which I 
would prefer).

When talking about different VM's, then there are 3 different aspects:
- the JVM version (or JDK) the source is made for (minimum version required, 
e.g. 1.6)
- the JVM version (or JDK) the source was compiled on
- the JVM version, you want to run your stuff on

So if it is only a fixed source and compilation (e.g. 1.6), then you
simply need to configure different runs:

path-to-JRE/bin/java.exe -cp your-class-path -jar your-test.jar

which could simply be packed into one command file with a selection
parameter for the target JVM.

if you want to additionally compile on different platforms, the you can
use the javac (where you can select different JVM/JDK) and jar tasks of
Ant in a simple build.xml

But this is not really a Sikuli question, since Sikuli in this context
simply is another jar like Junit.

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