Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2643

ant target "resolve-default" to depend on "init"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.15
    • 1.16
    • build
    • None

    Description

      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".

      % 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
      

      Note that the build does not fail if the ivy lib is present in the system or user ant library folder.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              snagel Sebastian Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: