Author: cbrisson
Date: Sat Jul  7 13:35:56 2007
New Revision: 554259

URL: http://svn.apache.org/viewvc?view=rev&rev=554259
Log:
setting javac flags source, target and encoding (1.0 branch)

Modified:
    velocity/dvsl/branches/DVSL_1.0/build.properties
    velocity/dvsl/branches/DVSL_1.0/build.xml

Modified: velocity/dvsl/branches/DVSL_1.0/build.properties
URL: 
http://svn.apache.org/viewvc/velocity/dvsl/branches/DVSL_1.0/build.properties?view=diff&rev=554259&r1=554258&r2=554259
==============================================================================
--- velocity/dvsl/branches/DVSL_1.0/build.properties (original)
+++ velocity/dvsl/branches/DVSL_1.0/build.properties Sat Jul  7 13:35:56 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/branches/DVSL_1.0/build.xml
URL: 
http://svn.apache.org/viewvc/velocity/dvsl/branches/DVSL_1.0/build.xml?view=diff&rev=554259&r1=554258&r2=554259
==============================================================================
--- velocity/dvsl/branches/DVSL_1.0/build.xml (original)
+++ velocity/dvsl/branches/DVSL_1.0/build.xml Sat Jul  7 13:35:56 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>
 


Reply via email to