[ANNOUNCE] sbt-application - builder with ProGuard, JavaFX and assembly

185 views
Skip to first unread message

Ezh

unread,
Nov 19, 2012, 4:07:54 PM11/19/12
to simple-b...@googlegroups.com
Hi All,

What is it? Application builder.

Location:
https://github.com/sbt-android-mill/sbt-application
Hello world examples (JavaFX jars):
https://github.com/sbt-android-mill/sbt-application/downloads - compiled
https://github.com/sbt-android-mill/sbt-application/tree/master/src/sbt-test/application - sources
tested under Windows, Linux

Please, note:
  • jar not required external dependencies (the only requirements is Java 7)
  • jar composed in JavaFX layout
  • size is 388Kb and 423Kb
You may try to start it under Java 6 ;-)


How to build JavaFX?
sbt> application:package
after this you will have for an example:
  • target/scala-2.9.2/package.jar - original jar
  • target/scala-2.9.2/package-proguard.jar - jar after proguard
  • target/scala-2.9.2/package-jfx.jar - jar after proguard with JavaFX layout
If interested, fork it or contact me and you will be granted with write access to repository.

P.S. most complex use case
JavaFX application with Scala interpretor:
- all classes must be processed with ProGuard except scala-library and scala-compiller
- it must be single jar without external dependencies

P.P.S read https://github.com/sbt-android-mill/sbt-application/blob/master/src/main/scala/sbt/application/ApplicationKeys.scala

King regards,
Alexey
Reply all
Reply to author
Forward
0 new messages