public class SpringBootPropsGen extends java.lang.Object implements RunnableApp
stdout
to
config/application.properties
to generate the file.
This way we can keep all config data in Java and avoid common issues.
java -jar build/libs/ome-smuggler-*.jar ome.smuggler.run.SpringBootPropsGen \ > src/main/resources/config/application.properties
Constructor and Description |
---|
SpringBootPropsGen() |
Modifier and Type | Method and Description |
---|---|
void |
run(java.util.List<java.lang.String> appArgs)
Dumps Java props to
stdout . |
public void run(java.util.List<java.lang.String> appArgs)
stdout
.run
in interface RunnableApp
appArgs
- the app arguments as given on the command line.