These are utilities in Scala for capturing prebuilt platform-specific binaries in Maven/Ivy packages via sbt, and extracting and executing them based on the current runtime platform. Also included are some tools for dealing with jar URIs.
We don't provide a way to actually execute binaries; the problem we're interested in solving is that of _finding_ a binary that can be executed. Executing is a completely different problem, and once you have a binary to execute, you can solve it well using commons-exec, the standard Java library, or one of several other such frameworks.
The `phantomjs' branch is a "real world" example of a build exploiting platform-executing. If you have an artifact built with this example, or a build like it, you can require it *and* the platform-executing library, giving you a database of native binaries and Scala functions to flexibly extract and invoke them.
See the README for basic documentation: http://
And for the sbt plugin: http://
View full history Series and milestones
trunk series is the current focus of development.
All bugs Latest bugs reported
-
Bug #1286409: No build for 2.11.0-RC1
Reported -
Bug #1221474: No sbt 0.13 support
Reported -
Bug #1180957: Packaging chooses wrong file extension for other-platform binaries
Reported -
Bug #1176917: Can only extract a single file from jar
Reported -
Bug #1175429: Build succeeds even when a specified binary isn't present
Reported