buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Andrews <>
Subject Run task dependencies
Date Tue, 12 Jan 2010 00:49:52 GMT

I am new to buildr and have a best practice question.  My Scala
project has several dependencies, which are also required when running
the project.  For instance:


The Quick Start gives an example of how to run using a task :run definition:

task :run => :compile do
    system 'java -cp CLASSPATH ...'

The classpath will need to include many of the same dependencies as
the compilation task, but the format string is not quite the same.  Is
there an easy way to map the compile.with dependencies to something
'java -cp' will understand?  Or even better some automagic way to have
run tasks pick this up?


View raw message