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