Re: Add tasks to attach generation tasks to?

2012-11-10 Thread Alex Boisvert
On Fri, Nov 9, 2012 at 7:32 PM, Peter Donald wrote: > Hi, > > Another thing I noticed across a whole bunch of projects is that they > usually create a per project task off which they can hang all the code > generation tasks off. i.e. They add a task like "myproject:generate" > that does all the s

Re: Moving _(:target, :generated) to top level of project

2012-11-10 Thread Alex Boisvert
On Fri, Nov 9, 2012 at 7:20 PM, Peter Donald wrote: > > layout = Layout::Default.new > layout[:target, :generated] = "generated" > > define "myproject", :layout => layout do > ... > project.clean { rm_rf _(:target, :generated) } > end > > The main reason for this seems to be ease of integrati

Re: ApacheCon / Thoughtworks TechRadar

2012-11-10 Thread Tammo van Lessen
Hi Michel, I did have a look at lock_jar and I really like the idea. Since I like on one hand Mavens magic resolution for bootstrapping a projects, on the other hand I also want to have the control over the dependencies. What I usually do is running something like pp transitive(LOGBACK).map {|a|

Re: Add tasks to attach generation tasks to?

2012-11-10 Thread Tammo van Lessen
I like the idea! On Sat, Nov 10, 2012 at 4:32 AM, Peter Donald wrote: > Hi, > > Another thing I noticed across a whole bunch of projects is that they > usually create a per project task off which they can hang all the code > generation tasks off. i.e. They add a task like "myproject:generate" >