I'm having trouble using jarjar from the command line to combine a simple Scala program with a Scala time library.
jarjar correctly defines the dependency:
$ java -jar ~/Desktop/saug/jarjar-1.0.jar find jar BCT.jar scala-library.jar
/home/schani/Work/scala/bct/BCT.jar -> /home/schani/Work/scala/bct/scala-library.jar
Their combination does not work, however:
$ CLASSPATH=./scala-library.jar java -jar ~/Desktop/saug/jarjar-1.0.jar process rules.jjl BCT.jar BCTS.jar
The jar file I get depends on scala -library.jar. Regardless of whether I add the CLASSPATH variable, it does not matter. The rules.jjl file is as follows:
keep BCT
What to do?
source
share