You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2007/02/18 03:40:14 UTC

svn commit: r508858 - /webservices/axis2/trunk/java/maven.xml

Author: dims
Date: Sat Feb 17 18:40:14 2007
New Revision: 508858

URL: http://svn.apache.org/viewvc?view=rev&rev=508858
Log:
Fix for AXIS2-2199 - maven build - java version check is not working correctly

Modified:
    webservices/axis2/trunk/java/maven.xml

Modified: webservices/axis2/trunk/java/maven.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/maven.xml?view=diff&rev=508858&r1=508857&r2=508858
==============================================================================
--- webservices/axis2/trunk/java/maven.xml (original)
+++ webservices/axis2/trunk/java/maven.xml Sat Feb 17 18:40:14 2007
@@ -63,14 +63,13 @@
     </tstamp>
 
     <!-- Test for >= JDK 1.5 to determine whether to include modules that require it -->
-
-    <ant:echo>${ant.java.version}</ant:echo>
-
-    <j:if test="${ant.java.version == '1.5'}">
-        <ant:echo>
-            JDK ${ant.java.version} detected, including the following modules:
+    <echo message="Current Java Version is: ${java.specification.version}"/>
+    <j:set var="javaVersion" value="${java.specification.version}"/>
+    <j:if test="${javaVersion == '1.5'}">
+        <echo>
+            JDK ${java.specification.version} detected, including the following modules:
             ${maven.multiproject.includes.requiresJDK15}
-        </ant:echo>
+        </echo>
         <j:set var="maven.multiproject.includes"
                value="${maven.multiproject.includes},${maven.multiproject.includes.requiresJDK15}"/>
     </j:if>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org