a question about including libraries into a ScalaTask.
Examples presented in http://www.openmole.org/Java.html have just a single jar file as library input.
Is it also possible to include a whole directory with several external libraries such as:
libraries += (workDirectory / “app.jar”, workDirectory / “libs”),
Thanks for your help.
I think is it not, but it shouldn’t be to painful to add. In the meantime you can do something like:
libraries += workDirectory / "app.jar", libraries += ((workDirectory / "libs").listFiles.toSeq: _*)
The library mechanism is fragile, if you have many dependencies, it might be safer to build an OpenMOLE plugin. It is easy if you are using sbt: http://openmole.org/Plugins.html