Hello. Can someone shed some light on the differen...
# general
w
Hello. Can someone shed some light on the difference between a
jvm_app
and a
jvm_binary
? The only thing I read that’s really different is the inclusion of configuration files in
jvm_app
. What am I missing?
e
You're correct. That's all there is to the difference.
w
Then why have both?
e
Many people just need a fat jar, thus jvm_binary. Some people need additional loose scripts and config files, thus jvm_app
What do you propose to merge the two and still satisfy these needs?
w
Well I never had the need for a jar without its loose scripts and config files I guess so I was just wondering đŸ™‚
e
Aha, gotcha.
w
With Scala’s config for example the config files should be included with the jars so using a
jvm_app
will go against their way
e
Yes. I'm generally a non-fan of loose configs in production. A script though could be handy as could a loose large data file you don't want to extract at runtime, etc.