cookbook 'sikulix', '= 1.0.0'
sikulix (8) Versions 1.0.0 Follow1
Installs/Configures SikuliX
cookbook 'sikulix', '= 1.0.0', :supermarket
knife supermarket install sikulix
knife supermarket download sikulix
SikuliX Cookbook
This cookbook installs SikuliX (http://www.sikulix.com/) via SikuliX Setup. Remote server is also installed.
Requirements
- Java must be installed. Remote server requires Java 8 or greater.
- Chef 11.14.2 and Ruby 1.9.3 or higher.
Platform
- Windows Server 2012 (R1, R2)
- Windows Server 2008 (R1, R2)
Cookbooks
- windows
Recipes
Install
Installs SikuliX via SikuliX Setup.
Set setup attributes in your attributes file, such as:
node['sikulix']['setup']['java_api'] = true
Include the sikulix default recipe (or include sikulix in your run list):
include_recipe 'sikulix::default'
Attributes
Pack1: I want SikuliX, containing the Sikuli IDE and allowing to run Sikuli scripts from commandline.
-
node['sikulix']['setup']['ide_scripting']['jython']
- Python language level 2.7. Defaultfalse
. -
node['sikulix']['setup']['ide_scripting']['jruby']
- Ruby language level 1.9 and 2.0. Defaultfalse
. -
node['sikulix']['setup']['ide_scripting']['jruby_addons']
- Rspec, Cucumber, ... Defaultfalse
.
Pack2: I want to develop in Java, Jython or other Java aware scripting language using NetBeans, Eclipse, or other IDE's.
-
node['sikulix']['setup']['java_api']
- Defaultfalse
.
For Mac and Windows only: I plan to use the Tesseract based OCR features (You Should know what you are doing!).
-
node['sikulix']['setup']['tesseract_ocr']
- Defaultfalse
.
I want the packages to be usable on Windows, Mac, Linux (they contain the stuff for all systems - one pack for all).
With these options not selected, the setup process will only add system specific native stuff (Windows: support for
both Java 32-Bit and Java 64-Bit is added).
-
node['sikulix']['setup']['system']['all']
- Defaultfalse
. -
node['sikulix']['setup']['system']['windows']
- Defaultfalse
. -
node['sikulix']['setup']['system']['mac']
- Defaultfalse
. -
node['sikulix']['setup']['system']['linux']
- Defaultfalse
.
I want to try the experimental Sikuli Remote feature (getting sikulixremoteserver.jar).
-
node['sikulix']['setup']['remoteserver']
- Defaultfalse
.
Other:
-
node['sikulix']['setup']['jvm_args']
- Default-Xmx128m
.
Remote Server
Installs SikuliX Remote Server via SikuliX Setup and runs it in the foreground on Windows.
Note that Remote Server is experimental.
Attributes
-
node['sikulix']['remoteserver']['domain']
- Domain of account to use for automatic logon (optional). -
node['sikulix']['remoteserver']['username']
- Username of account to use for automatic logon. -
node['sikulix']['remoteserver']['password']
- Password of account to use for automatic logon. Note the password is stored and displayed in the registry editor in plain, unencrypted text. -
node['sikulix']['remoteserver']['jvm_args']
- JVM arguments (optional). -
node['sikulix']['remoteserver']['port']
- Defaults to4041
.
Getting Help
- Ask specific questions on Stack Overflow.
- Report bugs and discuss potential features in Github issues.
Contributing
Please refer to CONTRIBUTING.
License
MIT - see the accompanying LICENSE file for details.
Dependent cookbooks
windows >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
SikuliX Changelog
1.0.0
- Added support for Remote Server
- Refactored Setup attribute names
- Placed guard on Setup to run only once
- Fixed memory bug with Setup
0.1.0
- Initial release using sikulix v1.1.0 nightly builds
Foodcritic Metric
1.0.0 passed this metric
1.0.0 passed this metric