Hello,
I have just started looking into Gradle, great great tool, I'm finally
having some fun writing build scripts.


I have a problem though, related to multi project dependencies:


I have the following project structure


-common

--util

-schema

-service

--service1

---service1-web

----build.gradle

---service1-ear

--service2

---service2-web

----build.gradle

---service2-ear

build.gradle

settings.gradle


The settings.gradle file looks like:



include 'schema', 'common:util', 'service:service1-web', service1-ear',
'service2-web', 'service2-ear'


In the root build.gradle file I have a task named "wlsdc" that *should*
generate a bunch of classes in the build folder of any "*-web" sub project.

When I execute "gradle wsldc" in the "service1-web" folder the task
generates the files in the build folder of "service2-web"! If I remove 



'service2-web', 'service2-ear'


from settings.gradle then the generated files are correctly placed in
"service1-web/build".


I hope that my explanation makes sense. I'm using Gradle 0.8.


Best

Luciano


-- 
View this message in context: 
http://old.nabble.com/test-tp27874115p27874115.html
Sent from the gradle-user mailing list archive at Nabble.com.

Reply via email to