You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/07 18:53:00 UTC

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

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

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

sebastian-nagel closed pull request #382: NUTCH-2643 ant target "resolve-default" to depend on "init"
URL: https://github.com/apache/nutch/pull/382
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build.xml b/build.xml
index 244f6e60a..785442a91 100644
--- a/build.xml
+++ b/build.xml
@@ -528,7 +528,7 @@
   <!-- ================================================================== -->
 
   <!-- target: resolve  ================================================= -->
-  <target name="resolve-default" depends="clean-default-lib" description="--> resolve and retrieve dependencies with ivy">
+  <target name="resolve-default" depends="clean-default-lib, init" description="--> resolve and retrieve dependencies with ivy">
     <ivy:resolve file="${ivy.file}" conf="default" log="download-only"/>
     <ivy:retrieve pattern="${build.lib.dir}/[artifact]-[revision].[ext]" symlink="false" log="quiet"/>
     <antcall target="copy-libs"/>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Trivial
>             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)