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 <slatem...@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 > >