You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ni...@apache.org on 2009/12/28 17:31:58 UTC
svn commit: r894195 - /commons/sandbox/me/trunk/build.xml
Author: nick
Date: Mon Dec 28 16:31:58 2009
New Revision: 894195
URL: http://svn.apache.org/viewvc?rev=894195&view=rev
Log:
Add support for java 1.6
Modified:
commons/sandbox/me/trunk/build.xml
Modified: commons/sandbox/me/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/me/trunk/build.xml?rev=894195&r1=894194&r2=894195&view=diff
==============================================================================
--- commons/sandbox/me/trunk/build.xml (original)
+++ commons/sandbox/me/trunk/build.xml Mon Dec 28 16:31:58 2009
@@ -26,8 +26,11 @@
<!-- From here on down, you probably don't need to change anything -->
<property environment="env"/>
- <property name="main.jdk.version.source" value="1.1"
- description="JDK version of source code"/>
+ <!-- We really want Java 1.1 source level for the JavaME code -->
+ <!-- However Java 6 doesn't support that, so we need 1.3 there -->
+ <condition property="main.jdk.version.source" value="1.3" else="1.1">
+ <equals arg1="${ant.java.version}" arg2="1.6" />
+ </condition>
<property name="main.jdk.version.class" value="1.1"
description="JDK version of generated class files"/>