|Dump classpath used for sbt run?||Sean Rhea||3/4/11 8:59 AM|
In development I run my program like this:
sbt run "--foo bar"
and that works fine. But in production use, I want to pass particular
CLASSPATH=`find lib* -name '*.jar' | xargs echo | sed -e 's/
Is there a better way to do that? Something like
CLASSPATH=`sbt dump-classpath` java -Xmx32M my.class.Name --foo bar
Any pointers on how I might write one if not?
|Re: [sbt] Dump classpath used for sbt run?||Hristo Deshev||3/4/11 11:56 AM|
On Fri, Mar 4, 2011 at 6:59 PM, Sean Rhea <sean....@gmail.com> wrote:
I was dumping my classpaths as a way to troubleshoot my build recently and maybe this task can help you too:
runClasspath is a PathFinder  instance and you can interrogate it even further. I guess building a ':'-separated list of those paths will be easy.
|Re: [sbt] Dump classpath used for sbt run?||Sean Rhea||3/5/11 3:58 PM|