One way to solve this only with native-packager would be as follows.
- Put all the main classes in
src/main/scala - Determine
mainClass in Compile := Some("foo.bar.Main")which should be run by default. src/universal/bin, . script, native-packager -main , .
(, zip, rpm, deb), . , myApp, bin, otherApp1/ otherApp2
lib/ (jars live here)
conf/ (configuration files here, if any)
bin/
myApp
otherApp1
otherApp2
, script ( bash -foo SO). (otherApp1, otherApp2) , , native-packager script (myApp).
№ 633, .
, ,