-
To install JDK8, visit:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Accept the License Agreement and install Java SE Development Kit 8u172
- Install Intellij
- Clone git repo for the Java server - https://github.com/shibani/java_server
- Open Intellij and select the option to import into Intellij
- keep all settings the same, accept all the defaults
- Then in Terminal
- run brew install maven in terminal
- run mvn package in the root of your server dir to build the executable jar file
- Set up cobspec as below
- Get source code:
- Copy repo URL:
- In browser, navigate to: https://github.com/8thlight/cob_spec
- Copy URL: Clone or Download → Copy icon
- Get code:
- cd [directory name]
- git clone https://github.com/8thlight/cob_spec.git
- Copy repo URL:
- Update jar file: mvn package
- Check JDK version: javac -version
- If version is not 1.8, set it:
- alias setJdk8='export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)'
- setJdk8
- If version is not 1.8, set it:
- Run jar file: java -jar fitnesse.jar -p 9090
- Add port and destination to cobspec by clicking on link HttpTestSuite in localhost:9090 and then clicking on edit
- Edit the path to your jar file and then edit the path to your cobspec’s public folder
In browser, navigate to: http://localhost:9090
- click on link HttpTestSuite
- then click on menu option Suite