Running SikuliX locally from IntelliJ

Asked by Nick Hutchinson on 2021-02-05

Following on from this question I posted a while back: https://answers.launchpad.net/sikuli/+question/694847

I've unzipped the source code from https://github.com/RaiMan/SikuliX1/releases/tag/2.0.4 as this was the recommended release.

What is the best way of setting this project up in IntelliJ? Normally I git clone from GitHub/GitLab but given this source code is zipped I'm not sure what the best way of doing it is using IntelliJ... I tried adding the top-level pom.xml to maven but it did not let me.

Once I have the project set up properly, how do I run the IDE locally? I am planning on making changes to the IDE and the API and would like to be able to run the app to test my changes.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2021-02-05
Last reply:
2021-02-06
RaiMan (raimund-hocke) said : #1

Using the actual IDEA (2020.3.2) you can simply open the unzipped folder from the welcome panel - the rest is done automatically by IDEA.

Inside the project just setup a run-maven config with clean install.

--- but I do not recommend to use the 2.0.4.

Use the actual pre-final 2.0.5, since it will be final during February and has some important fixes/enhancements:
- on GitHub make a fork into your GitHub account
- then simply open your fork in IDEA (Welcome panel -> get from vcs)

This will give you a chance to base you enhancements on the latest version and allow to create pull-requests for things, you want to share with the official SikuliX.

If you want to keep things private in your development scope, then you can work in a local branch, that you never push to the GitHub repo. But still you will be able to integrate SikuliX fixes/enhancements and share stuff.

Can you help with this problem?

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

To post a message you must log in.