How do I make a (minimal) runnable jar file from a scala eclipse project
I have made a runnable jar using this process: http://garyboone.com/2009/06/creating-single-file-runnable-jars开发者_如何转开发-in-scala-and-eclipse/?wscr=1366x768 editing the ant build.xml to include scala-library.jar (5.9 MB)
Isn't i possible somehow to get eclipse to extract the needed parts of scala-library.jar? So I can get a smaller, less bloated jar file?
BR Troels
Try using ProGuard. An short tutorial is available here for the Android platform, but I think you can use it for your "normal" Scala applications, too.
精彩评论