Author: lewismc
Date: Wed Mar  6 22:15:55 2013
New Revision: 1453593

URL: http://svn.apache.org/r1453593
Log:
NUTCH-842 AutoGenerate WebPage code

Modified:
    nutch/branches/2.x/CHANGES.txt
    nutch/branches/2.x/build.xml

Modified: nutch/branches/2.x/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/nutch/branches/2.x/CHANGES.txt?rev=1453593&r1=1453592&r2=1453593&view=diff
==============================================================================
--- nutch/branches/2.x/CHANGES.txt (original)
+++ nutch/branches/2.x/CHANGES.txt Wed Mar  6 22:15:55 2013
@@ -2,6 +2,8 @@ Nutch Change Log
 
 Release 2.2 - Current Development
 
+* NUTCH-842 AutoGenerate WebPage code (jnioche via lewismc)
+
 * NUTCH-1536 Ant build file has hardcoded conf dir location (zm via lewismc)
 
 * NUTCH-XX remove unused db.max.inlinks property in nutch-default.xml (lewismc)

Modified: nutch/branches/2.x/build.xml
URL: 
http://svn.apache.org/viewvc/nutch/branches/2.x/build.xml?rev=1453593&r1=1453592&r2=1453593&view=diff
==============================================================================
--- nutch/branches/2.x/build.xml (original)
+++ nutch/branches/2.x/build.xml Wed Mar  6 22:15:55 2013
@@ -527,6 +527,18 @@
        
        </target>
 
+   <!-- ====================================================== -->
+  <!-- Generate the Java files from the GORA schemas          -->
+  <!-- Will call this automatically later                     -->
+  <!-- ====================================================== -->
+  <target name="generate-gora-src" depends="init" description="--> compile the 
avro schema(s) in src/gora/*.avsc">
+    <java classname="org.apache.gora.compiler.GoraCompiler">
+     <classpath refid="classpath"/>
+     <arg value="src/gora/webpage.avsc"/>
+     <arg value="${src.dir}"/>
+    </java>
+ </target>
+
  <!-- ================================================================== -->
  <!-- Documentation -->
  <!-- ================================================================== -->


Reply via email to