How to build Sikuli IDE and sikuli API 1.1.0 from Source code

Asked by Sarav

I plan to extend the Existing IDE with some custom functions

How do i Build Sikuli 1.1.0 Sources

I can use Netbeans (As Raimund's Dev environment)

Can you pls point me the steps to build Sikuli IDE and Sikuli API from Source ?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1

- download the repo content (https://github.com/RaiMan/SikuliX-2014) with one of the available options (recommended: make a fork, clone to your NetBeans workspace and use the git-features provided by NetBeans)
- open the project in NetBeans (it is a multi-module Maven project)
- run a <clean and build> (first time will be lengthy due to the download of the dependencies from Maven central)
- from within Netbeans you can run and debug the module IDE (main class is org.sikuli.ide.Sikulix)

To get the IDE (sikulix.jar) and API (sikulixapi.jar) for normal use outside of NetBeans, you have to run Setup (main class org.sikuli.setup.RunSetup) from inside NetBeans. The produced artifacts will be in <SikulixAppData>/Setup.

additional info:
https://github.com/RaiMan/SikuliX-2014/wiki/More-information-related-to-the-Maven-aspects-in-this-project

Revision history for this message
Sarav (bx5974) said :
#2

Thanks RaiMan, That worked.

What is the main class for building the Sikuli API Jar?

Also, for a fresh install on windows, how can I have the dll files in some other dir than the jardir/lib/ ?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

With the actual 1.1.0, the libs dir is no longer in the folder where the jar is.

On each machine it is in one place: <SikuliAppData>/libs
see:
http://sikulix-2014.readthedocs.org/en/latest/basicinfo.html#sikulix-system-specifics

Revision history for this message
RaiMan (raimund-hocke) said :
#4

sikulixapi.jar cannot be built from sources.

You either use it inside Netbeans as a project reference or as a Maven dependency or you run setup to create a ready-to-use sikulixapi.jar.

Revision history for this message
Sarav (bx5974) said :
#5

Sorry, couldn't get you,

Could you pls tell me the source for the sikulixapi.jar ?

Revision history for this message
Sarav (bx5974) said :
#6

Got it, Let me try and update - Thanks Raiman!!!

Revision history for this message
Sarav (bx5974) said :
#7

Can you please point me how to add a new CUSTOMACTION("Text") in left side bar of Sikuli IDE ?

Revision history for this message
RaiMan (raimund-hocke) said :
#8

class file: org.sikuli.ide.SikuliIDE
starting at line 1685

Can you help with this problem?

Provide an answer of your own, or ask Sarav for more information if necessary.

To post a message you must log in.