Ajay
Ajay

Reputation: 977

passing classpath to custom tasks in java/scala based project within buildr

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!

Upvotes: 2

Views: 278

Answers (1)

Brian Clapper
Brian Clapper

Reputation: 26220

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:

Upvotes: 2

Related Questions