Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-07 Thread RaiMan
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

Summary changed to:
How to use SikuliX API in Netbeans and other IDE's

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-07 Thread Veronika
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

Status: Answered => Open

Veronika is still having a problem:
ok, i should use
 import org.sikuli.basics.SikulixForJython
from sikuli import *
instead of 
from sikuli.Sikuli import 
but i don't have sikulixapi.jar file in installation folder.

yes, i use sikuli v.1.0.1, mac os 10.8.5. 
p/s i'm using sikuli in python/jython script, not in java application.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-07 Thread RaiMan
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

Status: Open => Answered

RaiMan proposed the following answer:
pls. read carefully again and to the end !

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-07 Thread Veronika
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

Status: Answered => Open

Veronika is still having a problem:
forgive me for bothering you again, but please explain:

To support code completion just add to your setup: 
...xxx.../Lib
where ...xxx... is the path to the folder containing sikuli-java.jar

what setup?

does this means setup.py file? should i write something like this:
set JYTHONPATH=/Users/user/sikuli1.1.0/sikuli-script.jar/Lib

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-08 Thread RaiMan
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

Status: Open => Answered

RaiMan proposed the following answer:
You are talking about NetBeans and scripting in your question.

So you seem to have the Python plugin installed.

If this is right, then a Python project has it's properties section,
where Java class path and Python path can be configured (this is meant
with setup).

Since the NetBeans Python plugin does not accept a folder inside a jar
for code completion, one has to provide this as a filesystem folder.

If you are running external Jython from command line, then nothing else besides 
a CLASSPATH is needed, when you use in your scripts:
import org.sikuli.basics.SikulixForJython
from sikuli import *

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-08 Thread Veronika
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

Status: Answered => Solved

Veronika confirmed that the question is solved:
Actually I did it a lot of times. (see question) and it still doesn't
working. Also tried with sikuli 1.1.0 version.

But now it's ok. I used eclipse and sikuli were set up properly and now working 
fine.
I used this tutorial http://doc.sikuli.org/faq/040-other-ide.html? except I 
downloaded EasyEclipse for python with PyDev on board.
Jython 2.5.3, mac os 10.8.5. For me it works only with sikuli 1.0.1 with 1.1.0 
version it was some errors.

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #255453]: How to use SikuliX API in Netbeans and other IDE's

2014-10-08 Thread RaiMan
Question #255453 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255453

RaiMan posted a new comment:
fine, thanks for reporting back.

tutorial http://doc.sikuli.org/faq/040-other-ide.html
really is only for version X-1.0RC3
and only by accident can be used with version 1.0.1

with version 1.1.0 (solution available from tomorrow on) for Jython run support 
you only have to:
- run setup with option 2
- have sikulixapi,jar in projects class path
- in the script use
import org.sikuli.basics.SikulixForJython
from sikuli import *

If you want to have code completion in Eclipse or other IDE's, you just have to 
put
/Lib
(which is now created on setup) into your project's python path

-- 
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 : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp