You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2018/09/12 09:03:00 UTC

[jira] [Created] (NUTCH-2643) ant target "resolve-default" to depend on "init"

Sebastian Nagel created NUTCH-2643:
--------------------------------------

             Summary: ant target "resolve-default" to depend on "init"
                 Key: NUTCH-2643
                 URL: https://issues.apache.org/jira/browse/NUTCH-2643
             Project: Nutch
          Issue Type: Bug
          Components: build
    Affects Versions: 1.15
            Reporter: Sebastian Nagel
             Fix For: 1.16


If {{ant resolve-default}} (resolve library dependencies) is called on a clean Nutch source tree, it fails because the ant ivy library is not installed (it's installed by "ivy-init" or "init"). The target "resolve-test" which installs the test dependencies depends on "init", so this should be also the case for "resolve-default".
{noformat}
% ant resolve-default
...
resolve-default:

BUILD FAILED
/mnt/data/wastl/proj/crawler/nutch/git/trunk/build.xml:532: Problem: failed to create task or type antlib:org.apache.ivy.ant:resolve
...
This appears to be an antlib declaration. 
Action: Check that the implementing library exists in one of:
        -/usr/share/ant/lib
        -/home/wastl/.ant/lib
        -a directory added on the command line with the -lib argument
{noformat}
Note that the build does not fail if the ivy lib is present in the system or user ant library folder.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)