You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Juan GF (JIRA)" <ji...@apache.org> on 2014/12/21 23:26:13 UTC

[jira] [Comment Edited] (NUTCH-1755) Project name bug in build.xml

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

Juan GF edited comment on NUTCH-1755 at 12/21/14 10:25 PM:
-----------------------------------------------------------

Hello everyone
I`m trying to install nutch 2.2.1 in ubuntu 14.04 but still can`t do it, i really dont know if it is this bug or something else, 
Can anyone help me please? Nutch cant be build by ant... why??? 

my config
ubuntu 14.04
Apache Ant(TM) version 1.9.3 compiled 
Nutch 2.2.1
Apache Tomcat/7.0.52 (Ubuntu)

The error:

/opt/nutch/apache-nutch-2.2.1$ sudo ant runtime
Buildfile: /opt/nutch/apache-nutch-2.2.1/build.xml
Trying to override old definition of task javac
  [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.

ivy-probe-antlib:

ivy-download:
  [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.




was (Author: juangf1930):
I`m trying to install nutch 2.2.1 in ubuntu 14.04 but still can`t do it, i really dont know if it is this bug or something else, 
Can anyone help me please? Nutch cant be build by ant... why??? 

my config
ubuntu 14.04
Apache Ant(TM) version 1.9.3 compiled 
Nutch 2.2.1
Apache Tomcat/7.0.52 (Ubuntu)
/opt/nutch/apache-nutch-2.2.1$ sudo ant runtime
Buildfile: /opt/nutch/apache-nutch-2.2.1/build.xml
Trying to override old definition of task javac
  [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.

ivy-probe-antlib:

ivy-download:
  [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.



> Project name bug in build.xml
> -----------------------------
>
>                 Key: NUTCH-1755
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1755
>             Project: Nutch
>          Issue Type: Bug
>          Components: build, nutchNewbie
>    Affects Versions: 1.8, 2.2.1
>            Reporter: Lewis John McGibbney
>            Priority: Minor
>              Labels: nutchNewbie
>             Fix For: 2.4, 1.10
>
>
> When one enters an incorrect ant target as follows, you can see that project name is presented to us as "${name}". This should resolve to final.name value in default.properties http://svn.apache.org/repos/asf/nutch/branches/2.x/default.properties.
> I would imagine that this bug exists in both 1.X branch and 2.x.
> lewismc@vm-0:~/apache/2.x$ ant plugins-test                                                                                                                                                      
> Buildfile: /home/sarahp098/apache/2.x/build.xml
> Trying to override old definition of task javac
>   [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
>  
> BUILD FAILED
> Target "plugins-test" does not exist in the project "${name}".



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