In a project’s build.xml there is a properity
<property name="ant.build.javac.source" value="1.7"/>
it is not used in other places in the build.xml, but if i modify it’s value to 1.6, i will
get an error.
what does this properity mean?
i am in China, Google has been blocked here…..
http://ant.apache.org/manual/javacprops.html
They define values for the
javac(andjavadoc) task since there are no default values.This can cause problems in some circumstances, so magic properties were defined.
If you’re trying to compile 1.7 source using a 1.6 compiler you’ll have issues if you’re using 1.7 constructs/etc.