incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rutherglen <jason.rutherg...@gmail.com>
Subject Re: The Eclipse target doesn't seem to show up in 'ant -p'
Date Thu, 08 Sep 2011 02:20:42 GMT
Now something is broken, I stopped my laptop while Maven was
downloading something!

-------------------------------------------------------------------------------------------

Buildfile: /home/j/src/CASSANDRA-3147/build.xml

maven-ant-tasks-localrepo:

maven-ant-tasks-download:

maven-ant-tasks-init:
Unable to obtain resource from
/home/j/src/CASSANDRA-3147/build/maven-ant-tasks-2.1.3.jar:
java.util.zip.ZipException: error in opening zip file
  [typedef] Unable to obtain resource from
/home/j/src/CASSANDRA-3147/build/maven-ant-tasks-2.1.3.jar:
  [typedef] java.util.zip.ZipException: error in opening zip file
  [typedef] 	at java.util.zip.ZipFile.open(Native Method)
  [typedef] 	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
  [typedef] 	at java.util.jar.JarFile.<init>(JarFile.java:135)
  [typedef] 	at java.util.jar.JarFile.<init>(JarFile.java:99)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:1002)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:145)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init>(AntClassLoader.java:109)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader.findResources(AntClassLoader.java:949)
  [typedef] 	at
org.apache.tools.ant.AntClassLoader.getNamedResources(AntClassLoader.java:918)
  [typedef] 	at
org.apache.tools.ant.loader.AntClassLoader5.getResources(AntClassLoader5.java:54)
  [typedef] 	at
org.apache.tools.ant.taskdefs.Definer.resourceToURLs(Definer.java:375)
  [typedef] 	at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:267)
  [typedef] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
  [typedef] 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  [typedef] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [typedef] 	at java.lang.reflect.Method.invoke(Method.java:597)
  [typedef] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [typedef] 	at org.apache.tools.ant.Task.perform(Task.java:348)
  [typedef] 	at org.apache.tools.ant.Target.execute(Target.java:390)
  [typedef] 	at org.apache.tools.ant.Target.performTasks(Target.java:411)
  [typedef] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
  [typedef] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
  [typedef] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [typedef] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
  [typedef] 	at org.apache.tools.ant.Main.runBuild(Main.java:801)
  [typedef] 	at org.apache.tools.ant.Main.startAnt(Main.java:218)
  [typedef] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [typedef] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [typedef] Could not load definitions from resource
org/apache/maven/artifact/ant/antlib.xml. It could not be found.

BUILD FAILED
/home/j/src/CASSANDRA-3147/build.xml:290: 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
        -/home/j/.ant/lib
        -a directory added on the command line with the -lib argument


Total time: 1 second

Mime
View raw message