Oliver Jowett <oliver(at)opencloud(dot)com> writes:> You could try adding 'source="1.5"' as an attribute of the <javac> task.
I'll give that a shot tomorrow; thanks to you and Dave for the suggestion.
> Or if you're running Ant 1.7 you can pass -Dant.build.javac.source=1.5 > on the ant command line. (both untested)
This would be easier (no patch needed), but it looks like FC7's ant isstill 1.6.5, so no dice.
regards, tom lane