Thanks a lot Steven for all your feedback.

On Oct 26, 2009, at 5:50 PM, Steven Devijver wrote:

Hey all,

I've encountered the next problem with the Spring build. I'm using the latest build. For some reason which I can't identify Gradle compiles the depended upon projects twice (build fails on the second iteration).

Were is something compiled twice in the output below?

The modules/spring-beans/java15 project has no build.gradle for defining any dependencies. Shouldn't there be one?

Also, the from zipTree(jar) method does not seem to fill the Jar task (many thanks to Hans for his previous reply).

I will check this once we get the other stuff running.

- Hans

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


Below is the output which shows both problems. I've also uploaded the entire project here:

http://drop.io/yvfvtux

Thanks for your help

Steven


C:\dev\spring-framework-2.5.6.SEC01>gradle clean build upload
:modules:spring-beans:clean
:modules:spring-core:clean
:modules:spring-beans:java14:clean
:modules:spring-beans:java15:clean
:modules:spring-core:java14:clean
:modules:spring-core:java15:clean
:modules:spring-core:java14:compileJava
:modules:spring-core:java14:processResources
:modules:spring-core:java14:classes
:modules:spring-core:java14:jar
:modules:spring-core:java15:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:modules:spring-core:java15:processResources
:modules:spring-core:java15:classes
:modules:spring-core:java15:jar
:modules:spring-core:moduleJar
C:\dev\spring-framework-2.5.6.SEC01\modules\spring-core\java14\build \libs\java14
-2.5.6.SEC01.jar: true
C:\dev\spring-framework-2.5.6.SEC01\modules\spring-core\java15\build \libs\java15
-2.5.6.SEC01.jar: true
[ant:jar] Warning: skipping jar archive C:\dev\spring- framework-2.5.6.SEC01\modu les\spring-core\build\jar_for_module\spring-core.jar because no files were inclu
ded.
:modules:spring-beans:java14:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:modules:spring-beans:java14:processResources
:modules:spring-beans:java14:classes
:modules:spring-beans:java14:jar
:modules:spring-beans:java14:assemble
:modules:spring-beans:java14:compileTestJava
:modules:spring-beans:java14:processTestResources
:modules:spring-beans:java14:testClasses
:modules:spring-beans:java14:test
:modules:spring-beans:java14:check
:modules:spring-beans:java14:build
:modules:spring-beans:java15:compileJava
C:\dev\spring-framework-2.5.6.SEC01\tiger\src\org\springframework \beans\annotati
on\AnnotationBeanUtils.java:25: cannot find symbol
symbol  : class BeanWrapper
location: package org.springframework.beans
import org.springframework.beans.BeanWrapper;
                                ^
C:\dev\spring-framework-2.5.6.SEC01\tiger\src\org\springframework \beans\annotati
on\AnnotationBeanUtils.java:26: cannot find symbol
symbol  : class PropertyAccessorFactory
location: package org.springframework.beans
import org.springframework.beans.PropertyAccessorFactory;

[...]

C:\dev\spring-framework-2.5.6.SEC01\tiger\src\org\springframework \beans\factory\ annotation\CustomAutowireConfigurer.java:28: package org.springframework.core do
es not exist
import org.springframework.core.Ordered;
                               ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors

FAILURE: Build failed with an exception.

* Where:
Empty build file

* What went wrong:
Execution failed for task ':modules:spring-beans:java15:compileJava'.
Cause: Compile failed; see the compiler error output for details.

* Try:
Run with -s or -d option to get more details. Run with -S option to get the full
 (very verbose) stacktrace.

BUILD FAILED

Total time: 48.078 secs




Reply via email to