|Gauge-Java Nightly||Maven-Gauge-Java Nightly|
gauge install java
Create a gauge-java project
gauge init java
gauge run specs
Alternate Installation options
Install specific version
- Installing specific version
gauge install java --version 0.6.5
- Download the plugin from Releases
gauge install java --file gauge-java-0.6.5-windows.x86_64.zip
To install java nightly, download the latest nightly from here.
Once you have the downloaded nightly gauge-java-version.nightly-yyyy-mm-dd.zip, install using:
gauge install java -f gauge-java-version.nightly-yyyy-mm-dd.zip
Build from source
The plugin is authored in Java. Gauge is authored in golang. These are independent processes talking to each other over TCP on port GAUGE_INTERNAL_PORT (env variable) using Protobuf. This project contains a launcher component (gauge-java.go) written in golang which is used to start the plugin from gauge.
go run make.go
For cross platform compilation (launcher)
go run make.go --all-platforms
go run make.go --install
Installing to a CUSTOM_LOCATION
go run make.go --install --plugin-prefix CUSTOM_LOCATION
Note: Run after compiling
go run make.go --distro
For distributable across platforms os, windows and linux for bith x86 and x86_64
go run make.go --distro --all-platforms
New distribution details need to be updated in the java-install.json file in gauge plugin repository for a new verison update.
This program is dual-licensed under:
- the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version; or
- the Eclipse Public License v1.0. You can redistribute it and/or modify it under the terms of either license.
Copyright 2016 ThoughtWorks, Inc.
This project is supported by YourKit Java Profiler. YourKit supports open source projects with its full-featured Java Profiler, which is used by Gauge Team.