On Aug 29, 2008, at 1:58 PM, Dennis Portello wrote:

This sounds great, almost exactly what I was pondering. I think it might make also sense to have two sets of defaults, a hierarchical and flat layout which could be detected by Gradle.

I think it is a very good idea to specifically support flat layouts. I haven't thought about this. It should also be pretty easy to implement.

Looking through the source code yesterday I was contemplating how you could provide alternative layouts and have them picked-up automatically when invoking a build from any directory (sub-project).

Either looking into each folder of the same hierarchy for a settings.gradle file. Or by naming convention (e.g. folder with the name 'master' in the same hierarchy).



Also, it might make sense to have a series of named layouts predefined in a gradle_home settings file/script which could be referenced from any project settings file, the two defaults being "flat" and "hirearchical".

I have to think about this.

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to