Project

General

Profile

« Previous | Next » 

Revision 9188

Added by Jing Tao about 9 years ago

Make target and source code to be compatiable to java 1.7 rather than 1.6.

View differences:

build.xml
33 33
         xmlns:artifact="antlib:org.apache.maven.artifact.ant">
34 34
	<property environment="env" />
35 35
	<property file="build.properties" /><!-- USER SPECIFIC PROPS -->
36
	<property name="java.target.version" value="1.6" /> <!-- the target version for java compilation-->
37
	<property name="java.source.version" value="1.6" /> <!-- the source code version for java compilation-->
36
	<property name="java.target.version" value="1.7" /> <!-- the target version for java compilation-->
37
	<property name="java.source.version" value="1.7" /> <!-- the source code version for java compilation-->
38 38

  
39 39
    <!-- Configure the maven2 ant tasks -->
40 40
    <path id="maven-ant-tasks.classpath" path="lib/maven-ant-tasks-2.1.0.jar" />

Also available in: Unified diff