esoe 2 years ago
parent
commit
79ff68efbe
  1. 0
      options-home.json
  2. 7
      options-office.json
  3. 2
      src/main/java/ru/molokoin/sourceListener/SourceListener.java
  4. BIN
      target/classes/ru/molokoin/sourceListener/SourceListener.class

0
options.json → options-home.json

7
options-office.json

@ -0,0 +1,7 @@ @@ -0,0 +1,7 @@
{
"linkVC" : "http://molokoin.ru:3000/esoe/molokoin-client/archive/master.zip",
"downloadPath" : "C:\\Users\\devuser\\Documents\\code\\sourceListener\\out\\zip",
"zipPath" : "C:\\Users\\devuser\\Documents\\code\\sourceListener\\out\\zip\\molokoin-client-master.zip",
"unzipPath" : "C:\\Users\\devuser\\Documents\\code\\sourceListener\\out\\unzip\\molokoin"
}

2
src/main/java/ru/molokoin/sourceListener/SourceListener.java

@ -44,7 +44,7 @@ public class SourceListener { @@ -44,7 +44,7 @@ public class SourceListener {
public Options readOptions() throws StreamReadException, DatabindException, IOException{
Options opt;
ObjectMapper mapper = new ObjectMapper();
opt = mapper.readValue(new File("options.json"), Options.class);
opt = mapper.readValue(new File("options-office.json"), Options.class);
return opt;
}
public Options getOpt() {

BIN
target/classes/ru/molokoin/sourceListener/SourceListener.class

Binary file not shown.
Loading…
Cancel
Save