For now I'm just using the following to set X:a's classpath onto X:b:
compile with project("X:a"), project("X:a").compile.classpath
On 01 Apr 2008, at 19:13, Maarten Billemont wrote:
> Given the projects X:a and X:b, where X:a compiles with artifacts
> FOO and BAR, and X:b depends on X:a:
>
> define X do
> define a
> compile.with FOO, BAR
>
> package :jar
> end
>
> define b
> compile.with project("X:a")
>
> package :jar
> end
> end
>
> However, X:b cannot compile because buildr does not add X:a's
> classpath to X:b. Is there some way to export FOO and BAR
> dependencies of X:a to X:b. Isn't that the way it ought to be by
> default?
>
|