spring-projects / spring-framework

Spring Framework
https://spring.io/projects/spring-framework
Apache License 2.0
56.44k stars 38.08k forks source link

Can't build Spring with Ant 1.6.2 and JDK 1.5 [SPR-228] #4959

Closed spring-projects-issues closed 20 years ago

spring-projects-issues commented 20 years ago

Jérôme BERNARD opened SPR-228 and commented

By default when using the "javac" ant task, if the "source" attribute is not specified, the one of the current JVM is used. This causes some problems with JDK 1.5.


Affects: 1.1 RC1

Attachments:

spring-projects-issues commented 20 years ago

Jérôme BERNARD commented

Added a patch that fixes this issue. Mainly specified the "source" attribute on all "javac" tasks to "1.3" (like the "target" attribute).

spring-projects-issues commented 20 years ago

Jérôme BERNARD commented

I forgot to update the "javadoc" task too. Add a "source" attribute set to "1.3" in the "javadoc" task after applying the patch. Sorry :-(

spring-projects-issues commented 20 years ago

Juergen Hoeller commented

Applied: specifying -source 1.3 wherever necessary now, to allow building with JDK 1.5.

Juergen