[ 
https://issues.apache.org/jira/browse/NUTCH-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215518#comment-15215518
 ] 

ASF GitHub Bot commented on NUTCH-2191:
---------------------------------------

Github user lewismc commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/100#discussion_r57676323
  
    --- Diff: src/plugin/protocol-htmlunit/build.xml ---
    @@ -0,0 +1,53 @@
    +<?xml version="1.0"?>
    +<!--
    + Licensed to the Apache Software Foundation (ASF) under one or more
    + contributor license agreements.  See the NOTICE file distributed with
    + this work for additional information regarding copyright ownership.
    + The ASF licenses this file to You under the Apache License, Version 2.0
    + (the "License"); you may not use this file except in compliance with
    + the License.  You may obtain a copy of the License at
    +
    +     http://www.apache.org/licenses/LICENSE-2.0
    +
    + Unless required by applicable law or agreed to in writing, software
    + distributed under the License is distributed on an "AS IS" BASIS,
    + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + See the License for the specific language governing permissions and
    + limitations under the License.
    +-->
    +<project name="protocol-htmlunit" default="jar-core">
    +
    +  <import file="../build-plugin.xml"/>
    +
    +  <!-- Build compilation dependencies -->
    +  <target name="deps-jar">
    +    <ant target="jar" inheritall="false" dir="../lib-http"/>
    +    <ant target="jar" inheritall="false" dir="../lib-htmlunit"/>
    +  </target>
    +
    +  <!-- Add compilation dependencies to classpath -->
    +  <path id="plugin.deps">
    +    <fileset dir="${nutch.root}/build">
    +      <include name="**/lib-http/*.jar" />
    +      <include name="**/lib-htmlunit/*.jar" />
    +    </fileset>
    +    <pathelement location="${build.dir}/test/conf"/>
    +  </path>
    +
    +  <!-- Deploy Unit test dependencies -->
    +  <target name="deps-test">
    +    <ant target="deploy" inheritall="false" dir="../lib-http"/>
    +    <ant target="deploy" inheritall="false" 
dir="../nutch-extensionpoints"/>
    +    <copy toDir="${build.test}">
    +      <fileset dir="${src.test}" excludes="**/*.java"/>
    +    </copy>
    +  </target>
    +
    +  <!-- for junit test -->
    --- End diff --
    
    Remove if not used


> Add protocol-htmlunit
> ---------------------
>
>                 Key: NUTCH-2191
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2191
>             Project: Nutch
>          Issue Type: New Feature
>          Components: protocol
>    Affects Versions: 1.11
>            Reporter: Markus Jelsma
>            Assignee: Chris A. Mattmann
>             Fix For: 1.12
>
>         Attachments: NUTCH-2191.patch, NUTCH-2191.patch, NUTCH-2191.patch, 
> NUTCH-2191.patch
>
>
> HtmlUnit is, opposed to other Javascript enabled headless browsers, a 
> portable library and should therefore be better suited for very large scale 
> crawls. This issue is an attempt to implement protocol-htmlunit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to