buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Tillotson <slatem...@yahoo.co.uk>
Subject Re: Two compile target dirs
Date Wed, 14 Dec 2011 09:35:44 GMT
I was trying to work out how and where to wire it in.  

My ruby / rake is not the best, but if I'm flogging the right horse I'll keep going, 

Apologies for metaphor - not a real horse

P


________________________________
From: Alex Boisvert <alex.boisvert@gmail.com>
To: users@buildr.apache.org 
Sent: Tuesday, 13 December 2011, 22:21
Subject: Re: Two compile target dirs

I think the link provided at the bottom would be the right approach.  What
part of it didn't you understand or didn't work for you?

alex


On Tue, Dec 13, 2011 at 12:21 PM, Peter Tillotson <slatemine@yahoo.co.uk>wrote:

> I am trying to do a second compilation, actually the key is I'm trying
> to have two different classes folders in 1 projects
>
> fd =
file('target/tool/classes')
> compile {
>        compile('myProj/src/tool/java').into(fd)
>        fd.invoke
> }
> With the above I get a cyclic dependency
>
> Use case for this is
>  * Packaging API separate from Implementation
>  * GPL'd driver code separate to server
>
> So I package API in one jar and everything else in another
>
> I could use another project but it is not a huge number files but enough
> to want to avoid filters.
>
> is saw
>
>
> http://buildr.markmail.org/search/?q=list%3Auser+compile+#query:list%3Auser%20compile%20+page:1+mid:mwjwxh2fxu7xhjln+state:results
>
> but didn't understand
it.
>
> tnx
>
> p
>
>

Mime
View raw message