← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #287256]: importing self-built java package into a .sikuli project

 

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

    Status: Answered => Open

rbranch7 is still having a problem:
http://s18.postimg.org/j6xri480p/ide.png

http://s18.postimg.org/r66pqxcih/pathchat.png

Above I have two screenshots. They should help to highlight my current
issues

I have tried the escaping backslash that you had first recommended, and
got syntax errors (no viable input) attempting to turn

sys.path.append("C:\Program Files\Java\jdk1.7.0_79\src")

into

sys.path.append("C:\\Program Files\\Java\\jdk1.7.0_79\\src\")

I also tried the safe raw string suggestion tat you mentioned:

"To avoid any problems, it is recommended to use the raw string r'some
text with \ and " ...', since there is no need for escaping (but no
trailing \ is allowed here)."

thus, i tried:

sys.path.append(r'C:\Program Files\Java\jdk1.7.0_79\src')

The error I am getting in the ide, and the document explorer that shows
the path of my ChatBot.java and ChatBot.class file are listed in the
above urls

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