1. Clone the code: `git clone https://github.com/Kinetic/kinetic-java.git`
1. Build the runtime jar files as stated in Getting Started with Simulator below
1. Build the runtime jar files as stated in *Getting Started with Simulator* below
1. Run the integration tests against the Java Simulator: `mvn test -DargLine="-Xmx500M"`
1. Run the integration tests but exclude specific files: `mvn test -Dmaven.test.excludes="**/File.java,**/OtherFile.java"
1. Run the integration tests but exclude specific files: `mvn test -Dmaven.test.excludes="**/File.java,**/OtherFile.java"`
1. Run the integration tests against the remote instance at a particular path: `mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_PATH=/path/to/kinetic_home`
1. Run the integration tests against the remote instance at a particular host: `mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_HOST=1.2.3.4`
1. Run the integration tests against the remote instance at a particular host using SSH to reset state before runs: `mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_HOST=1.2.3.4 -DFAST_CLEAN_UP=true`
Getting Started With Simulator
================================
1. Run "mvn clean package" in "Kinetic-Folder"
2. Start with java CLI:
java -jar in "Kinetic-Folder"/kinetic-simulator/target/kinetic-simulator-"Version"-SNAPSHOT-jar-with-dependencies.jar
where "Version" above is the build version number. Such as 0.8.0.1.
1. Run `mvn clean package` in "Kinetic-Folder"
2.**Start with java CLI**:
From within "Kinetic-Folder": `java -jar kinetic-simulator/target/kinetic-simulator-"Version"-SNAPSHOT-jar-with-dependencies.jar`
where "Version" above is the build version number (such as 0.8.0.1).
or Start with script (If configuration tcp_port, tls_port and Kinetic_home, use script -help):
or
**Start with script** (If configuring tcp_port, tls_port and Kinetic_home, use `script -help`):
Windows:
```
@@ -76,13 +80,13 @@ Getting Started With Simulator
Admin command line Usage
==============================
1, make sure "Kinetic-Folder"/kinetic-simulator/target/kinetic-simulator-'Version"-SNAPSHOT-jar-with-dependencies.jar
2, start simulator as described in the above section.
1. Start simulator as described in the above section.
3, run admin cli
1. Run admin CLI
Windows:
```
@@ -102,7 +106,8 @@ Erasing all data in the Simulator
* The simulator should be running, default port for TCP is 8123, SSL/TLS port is 8443
* You'll need to have recently built .jar (i.e. run `mvn package`)
1. ./bin/kineticadmin.sh -setup -erase true
1.`./bin/kineticadmin.sh -setup -erase true`
Simulator and Java API usage examples
=================================
@@ -117,11 +122,18 @@ To browse Javadoc: [http://kinetic.github.io/kinetic-java/] (http://kinetic.gith
To generate Javadoc:
1. Run "mvn clean package" in "Kinetic-Folder".
1. Run `mvn clean package` in "Kinetic-Folder".
1. Or run `mvn clean package` in:
* "Kinetic-Folder"/kinetic-client,
* "Kinetic-Folder"/kinetic-simulator
* and "Kinetic-Folder"/kinetic-test
1. Or run "mvn clean package" in "Kinetic-Folder"/kinetic-client, "Kinetic-Folder"/kinetic-simulator and "Kinetic-Folder"/kinetic-test.
2. Javadoc will be generated for modules in directory of:
* "Kinetic-Folder"/kinetic-client/doc,
* "Kinetic-Folder"/kinetic-simulator/doc,
* and "Kinetic-Folder"/kinetic-test/doc.
2. Javadoc will be generated for modules in directory of "Kinetic-Folder"/kinetic-client/doc, "Kinetic-Folder"/kinetic-simulator/doc and "Kinetic-Folder"/kinetic-test/doc.
Latest Kinetic release, protocol dependency, and runtime dependencies on maven central
=================================
@@ -131,15 +143,15 @@ Run smoke test against simulator or kinetic drive
==================================
Make sure one instance of simulator or kinetic drive is running.
1. Run "mvn clean package" in "Kinetic-Folder" or "Kinetic-Folder"/kinetic-test, verify that