|
Hans Dockter wrote: Hi Adam,I think it sounds good. Just to clarify a few things: For arbitrary layouts, is the plan to keep the domain model the same as we have, and simply be more flexible about where the artifacts (build.gradle, etc) can be physically located? That is, will we always end up with a hierarchy of projects, regardless of where those projects are located and how they are configured? And will we always have a current (sub)project, regardless of how we determine which one it is? I think there are 3 types of paths which could be specified on the command-line: - an unqualified path, ie one without a ':' character. eg 'hello' - a relative path, ie unqualified-path ( ':' unqualified-path )+ eg 'krill:hello' - an absolute path ie ':' relative-path eg ':krill:hello' Given the above, we could interpret each type of path as: - unqualified path: execute all tasks whose path matches current-project:**:path (using an ant style pattern here) where current-project is the path of the current project and path is the value supplied on the command-line - relative path: execute all tasks whose path matches current-project:path, or maybe current-project:**:path - absolute path: execute the task whose path matches path Is this what you meant? (ignoring how we determine the root project, sub-projects and current project) It might even be interesting to extend this to allow ant-style patterns to be used, eg :krill:* executes all tasks in :krill, :krill:*:hello executes the hello task in the direct subprojects of :krill, etc. Adam --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
- [gradle-dev] Executing child project tasks from the command ... Adam Murdoch
- Re: [gradle-dev] Executing child project tasks from the... Antony Stubbs
- Re: [gradle-dev] Executing child project tasks from the... Hans Dockter
- Re: [gradle-dev] Executing child project tasks from... Adam Murdoch
- Re: [gradle-dev] Executing child project tasks ... Hans Dockter
- Re: [gradle-dev] Executing child project ta... Adam Murdoch
- Re: [gradle-dev] Executing child proje... Hans Dockter
- Re: [gradle-dev] Executing child project tasks from... Adam Murdoch
- Re: [gradle-dev] Executing child project tasks ... Hans Dockter
- Re: [gradle-dev] Executing child project ta... Adam Murdoch
- Re: [gradle-dev] Executing child proje... Adam Murdoch
