Skip to content
Discussion options

You must be logged in to vote

You can't in Conveyor 22.3 I'm afraid - the key has to be the literal name. HOCON never substitutes inside a key, and in the object form Conveyor sets each launcher's exe-name from its key, so one you put in the body gets overwritten. The list form won't take objects either (only class name strings), and it names each exe after its class, so com.example.MyAppCli comes out as my-app-cli.

So it's just:

app.jvm.cli {
  my-app-cli {
    main-class = com.example.MyCli
  }
}

Launchers are covered here: https://conveyor.hydraulic.dev/22.3.1/configs/jvm/#launchers

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mwhapples
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mikehearn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants