You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2007/07/07 22:35:12 UTC

svn commit: r554258 - in /velocity/dvsl/trunk: build.properties build.xml

Author: cbrisson
Date: Sat Jul  7 13:35:12 2007
New Revision: 554258

URL: http://svn.apache.org/viewvc?view=rev&rev=554258
Log:
setting javac flags source, target and encoding

Modified:
    velocity/dvsl/trunk/build.properties
    velocity/dvsl/trunk/build.xml

Modified: velocity/dvsl/trunk/build.properties
URL: http://svn.apache.org/viewvc/velocity/dvsl/trunk/build.properties?view=diff&rev=554258&r1=554257&r2=554258
==============================================================================
--- velocity/dvsl/trunk/build.properties (original)
+++ velocity/dvsl/trunk/build.properties Sat Jul  7 13:35:12 2007
@@ -63,6 +63,14 @@
 # Should Java compilations set the 'optimize' compiler option?
 compile.optimize = true
 
+
+# source and target jdk for javac
+compile.source = 1.5
+compile.target = 1.5
+
+# source files encoding for javac
+compile.encoding = utf-8
+
 # Should all tests fail if one does?
 test.failonerror = true
 

Modified: velocity/dvsl/trunk/build.xml
URL: http://svn.apache.org/viewvc/velocity/dvsl/trunk/build.xml?view=diff&rev=554258&r1=554257&r2=554258
==============================================================================
--- velocity/dvsl/trunk/build.xml (original)
+++ velocity/dvsl/trunk/build.xml Sat Jul  7 13:35:12 2007
@@ -138,7 +138,10 @@
             destdir="${build.home}/classes"
             debug="${compile.debug}"
             deprecation="${compile.deprecation}"
-            optimize="${compile.optimize}">
+            optimize="${compile.optimize}"
+            source="${compile.source}"
+            target="${compile.target}"
+            encoding="${compile.encoding}">
         <classpath refid="classpath"/>
     </javac>
 
@@ -174,7 +177,10 @@
             destdir="${build.home}/tests"
             debug="${compile.debug}"
             deprecation="${compile.deprecation}"
-            optimize="${compile.optimize}">
+            optimize="${compile.optimize}" 
+            source="${compile.source}"
+            target="${compile.target}"
+            encoding="${compile.encoding}">
         <classpath refid="test.classpath"/>
     </javac>