lucidsoftware / piezo

Piezo is a set of tools for operating a quartz scheduling cluster.
Apache License 2.0
53 stars 28 forks source link

Support for standard java tools (gradle, maven) #74

Open adam-arold opened 6 years ago

adam-arold commented 6 years ago

The documentation says that piezo needs sbt. I'm not familiar with Scala and since Quartz is a Java project I think it would make sense to add the support to be able to use piezo with Java tools. Is there a chance for that?

tmccombs commented 6 years ago

The piezo-worker JAR is published to maven-central (https://search.maven.org/#artifactdetails%7Ccom.lucidchart%7Cpiezo-worker_2.11%7C1.36%7Cjar). I'm not very familiar with maven or groovy, but is there a problem with just adding a dependency on that jar to your project?

adam-arold commented 6 years ago

The docs says that I need sbt to run the worker: sbt worker/run. Do you have some more documentation on how to use piezo?

disaacson commented 6 years ago

Try the part that says to run this command java -Dorg.quartz.properties=<path to quartz properties> -Dpidfile.path=<path to pid file> -cp <classpath> com.lucidchart.piezo.Worker