Skip to content

shibani/java_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project runs on JDK8

To create the project in Intellij and package your server:

  • 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

To run Cobspec tests:

In Terminal:

  • Get source code:
  • 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
  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages