2

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!

Ajay
  • 977
  • 2
  • 11
  • 23

1 Answers1

2

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
  • 25,705
  • 7
  • 65
  • 65