On Jun 9, 2009, at 3:27 PM, cressie176 wrote:

Thanks for the explanation. Your suggestion worked as far as "gradle compile" is concerned, but "gradle eclipse" still reports unresloved dependencies...
:::: WARNINGS
                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

:: org.springframework#org.springframework.context;3.0.0.M3: configuration not found in org.springframework#org.springframework.context;3.0.0.M3: 'default'. It was required from unspecified#Residue;unspecified copyOftestRuntime

:: org.springframework#org.springframework.web;3.0.0.M3: configuration not found in org.springframework#org.springframework.web;3.0.0.M3: 'default'. It was required from unspecified#Residue;unspecified copyOftestRuntime
even when the dependencies are specified as follows:
                
compile group: "org.springframework", name: "org.springframework.web", version: "3.0.0.M3", configuration: "runtime" compile group: "org.springframework", name: "org.springframework.web.servlet", version: "3.0.0.M3", configuration: "runtime" compile group: "org.springframework", name: "org.springframework.core", version: "3.0.0.M3", configuration: "runtime"

This is a bug. It is due to the fact that the copy method of a dependency does not copy a configuration. I have filed an issue: http://jira.codehaus.org/browse/GRADLE-518

I have already fixed my working copy. The build is just running. So this should be fixed in trunk soon.

Thanks

- Hans

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


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

   http://xircles.codehaus.org/manage_email


Reply via email to