Specify java 1.6 compatibility in the compile steps, instead of java 1.5

This commit is contained in:
jeb228 2010-06-02 20:30:17 +00:00
parent 55e68bb232
commit 5f5d4b98ac

View file

@ -150,7 +150,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
debug="true"
deprecation="true"
optimize="true"
source="1.5">
source="1.6">
<classpath refid="compile.classpath" />
</javac>
</target>
@ -164,7 +164,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
debug="true"
deprecation="true"
optimize="false"
source="1.5">
source="1.6">
<classpath refid="test.compile.classpath" />
</javac>
@ -271,9 +271,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
</sync>
<!-- Discard any template files from previous builds. -->
<sync todir="${webapp.deploy.home}/themes"
includeemptydirs="true"
failonerror="false">
<sync todir="${webapp.deploy.home}/themes" includeemptydirs="true" failonerror="false">
<fileset dir="${build.dir}/war/themes" includes="**/*" />
</sync>
</target>
@ -297,4 +295,5 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
<redirector outputproperty="licenser.test.output" alwayslog="true" />
</exec>
</target>
</project>