Hello
The tutorial mentions that calling a task on a super-project will result
in calling that task in each of the sub-projects.
> The build is executed from the|water|project.
Neither|water|nor|tropicalFish|have a
> task with the name|distanceToIceberg|. Gradle does not care. The
simple rule
> mentioned already above is: Execute all tasks down the hierarchy
which have this name.
> Only complain if there is/no/such task!
But that is not what happens in my case:
----
07:50:49-tk@tk:~/workspace/com.one.crm> gradle b-one-crm:babel:jar
FAILURE: Could not determine which tasks to execute.
* What went wrong:
Task 'jar' not found in project ':b-one-crm:babel'.
* Try:
Run gradle tasks to get a list of available tasks.
BUILD FAILED
Total time: 5.499 secs
---
But calling the task directly on the sub-project works fine:
---
07:51:34-tk@tk:~/workspace/com.one.crm> gradle b-one-crm:babel:ejb-api:jar
:b-one-crm:common-utils:compileJava UP-TO-DATE
:b-one-crm:common-utils:processResources UP-TO-DATE
:b-one-crm:common-utils:classes UP-TO-DATE
:b-one-crm:common-utils:jar UP-TO-DATE
:b-one-crm:common:ejb-api:compileJava UP-TO-DATE
:b-one-crm:common:ejb-api:processResources UP-TO-DATE
:b-one-crm:common:ejb-api:classes UP-TO-DATE
:b-one-crm:common:ejb-api:jar UP-TO-DATE
:b-one-crm:auth:ejb-api:compileJava UP-TO-DATE
:b-one-crm:auth:ejb-api:processResources UP-TO-DATE
:b-one-crm:auth:ejb-api:classes UP-TO-DATE
:b-one-crm:auth:ejb-api:jar UP-TO-DATE
:b-one-crm:babel:ejb-api:compileJava UP-TO-DATE
:b-one-crm:babel:ejb-api:processResources UP-TO-DATE
:b-one-crm:babel:ejb-api:classes UP-TO-DATE
:b-one-crm:babel:ejb-api:jar UP-TO-DATE
BUILD SUCCESSFUL
Total time: 8.501 secs
----
Any ideas?
Regards
Thor
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email