Re: Java classpath from dependencies

63 views
Skip to first unread message

Michael Schleichardt

unread,
Sep 30, 2012, 9:19:06 AM9/30/12
to simple-b...@googlegroups.com
You can obtain the dependency classpath with the keys sbt.Keys.dependencyClasspath, externalDependencyClasspath or internalDependencyClasspath.

Source: http://harrah.github.com/xsbt/latest/api/sbt/Keys$.html

HTH
Michael

Am Donnerstag, 23. August 2012 03:20:28 UTC+2 schrieb hekar:
Hi there,

I'm trying to do something rather simple, but I'm having a hard time.
I want to get the java classpath of a dependency and use that classpath to execute a java process.

Specifically, I want to get the classpath of: "org.jooq" % "jooq" % "2.4.0".
Then I want to call org.jooq.util.GenerationTool.

I'm using Play 2.x and this is my build file: http://pastebin.com/tTmsiv1X

Reply all
Reply to author
Forward
0 new messages