hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r497203 - in /lucene/hadoop/trunk: CHANGES.txt build.xml
Date Wed, 17 Jan 2007 22:08:25 GMT
Author: cutting
Date: Wed Jan 17 14:08:24 2007
New Revision: 497203

URL: http://svn.apache.org/viewvc?view=rev&rev=497203
Log:
HADOOP-897.  Add a 'javac.args' property to build.xml.  Contributed by Milind.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/build.xml

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=497203&r1=497202&r2=497203
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Jan 17 14:08:24 2007
@@ -35,6 +35,9 @@
  9. HADOOP-886.  Reduce number of timer threads created by metrics API
     by pooling contexts.  (Nigel Daley via cutting)
 
+10. HADOOP-897.  Add a "javac.args" property to build.xml that permits
+    one to pass arbitrary options to javac. (Milind Bhandarkar via cutting)
+
 
 Release 0.10.1 - 2007-01-10
 

Modified: lucene/hadoop/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/build.xml?view=diff&rev=497203&r1=497202&r2=497203
==============================================================================
--- lucene/hadoop/trunk/build.xml (original)
+++ lucene/hadoop/trunk/build.xml Wed Jan 17 14:08:24 2007
@@ -65,6 +65,7 @@
   <property name="javac.optimize" value="on"/>
   <property name="javac.deprecation" value="off"/>
   <property name="javac.version" value="1.5"/>
+  <property name="javac.args" value=""/>
 
   <!-- the normal classpath -->
   <path id="classpath">
@@ -155,6 +156,7 @@
         target="${javac.version}"
         source="${javac.version}"
         deprecation="${javac.deprecation}">
+        <compilerarg line="${javac.args}"/>
         <classpath refid="classpath"/>
     </javac>
     
@@ -205,6 +207,7 @@
      target="${javac.version}"
      source="${javac.version}"
      deprecation="${javac.deprecation}">
+      <compilerarg line="${javac.args}" />
       <classpath refid="classpath"/>
     </javac>    
 
@@ -281,6 +284,7 @@
      target="${javac.version}"
      source="${javac.version}"
      deprecation="${javac.deprecation}">
+      <compilerarg line="${javac.args}" />
       <classpath refid="classpath"/>
     </javac>    
   </target>
@@ -361,6 +365,7 @@
      target="${javac.version}"
      source="${javac.version}"
      deprecation="${javac.deprecation}">
+      <compilerarg line="${javac.args}" />
       <classpath refid="test.classpath"/>
     </javac>
     <javac 
@@ -373,6 +378,7 @@
      target="${javac.version}"
      source="${javac.version}"
      deprecation="${javac.deprecation}">
+      <compilerarg line="${javac.args}" />
       <classpath refid="test.classpath"/>
     </javac> 
     <javac
@@ -385,6 +391,7 @@
      target="${javac.version}"
      source="${javac.version}"
      deprecation="${javac.deprecation}">
+      <compilerarg line="${javac.args}" />
       <classpath refid="test.classpath"/>
     </javac>                                 
     <delete file="${test.build.testjar}/testjob.jar"/> 



Mime
View raw message