In this tutorial, I show steps to modify and edit sikulix under OSX environment. This should not be different with other *nix environment. However, for windows environment, you may need to adjust yourself.
Modify your code
- Clone from the repository
- Open the repository as maven project in netbeans. You can easily use this button to open the project
- You will see that the cloned project appeared in open windows like the following
- Open the project. It will be like this
- Modify any part you want to modify
- Clean and build the maven project. If you open other sub project of sikulix, make sure that you clean and build only the main sikulix maven project
Create Installer
Go to File Finder in the repository folder. You will see one file named runSetup. Using your terminal and cd
to the folder and run the setup.
$ runSetup
It will bring you to SikuliX installation. Please remember that if you build yourself, ALWAYS do it in offline mode, means that you are not supposed to download anything during the installation. In other words, because SikuliX will need some packages/libraries, before installing SikuliX using your own build, you MUST install SikuliX in your computer by running normal build first. You can download the normal build here
Back to runSetup
. You will see SikuliX installation window as follows
Before you continue, please pay attention to in this folder
part. That part shows you where you can find your new build. To make myself clearer, I mean this part
It shows me that I can find the build in /Users/arwankhoiruddin/Library/Application Support/Sikulix/SikulixSetup
folder
Then follow the instructions carefully. I repeat once more, please do not download anything during this installation.
Now go to SikulixSetup
folder. You will find your new and fresh build there
Just move or copy SikuliX to /Applications
folder and voila! Your newly build sikulix is ready to use
Comments