Skip to Content.
Sympa Menu

illinois-ml-nlp-users - [[Illinois-ml-nlp-users] ] Problem with maven-ant-tasks

illinois-ml-nlp-users AT lists.cs.illinois.edu

Subject: Support for users of CCG software closed 7-27-20

List archive

[[Illinois-ml-nlp-users] ] Problem with maven-ant-tasks


Chronological Thread 
  • From: Jose Bermejo <jbermejo26 AT gmail.com>
  • To: illinois-ml-nlp-users AT lists.cs.illinois.edu
  • Subject: [[Illinois-ml-nlp-users] ] Problem with maven-ant-tasks
  • Date: Mon, 17 Oct 2016 11:29:36 -0400

Hello everyone,

I am having a problem running the make call unto the downloaded thrift 0.8.0 package. It is coming up with the following error:

mvn.ant.tasks.download:
      [get] To: ~/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar

mvn.init:
CLASSPATH element ~/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar is not a JAR.
  [typedef] CLASSPATH element ~/thrift-0.8.0/lib/java/build/tools/maven-ant-tasks-2.1.3.jar is not a JAR.
  [typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found.

BUILD FAILED
~/thrift-0.8.0/lib/java/build.xml:267: Problem: failed to create task or type antlib:org.apache.maven.artifact.ant:remoteRepository
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet

This appears to be an antlib declaration.
Action: Check that the implementing library exists in one of:
        -/usr/share/ant/lib
        -/root/.ant/lib
        -a directory added on the command line with the -lib argument

____________________

I've searched online and multiple places mentioned that it could be the case that the maven-ant-tasks jar was not in the listed directories below, but even after copying it and placing it under the ant lib directory it is still failing with the same error.

Any idea for anything to try to move on with installation?

--
Jose A. Bermejo-Ferrer
School of Electrical and Computer Engineering
University of Puerto Rico at Mayaguez
Mayaguez, Puerto Rico 00681
--


  • [[Illinois-ml-nlp-users] ] Problem with maven-ant-tasks, Jose Bermejo, 10/17/2016

Archive powered by MHonArc 2.6.19.

Top of Page