Hello Adam I want to call some tasks i ve written for all my subprojects, all tasks being called in the given order
this action can be launched from a task in my main project or using "DependsOn " keyword in this main task but i dont know ow to do it properly. Note that my main subproject are in a flat structure. Thank You. Le vendredi 15 avril 2011, Adam Murdoch <[email protected]> a écrit : > > On 15/04/2011, at 8:21 AM, zebulon wrote: > Hello all, > > I have in a main project with some subprojects (porjaetc A and project > B) defined in gradle.settings and would like to run a task from the > main project that calls a specific list of task for each subproject > first. > e.g. calling task 1, task2 and task3 for subproject A, then task 1 > task 2 and task3 for subprojectB, in this specific order. > How should I define this task in the main project (i;e.how to call a > list of task of every subprojects from another task in my main > project, or how to add an explicit list of task dependencies to run by > each subproject in the appropriate order (not the alphabetic order))? > > Do you have a more concrete example of the tasks you want to run in a > particular order? There might be another way to achieve what you want to do. > > > --Adam Murdoch > Gradle Co-founder > http://www.gradle.org > VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting > http://www.gradleware.com > > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
