← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207739]: Sqlite in Sikuli/jython

 

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

    Status: Solved => Open

Andrew Munro is still having a problem:
Ok, tried experimenting for the last hour and still can't get this to
work..(either windows command files suck or I do xD)

My normal bat script consists of:

@echo off

PATH=%PATH%;Sikuli-X-1.0rc3\Sikuli-IDE\libs
set JAVA_EXE="java"
set CLASSPATH=sqlite-jdbc.jar;%CLASSPATH%

if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -classpath "sqlite-jdbc.jar" -Dfile.encoding=UTF-8 -Dpython.path="Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-script.jar/" -jar "Sikuli-X-1.0rc3\Sikuli-IDE\sikuli-ide.jar" -r "run_suite.sikuli"

My driver is in the same directory as the .bat file as is my jython.jar
that I downloaded.

I have tried the following:

set cp=sqlite-jdbc.jar
set cp=%cp%:jython.jar
java -cp %cp% org.python.util.jython %1.sikuli/%1.py

I do not understand the last part %1.sikuli/%1.py.

I could not get it to find sikuli :s

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