Author: jerome Date: Wed Feb 15 06:24:56 2006 New Revision: 378011 URL: http://svn.apache.org/viewcvs?rev=378011&view=rev Log: Add a log4j library plugin (lib-log4j)
Added: lucene/nutch/trunk/src/plugin/lib-log4j/ lucene/nutch/trunk/src/plugin/lib-log4j/build.xml (with props) lucene/nutch/trunk/src/plugin/lib-log4j/lib/ lucene/nutch/trunk/src/plugin/lib-log4j/lib/log4j-1.2.11.jar (with props) lucene/nutch/trunk/src/plugin/lib-log4j/plugin.xml (with props) Removed: lucene/nutch/trunk/src/plugin/clustering-carrot2/lib/log4j-1.2.11.jar lucene/nutch/trunk/src/plugin/clustering-carrot2/lib/log4j.LICENSE lucene/nutch/trunk/src/plugin/parse-pdf/lib/log4j-1.2.9.jar lucene/nutch/trunk/src/plugin/parse-pdf/lib/log4j-LICENSE.txt lucene/nutch/trunk/src/plugin/parse-rss/lib/log4j-1.2.6.jar Modified: lucene/nutch/trunk/src/plugin/build.xml lucene/nutch/trunk/src/plugin/clustering-carrot2/build.xml lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml lucene/nutch/trunk/src/plugin/parse-pdf/build.xml lucene/nutch/trunk/src/plugin/parse-pdf/plugin.xml lucene/nutch/trunk/src/plugin/parse-rss/build.xml lucene/nutch/trunk/src/plugin/parse-rss/plugin.xml Modified: lucene/nutch/trunk/src/plugin/build.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/build.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/build.xml (original) +++ lucene/nutch/trunk/src/plugin/build.xml Wed Feb 15 06:24:56 2006 @@ -13,6 +13,7 @@ <ant dir="languageidentifier" target="deploy"/> <ant dir="lib-http" target="deploy"/> <ant dir="lib-jakarta-poi" target="deploy"/> + <ant dir="lib-log4j" target="deploy"/> <ant dir="lib-lucene-analyzers" target="deploy"/> <ant dir="lib-parsems" target="deploy"/> <ant dir="nutch-extensionpoints" target="deploy"/> @@ -78,6 +79,7 @@ <ant dir="languageidentifier" target="clean"/> <ant dir="lib-http" target="clean"/> <ant dir="lib-jakarta-poi" target="clean"/> + <ant dir="lib-log4j" target="clean"/> <ant dir="lib-lucene-analyzers" target="clean"/> <ant dir="lib-parsems" target="clean"/> <ant dir="nutch-extensionpoints" target="clean"/> Modified: lucene/nutch/trunk/src/plugin/clustering-carrot2/build.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/clustering-carrot2/build.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/clustering-carrot2/build.xml (original) +++ lucene/nutch/trunk/src/plugin/clustering-carrot2/build.xml Wed Feb 15 06:24:56 2006 @@ -4,4 +4,10 @@ <import file="../build-plugin.xml"/> + <path id="plugin.deps"> + <fileset dir="../lib-log4j/lib"> + <include name="*.jar" /> + </fileset> + </path> + </project> Modified: lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml (original) +++ lucene/nutch/trunk/src/plugin/clustering-carrot2/plugin.xml Wed Feb 15 06:24:56 2006 @@ -29,6 +29,7 @@ <requires> <import plugin="nutch-extensionpoints"/> + <import plugin="lib-log4j"/> </requires> <extension id="org.apache.nutch.clustering.carrot2" Added: lucene/nutch/trunk/src/plugin/lib-log4j/build.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/lib-log4j/build.xml?rev=378011&view=auto ============================================================================== --- lucene/nutch/trunk/src/plugin/lib-log4j/build.xml (added) +++ lucene/nutch/trunk/src/plugin/lib-log4j/build.xml Wed Feb 15 06:24:56 2006 @@ -0,0 +1,17 @@ +<?xml version="1.0"?> + +<project name="lib-log4j" default="jar"> + + <import file="../build-plugin.xml"/> + + <!-- + ! Override the compile and jar targets, + ! since there is nothing to compile here. + ! --> + <target name="compile" depends="init"> + <echo message="Compiling plugin: ${name}"/> + </target> + + <target name="jar" depends="compile"/> + +</project> Propchange: lucene/nutch/trunk/src/plugin/lib-log4j/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: lucene/nutch/trunk/src/plugin/lib-log4j/lib/log4j-1.2.11.jar URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/lib-log4j/lib/log4j-1.2.11.jar?rev=378011&view=auto ============================================================================== Binary file - no diff available. Propchange: lucene/nutch/trunk/src/plugin/lib-log4j/lib/log4j-1.2.11.jar ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: lucene/nutch/trunk/src/plugin/lib-log4j/plugin.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/lib-log4j/plugin.xml?rev=378011&view=auto ============================================================================== --- lucene/nutch/trunk/src/plugin/lib-log4j/plugin.xml (added) +++ lucene/nutch/trunk/src/plugin/lib-log4j/plugin.xml Wed Feb 15 06:24:56 2006 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ! Log4j library + ! (http://logging.apache.org/log4j/) + ! + ! Dowload : http://logging.apache.org/site/binindex.cgi + ! License : http://www.apache.org/licenses/LICENSE-2.0.txt + !--> +<plugin + id="lib-log4j" + name="Log4j" + version="1.2.11" + provider-name="org.apache.log4j"> + + <runtime> + <library name="log4j-1.2.11.jar"> + <export name="*"/> + </library> + </runtime> + +</plugin> Propchange: lucene/nutch/trunk/src/plugin/lib-log4j/plugin.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: lucene/nutch/trunk/src/plugin/parse-pdf/build.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/parse-pdf/build.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/parse-pdf/build.xml (original) +++ lucene/nutch/trunk/src/plugin/parse-pdf/build.xml Wed Feb 15 06:24:56 2006 @@ -4,6 +4,12 @@ <import file="../build-plugin.xml"/> + <path id="plugin.deps"> + <fileset dir="../lib-log4j/lib"> + <include name="*.jar" /> + </fileset> + </path> + <!-- for junit test --> <mkdir dir="${build.test}/data"/> <copy file="sample/pdftest.pdf" todir="${build.test}/data"/> Modified: lucene/nutch/trunk/src/plugin/parse-pdf/plugin.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/parse-pdf/plugin.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/parse-pdf/plugin.xml (original) +++ lucene/nutch/trunk/src/plugin/parse-pdf/plugin.xml Wed Feb 15 06:24:56 2006 @@ -16,6 +16,7 @@ <requires> <import plugin="nutch-extensionpoints"/> + <import plugin="lib-log4j"/> </requires> <extension id="org.apache.nutch.parse.pdf" Modified: lucene/nutch/trunk/src/plugin/parse-rss/build.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/parse-rss/build.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/parse-rss/build.xml (original) +++ lucene/nutch/trunk/src/plugin/parse-rss/build.xml Wed Feb 15 06:24:56 2006 @@ -4,6 +4,11 @@ <import file="../build-plugin.xml"/> + <path id="plugin.deps"> + <fileset dir="../lib-log4j/lib"> + <include name="*.jar" /> + </fileset> + </path> <!-- for junit test --> <mkdir dir="${build.test}/data"/> Modified: lucene/nutch/trunk/src/plugin/parse-rss/plugin.xml URL: http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/plugin/parse-rss/plugin.xml?rev=378011&r1=378010&r2=378011&view=diff ============================================================================== --- lucene/nutch/trunk/src/plugin/parse-rss/plugin.xml (original) +++ lucene/nutch/trunk/src/plugin/parse-rss/plugin.xml Wed Feb 15 06:24:56 2006 @@ -24,6 +24,7 @@ <requires> <import plugin="nutch-extensionpoints"/> + <import plugin="lib-log4j"/> </requires> <extension id="org.apache.nutch.parse.rss"