Apache Nutch is an extensible and scalable web crawler
Fix inconsistent end-of-line style. Discovered this when trying to import to a separate subversion repo.
Andrzej Bialeckic34ff72eedaf
diff --git a/contrib/web2/plugins/web-caching-oscache/build.xml b/contrib/web2/plugins/web-caching-oscache/build.xmlindex 5b39e7196..799317222 100644--- a/contrib/web2/plugins/web-caching-oscache/build.xml+++ b/contrib/web2/plugins/web-caching-oscache/build.xml@@ -1,4 +1,4 @@-<?xml version="1.0"?>+<?xml version="1.0"?><!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed with@@ -14,21 +14,21 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->-<project name="web-caching-oscache" default="jar-core">-- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />-- <target name="init-plugin">- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>--</project>+-->+<project name="web-caching-oscache" default="jar-core">++ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />++ <target name="init-plugin">+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>++</project>diff --git a/contrib/web2/plugins/web-caching-oscache/plugin.xml b/contrib/web2/plugins/web-caching-oscache/plugin.xmlindex c2b638416..8ecf837e9 100644--- a/contrib/web2/plugins/web-caching-oscache/plugin.xml+++ b/contrib/web2/plugins/web-caching-oscache/plugin.xml@@ -1,4 +1,4 @@-<?xml version="1.0" encoding="UTF-8"?>+<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed with@@ -16,25 +16,25 @@limitations under the License.--><plugin id="web-caching-oscache" name="Search result caching"- version="1.0.0" provider-name="apache.org">-- <runtime>- <library name="web-caching-oscache.jar">- <export name="*" />- </library>-- <library name="oscache-2.1.jar" />- </runtime>-- <requires>+ version="1.0.0" provider-name="apache.org">++ <runtime>+ <library name="web-caching-oscache.jar">+ <export name="*" />+ </library>++ <library name="oscache-2.1.jar" />+ </runtime>++ <requires><import plugin="webui-extensionpoints" />- </requires>-+ </requires>+<extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Nutch ui extension point"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-caching-oscache"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>--</plugin>+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension>++</plugin>diff --git a/contrib/web2/plugins/web-caching-oscache/src/conf/tiles-defs.xml b/contrib/web2/plugins/web-caching-oscache/src/conf/tiles-defs.xmlindex 435a1564d..cae57b523 100644--- a/contrib/web2/plugins/web-caching-oscache/src/conf/tiles-defs.xml+++ b/contrib/web2/plugins/web-caching-oscache/src/conf/tiles-defs.xml@@ -1,5 +1,5 @@-<?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"><tiles-definitions><!-- Search --><definition name="searchPage" extends="template"@@ -7,4 +7,4 @@<put name="title" value="search.title" /><put name="pageBody" value="search" /></definition>-</tiles-definitions>+</tiles-definitions>diff --git a/contrib/web2/plugins/web-clustering/build.xml b/contrib/web2/plugins/web-clustering/build.xmlindex 81b94d3dc..7f5545fba 100644--- a/contrib/web2/plugins/web-clustering/build.xml+++ b/contrib/web2/plugins/web-clustering/build.xml@@ -14,22 +14,22 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->-<project name="web-clustering" default="jar-core">- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />- <target name="init-plugin">- <echo>Copying resources templates</echo>- <copy todir="${build.classes}/resources">- <fileset dir="${resources.dir}" includes="**/*" />- </copy>- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>-</project>+-->+<project name="web-clustering" default="jar-core">+ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />+ <target name="init-plugin">+ <echo>Copying resources templates</echo>+ <copy todir="${build.classes}/resources">+ <fileset dir="${resources.dir}" includes="**/*" />+ </copy>+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>+</project>diff --git a/contrib/web2/plugins/web-clustering/plugin.xml b/contrib/web2/plugins/web-clustering/plugin.xmlindex eda5f8852..bf5bc4000 100644--- a/contrib/web2/plugins/web-clustering/plugin.xml+++ b/contrib/web2/plugins/web-clustering/plugin.xml@@ -14,17 +14,17 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->+--><plugin id="web-clustering" name="Clustering web interface extension"- version="1.0.0" provider-name="apache.org">-- <runtime>- <library name="web-clustering.jar">- <export name="*" />- </library>- </runtime>-- <requires>+ version="1.0.0" provider-name="apache.org">++ <runtime>+ <library name="web-clustering.jar">+ <export name="*" />+ </library>+ </runtime>++ <requires><import plugin="webui-extensionpoints" /><!--Following is not a proper requirement, should really require@@ -34,25 +34,25 @@into a plugin?)-->- <import plugin="clustering-carrot2" />- </requires>-+ <import plugin="clustering-carrot2" />+ </requires>+<extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Clustering extension for Web UI"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-clustering"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>-+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension>+<extension-pointid="org.apache.nutch.webapp.extension.PreSearchExtensionPoint"- name="Pre search extension" />-+ name="Pre search extension" />+<extensionid="org.apache.nutch.webapp.extension.PreSearchExtensionPoint"name="Clustering extension for Web UI"- point="org.apache.nutch.webapp.extension.PreSearchExtensionPoint">+ point="org.apache.nutch.webapp.extension.PreSearchExtensionPoint"><implementation id="web-clustering-presearch"- class="org.apache.nutch.clustering.ClusteringPresearchExtension" />- </extension>-</plugin>+ class="org.apache.nutch.clustering.ClusteringPresearchExtension" />+ </extension>+</plugin>diff --git a/contrib/web2/plugins/web-keymatch/build.xml b/contrib/web2/plugins/web-keymatch/build.xmlindex bf18f0498..b8240cbd3 100644--- a/contrib/web2/plugins/web-keymatch/build.xml+++ b/contrib/web2/plugins/web-keymatch/build.xml@@ -14,22 +14,22 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->-<project name="web-keymatch" default="jar-core">- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />- <target name="init-plugin">- <echo>Copying resources templates</echo>- <copy todir="${build.classes}/resources">- <fileset dir="${resources.dir}" includes="**/*" />- </copy>- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>-</project>+-->+<project name="web-keymatch" default="jar-core">+ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />+ <target name="init-plugin">+ <echo>Copying resources templates</echo>+ <copy todir="${build.classes}/resources">+ <fileset dir="${resources.dir}" includes="**/*" />+ </copy>+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>+</project>diff --git a/contrib/web2/plugins/web-keymatch/plugin.xml b/contrib/web2/plugins/web-keymatch/plugin.xmlindex 1edec5361..c81eea321 100644--- a/contrib/web2/plugins/web-keymatch/plugin.xml+++ b/contrib/web2/plugins/web-keymatch/plugin.xml@@ -14,25 +14,25 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->+--><plugin id="web-keymatch" name="KeyMatcher for promoting urls"- version="1.0.0" provider-name="apache.org">-- <runtime>- <library name="web-keymatch.jar">- <export name="*" />- </library>- </runtime>-- <requires>+ version="1.0.0" provider-name="apache.org">++ <runtime>+ <library name="web-keymatch.jar">+ <export name="*" />+ </library>+ </runtime>++ <requires><import plugin="webui-extensionpoints" />- </requires>-+ </requires>+<extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Nutch ui extension point"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-keymatch"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>--</plugin>+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension>++</plugin>diff --git a/contrib/web2/plugins/web-more/build.xml b/contrib/web2/plugins/web-more/build.xmlindex f2fff27c7..709869168 100644--- a/contrib/web2/plugins/web-more/build.xml+++ b/contrib/web2/plugins/web-more/build.xml@@ -15,20 +15,20 @@See the License for the specific language governing permissions andlimitations under the License.-->-<project name="web-more" default="jar-core">-- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />-- <target name="init-plugin">- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>--</project>+<project name="web-more" default="jar-core">++ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />++ <target name="init-plugin">+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>++</project>diff --git a/contrib/web2/plugins/web-more/plugin.xml b/contrib/web2/plugins/web-more/plugin.xmlindex 86b9edb37..4ec14b164 100644--- a/contrib/web2/plugins/web-more/plugin.xml+++ b/contrib/web2/plugins/web-more/plugin.xml@@ -14,25 +14,25 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->+--><plugin id="web-more" name="diplay information from index-more plgin"- version="1.0.0" provider-name="apache.org">-- <runtime>- <library name="web-more.jar">- <export name="*" />- </library>- </runtime>-- <requires>+ version="1.0.0" provider-name="apache.org">++ <runtime>+ <library name="web-more.jar">+ <export name="*" />+ </library>+ </runtime>++ <requires><import plugin="webui-extensionpoints" />- </requires>-+ </requires>+<extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Nutch ui extension point"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-more"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>--</plugin>+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension>++</plugin>diff --git a/contrib/web2/plugins/web-more/src/conf/tiles-defs.xml b/contrib/web2/plugins/web-more/src/conf/tiles-defs.xmlindex 115611770..3597771ef 100644--- a/contrib/web2/plugins/web-more/src/conf/tiles-defs.xml+++ b/contrib/web2/plugins/web-more/src/conf/tiles-defs.xml@@ -1,5 +1,5 @@-<?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"><tiles-definitions><definition name="more" path="/plugin/more.jsp" controllerClass="org.apache.nutch.webapp.controller.MoreController"><putList name="moreNames" id="moreNames">@@ -9,4 +9,4 @@<add value="lastModified" type="string"/></putList></definition>-</tiles-definitions>+</tiles-definitions>diff --git a/contrib/web2/plugins/web-query-propose-ontology/build.xml b/contrib/web2/plugins/web-query-propose-ontology/build.xmlindex e9f01ce8d..f9672b1bc 100644--- a/contrib/web2/plugins/web-query-propose-ontology/build.xml+++ b/contrib/web2/plugins/web-query-propose-ontology/build.xml@@ -14,22 +14,22 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->-<project name="web-query-propose-ontology" default="jar-core">- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />- <target name="init-plugin">- <echo>Copying resources templates</echo>- <copy todir="${build.classes}/resources">- <fileset dir="${resources.dir}" includes="**/*" />- </copy>- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>-</project>+-->+<project name="web-query-propose-ontology" default="jar-core">+ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />+ <target name="init-plugin">+ <echo>Copying resources templates</echo>+ <copy todir="${build.classes}/resources">+ <fileset dir="${resources.dir}" includes="**/*" />+ </copy>+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>+</project>diff --git a/contrib/web2/plugins/web-query-propose-ontology/plugin.xml b/contrib/web2/plugins/web-query-propose-ontology/plugin.xmlindex 5f06d75a0..9cda6e1d6 100644--- a/contrib/web2/plugins/web-query-propose-ontology/plugin.xml+++ b/contrib/web2/plugins/web-query-propose-ontology/plugin.xml@@ -14,26 +14,26 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->+--><plugin id="web-query-propose-ontology" name="Ontology query proposer"- version="1.0.0" provider-name="apache.org">-- <runtime>- <library name="web-query-propose-ontology.jar">- <export name="*" />- </library>- </runtime>-- <requires>+ version="1.0.0" provider-name="apache.org">++ <runtime>+ <library name="web-query-propose-ontology.jar">+ <export name="*" />+ </library>+ </runtime>++ <requires><import plugin="webui-extensionpoints" />- <import plugin="ontology" />- </requires>-+ <import plugin="ontology" />+ </requires>+<extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Nutch ui extension point"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-query-propose-ontology"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>--</plugin>+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension>++</plugin>diff --git a/contrib/web2/plugins/web-query-propose-spellcheck/src/conf/tiles-defs.xml b/contrib/web2/plugins/web-query-propose-spellcheck/src/conf/tiles-defs.xmlindex b4ab94788..2c2e08b52 100644--- a/contrib/web2/plugins/web-query-propose-spellcheck/src/conf/tiles-defs.xml+++ b/contrib/web2/plugins/web-query-propose-spellcheck/src/conf/tiles-defs.xml@@ -1,8 +1,8 @@-<?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "/WEB-INF/dtd/tiles-config_1_1.dtd">-<tiles-definitions>+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "/WEB-INF/dtd/tiles-config_1_1.dtd">+<tiles-definitions><definition name="propose"path="/plugin/web-query-propose-spellcheck/propose.jsp"controllerClass="org.apache.nutch.webapp.controller.SpellCheckController"/>-</tiles-definitions>+</tiles-definitions>diff --git a/contrib/web2/plugins/web-resources/build.xml b/contrib/web2/plugins/web-resources/build.xmlindex 18a18ed22..1f73eeca6 100644--- a/contrib/web2/plugins/web-resources/build.xml+++ b/contrib/web2/plugins/web-resources/build.xml@@ -14,26 +14,26 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->-<project name="web-resources" default="jar-core">-- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />-- <target name="init-plugin">- <echo>Copying resources templates</echo>- <copy todir="${build.classes}/resources">- <fileset dir="${resources.dir}" includes="**/*" />- </copy>- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>---</project>+-->+<project name="web-resources" default="jar-core">++ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />++ <target name="init-plugin">+ <echo>Copying resources templates</echo>+ <copy todir="${build.classes}/resources">+ <fileset dir="${resources.dir}" includes="**/*" />+ </copy>+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>+++</project>diff --git a/contrib/web2/plugins/web-resources/plugin.xml b/contrib/web2/plugins/web-resources/plugin.xmlindex 454ef1e61..ade2d26a6 100644--- a/contrib/web2/plugins/web-resources/plugin.xml+++ b/contrib/web2/plugins/web-resources/plugin.xml@@ -14,25 +14,25 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->+--><plugin id="web-resources" name="Resources plugin" version="1.0.0"- provider-name="apache.org">-- <runtime>- <library name="web-resources.jar">- <export name="*" />- </library>- </runtime>-- <requires>+ provider-name="apache.org">++ <runtime>+ <library name="web-resources.jar">+ <export name="*" />+ </library>+ </runtime>++ <requires><import plugin="webui-extensionpoints" />- </requires>-+ </requires>+<extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Nutch ui extension point"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-resources"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>--</plugin>+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension>++</plugin>diff --git a/contrib/web2/plugins/web-subcollection/build.xml b/contrib/web2/plugins/web-subcollection/build.xmlindex 009507e27..7b0a6ceb6 100644--- a/contrib/web2/plugins/web-subcollection/build.xml+++ b/contrib/web2/plugins/web-subcollection/build.xml@@ -14,32 +14,32 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->-<project name="web-subcollection" default="jar-core">-- <import file="../build-plugin.xml" />- <property name="nutch.root" location="${root}/../../../../" />-- <!-- Add compilation dependencies to classpath -->- <path id="plugin.deps">- <fileset dir="${nutch.root}/build">- <include name="**/subcollection/*.jar" />- </fileset>- </path>-- <target name="init-plugin">- <echo>Copying resources templates</echo>- <copy todir="${build.classes}/resources">- <fileset dir="${resources.dir}" includes="**/*" />- </copy>- <echo>Copying UI configuration</echo>- <copy todir="${build.classes}">- <fileset dir="src/conf" includes="**/*" />- </copy>- <echo>Copying UI templates</echo>- <copy todir="${deploy.dir}/web">- <fileset dir="src/web" includes="**/*" />- </copy>- </target>--</project>+-->+<project name="web-subcollection" default="jar-core">++ <import file="../build-plugin.xml" />+ <property name="nutch.root" location="${root}/../../../../" />++ <!-- Add compilation dependencies to classpath -->+ <path id="plugin.deps">+ <fileset dir="${nutch.root}/build">+ <include name="**/subcollection/*.jar" />+ </fileset>+ </path>++ <target name="init-plugin">+ <echo>Copying resources templates</echo>+ <copy todir="${build.classes}/resources">+ <fileset dir="${resources.dir}" includes="**/*" />+ </copy>+ <echo>Copying UI configuration</echo>+ <copy todir="${build.classes}">+ <fileset dir="src/conf" includes="**/*" />+ </copy>+ <echo>Copying UI templates</echo>+ <copy todir="${deploy.dir}/web">+ <fileset dir="src/web" includes="**/*" />+ </copy>+ </target>++</project>diff --git a/contrib/web2/plugins/web-subcollection/plugin.xml b/contrib/web2/plugins/web-subcollection/plugin.xmlindex 12b53a4bb..9a1339105 100644--- a/contrib/web2/plugins/web-subcollection/plugin.xml+++ b/contrib/web2/plugins/web-subcollection/plugin.xml@@ -14,29 +14,29 @@WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.--->+--><plugin id="web-subcollection" name="subcollection ui enhancements"- version="1.0.0" provider-name="apache.org">- <runtime>- <library name="web-subcollection.jar">- <export name="*" />- </library>- </runtime>- <requires>- <import plugin="webui-extensionpoints" />- <import plugin="subcollection" />- </requires>+ version="1.0.0" provider-name="apache.org">+ <runtime>+ <library name="web-subcollection.jar">+ <export name="*" />+ </library>+ </runtime>+ <requires>+ <import plugin="webui-extensionpoints" />+ <import plugin="subcollection" />+ </requires><extension id="org.apache.nutch.webapp.extension.UIExtensionPoint"name="Nutch ui extension point"- point="org.apache.nutch.webapp.extension.UIExtensionPoint">+ point="org.apache.nutch.webapp.extension.UIExtensionPoint"><implementation id="web-subcollection"- class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />- </extension>+ class="org.apache.nutch.webapp.extension.UIExtension.VoidImplementation" />+ </extension><extensionid="org.apache.nutch.webapp.extension.PreSearchExtensionPoint"name="Clustering extension for Web UI"- point="org.apache.nutch.webapp.extension.PreSearchExtensionPoint">+ point="org.apache.nutch.webapp.extension.PreSearchExtensionPoint"><implementation id="web-subcollection-presearch"- class="org.apache.nutch.webapp.subcollection.SubcollectionPreSearchExtension" />- </extension>-</plugin>+ class="org.apache.nutch.webapp.subcollection.SubcollectionPreSearchExtension" />+ </extension>+</plugin>diff --git a/contrib/web2/plugins/web-subcollection/src/conf/tiles-defs.xml b/contrib/web2/plugins/web-subcollection/src/conf/tiles-defs.xmlindex eb7dfa2f8..9414d92fe 100644--- a/contrib/web2/plugins/web-subcollection/src/conf/tiles-defs.xml+++ b/contrib/web2/plugins/web-subcollection/src/conf/tiles-defs.xml@@ -1,5 +1,5 @@-<?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd"><tiles-definitions><!--Tile to select subcollection@@ -8,4 +8,4 @@ Tile to select subcollectionpath="/plugin/web-subcollection/select.jsp"controllerClass="org.apache.nutch.webapp.controller.SubcollectionSelectController"></definition>-</tiles-definitions>+</tiles-definitions>