You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by dl...@apache.org on 2006/09/14 00:44:16 UTC

svn commit: r443152 - /jakarta/velocity/engine/branches/VEL_1_4_BRANCH/build/build.xml

Author: dlr
Date: Wed Sep 13 15:44:16 2006
New Revision: 443152

URL: http://svn.apache.org/viewvc?view=rev&rev=443152
Log:
* build/build.xml
  Add markup to <javac> invocations to supply the "-source 1.4" flag
  to Sun's compiler, to avoid collisions between the 1.5 "enum"
  keyword and the variable names used on this branch.

Target branch: VEL_1_4_BRANCH

Modified:
    jakarta/velocity/engine/branches/VEL_1_4_BRANCH/build/build.xml

Modified: jakarta/velocity/engine/branches/VEL_1_4_BRANCH/build/build.xml
URL: http://svn.apache.org/viewvc/jakarta/velocity/engine/branches/VEL_1_4_BRANCH/build/build.xml?view=diff&rev=443152&r1=443151&r2=443152
==============================================================================
--- jakarta/velocity/engine/branches/VEL_1_4_BRANCH/build/build.xml (original)
+++ jakarta/velocity/engine/branches/VEL_1_4_BRANCH/build/build.xml Wed Sep 13 15:44:16 2006
@@ -186,7 +186,8 @@
       destdir="${build.dest}"
       debug="${debug}"
       deprecation="${deprecation}"
-      optimize="${optimize}">
+      optimize="${optimize}"
+      source="1.4">
 
       <exclude  name="org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java"/>
       
@@ -205,7 +206,8 @@
       destdir="${build.dest}"
       debug="${debug}"
       deprecation="${deprecation}"
-      optimize="${optimize}">
+      optimize="${optimize}"
+      source="1.4">
       
       <classpath refid="classpath"/>
     </javac>
@@ -424,7 +426,8 @@
                   :${example.dir}/event_example"
       debug="${debug}"
       deprecation="${deprecation}"
-      optimize="${optimize}">
+      optimize="${optimize}"
+      source="1.4">
 
       <classpath>
         <path refid="classpath"/>
@@ -872,7 +875,8 @@
       destdir="${demo.dest}"
       debug="${debug}"
       deprecation="${deprecation}"
-      optimize="${optimize}">
+      optimize="${optimize}"
+      source="1.4">
       
      <classpath>
         <pathelement location="${build.dest}"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org