tags:

views:

60

answers:

1

I am using buildr to build my scala project and suppose I want to run a main program among the source code, I need to define custom task within buildr which is very easy. However, how can I pass the classpath dependency automatically?(i.e) suppose you have a large number of jar files added already as dependency within buildr. Is there anyway to ask buildr to flatten them out and give it as a classpath so that I can pass it to my scala runner ? I don't want to manually construct the classpath within buildr. Thanks!

+1  A: 

I don't use buildr, but it seems to me that a combination of the information on the following pages should get you where you want to go:

Brian Clapper
thank you! that was of great help.
Ajay