control the well from a text-based cli

This commit is contained in:
Patrick McDonagh
2017-02-08 17:15:04 -06:00
parent a65597d3e1
commit 419f42cf17
33 changed files with 1176 additions and 359 deletions

View File

@@ -8,8 +8,8 @@ version = '1.0-SNAPSHOT'
description = """poc-java"""
sourceCompatibility = 1.5
targetCompatibility = 1.5
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url "http://repo.maven.apache.org/maven2" }
@@ -64,7 +64,13 @@ task deploy << {
task runRemote << {
ssh.run {
session(remotes.edison) {
execute 'java -cp .:/usr/lib/java/*:poc-java-all-1.0-SNAPSHOT.jar com.henrypump.poc.POC kiesha7265Well.json kiesha7265_card_147_surface.csv'
execute 'java -cp .:/usr/lib/java/*:poc-java-all-1.0-SNAPSHOT.jar com.henrypump.poc.POC kiesha7265Well.json kiesha7265_card_147_surface.csv true'
}
}
}
task runLocal(type: JavaExec) {
classpath sourceSets.main.runtimeClasspath
main = "com.henrypump.poc.POC"
args 'kiesha7265Well.json', 'kiesha7265_card_147_surface.csv', 'false'
}