Revision 8823
Added by Jing Tao over 10 years ago
build.xml | ||
---|---|---|
509 | 509 |
description="Compiles java code to build dir, and copies metacat props files there"> |
510 | 510 |
|
511 | 511 |
<javac srcdir="${build.src}" destdir="${build.dest}" |
512 |
target="1.6" |
|
512 | 513 |
debug="${debug}" |
513 | 514 |
excludes="**/*.sql **/client/*.java **/harvesterClient/*.java"> |
514 | 515 |
<classpath> |
Also available in: Unified diff
Add the attribute target="1.6" when it compiles the metacat code.
The metacat.jar file can run in java 1.6 even though it was compiled in java 1.7.