custom classpath in manifest.mf in deployed jar

30 views
Skip to first unread message

Geoffrey Knauth

unread,
Apr 17, 2015, 7:58:26 AM4/17/15
to simple-b...@googlegroups.com
I have to deploy a JAR with a classpath in the manifest.mf that looks quite different from where sbt finds/stores the dependencies while building/testing my Scala program in my IDE.  How would I use sbt to build, for example, a custom manifest that uses the exact pathnames below?

Thanks.  --Geoff

.
lib/abc.jar
lib/xyz.jar
../../lib/maven/com/fasterxml/jackson/core/jackson-annotations/2.2.3/jackson-annotations-2.2.3.jar
../../lib/maven/com/fasterxml/jackson/core/jackson-core/2.2.3/jackson-core-2.2.3.jar
../../lib/maven/com/fasterxml/jackson/core/jackson-databind/2.2.3/jackson-databind-2.2.3.jar
../../lib/maven/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
../../lib/maven/commons-io/commons-io/2.4/commons-io-2.4.jar
../../lib/maven/joda-time/joda-time/2.5/joda-time-2.5.jar
../../lib/maven/log4j/log4j/1.2.11/log4j-1.2.11.jar
../../lib/database/SQLServer2008/3.0.1301.101/sqljdbc4.jar

Reply all
Reply to author
Forward
0 new messages