Author: dion Date: Thu Feb 22 15:26:56 2007 New Revision: 510706 URL: http://svn.apache.org/viewvc?view=rev&rev=510706 Log: EMAIL-62: Build patches to enforce source 1.4 and target 1.4 when compiling
Modified: jakarta/commons/proper/email/trunk/build.xml jakarta/commons/proper/email/trunk/project.properties Modified: jakarta/commons/proper/email/trunk/build.xml URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/build.xml?view=diff&rev=510706&r1=510705&r2=510706 ============================================================================== --- jakarta/commons/proper/email/trunk/build.xml (original) +++ jakarta/commons/proper/email/trunk/build.xml Thu Feb 22 15:26:56 2007 @@ -88,7 +88,7 @@ <target name="compile" description="o Compile the code" depends="get-deps"> <mkdir dir="${classesdir}"> </mkdir> - <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html" source="1.3" target="1.3"> + <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html" source="1.4" target="1.4"> <src> <pathelement location="${basedir}/src/java"> </pathelement> @@ -163,7 +163,7 @@ <target name="compile-tests" if="Junit.present" depends="junit-present,compile"> <mkdir dir="${testclassesdir}"> </mkdir> - <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> + <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html" source="1.4" target="1.4"> <src> <pathelement location="${basedir}/src/test"> </pathelement> Modified: jakarta/commons/proper/email/trunk/project.properties URL: http://svn.apache.org/viewvc/jakarta/commons/proper/email/trunk/project.properties?view=diff&rev=510706&r1=510705&r2=510706 ============================================================================== --- jakarta/commons/proper/email/trunk/project.properties (original) +++ jakarta/commons/proper/email/trunk/project.properties Thu Feb 22 15:26:56 2007 @@ -54,9 +54,9 @@ # used to generate the download page #maven.xdoc.distributionUrl=http://www.apache.org/dist/java-repository/commons-email/jars -# Compiler settings - we are targetting JDK 1.3 as minimum runtime requirement -maven.compile.source=1.3 -maven.compile.target=1.3 +# Compiler settings - we are targetting JDK 1.4 as minimum runtime requirement +maven.compile.source=1.4 +maven.compile.target=1.4 # used to ensure the source distribution unpacks into commons-email-VERSION-src maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]