[Java lista] IVY

Zsombor gzsombor at gmail.com
2010. Ápr. 11., V, 13:56:34 CEST


2010/4/11 Szomor Attila <aszomor at computertechnika.hu>

> Sziasztok,
>
> Most töltöttem le az IVY-t és a hozzáadott mintapéldával kiszerettem
> volna próbálni, hogy működik-e, de csak egy hibát kapok mindig
>  [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
>
> Környezet: jdk1.6.0_18, apache-ant-1.8.0, apache-maven-2.2.1,
> apache-ivy-2.1.0.
>
> Tudna valaki segĂ­teni ?
>
> Köszi, Attila.
>
> example\build-a-ivy-repository\ANT -v
> STDOUT:
> -------------
> Apache Ant version 1.8.0 compiled on February 1 2010
> Trying the default build file: build.xml
> Buildfile: G:\Program Files\Apache Software
> Foundation\apache-ivy-2.1.0\src\example\build-a-ivy-repository\build.xml
> Detected Java version: 1.6 in: G:\JAVA\JDK16~1.0_1\jre
> Detected OS: Windows XP
> parsing buildfile G:\Program Files\Apache Software
> Foundation\apache-ivy-2.1.0\src\example\build-a-ivy-repository\build.xml
> with URI =
>
> file:/G:/Program%20Files/Apache%20Software%20Foundation/apache-ivy-2.1.0/src/example/build-a-ivy-repository/build.xml
> Project base dir set to: G:\Program Files\Apache Software
> Foundation\apache-ivy-2.1.0\src\example\build-a-ivy-repository
> parsing buildfile
>
> jar:file:/G:/Program%20Files/Apache%20Software%20Foundation/apache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml
> with URI =
>
> jar:file:/G:/Program%20Files/Apache%20Software%20Foundation/apache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml
> from a zip file
> Build sequence for target(s) `maven2' is [load-ivy, init-ivy, maven2]
> Complete build sequence is [load-ivy, init-ivy, maven2, clean-repo,
> maven2-deps, clean-cache, maven2-namespace-deps, maven2-namespace, ]
>
> load-ivy:
>  [taskdef] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
>
> init-ivy:
> [antlib:org.apache.ivy.ant] Could not load definitions from resource
> org/apache/ivy/ant/antlib.xml. It could not be found.
>
> ERR_OUT:
> ---------------
> BUILD FAILED
> G:\Program Files\Apache Software
>
> Foundation\apache-ivy-2.1.0\src\example\build-a-ivy-repository\build.xml:56:
> Problem: failed to create task or type antlib:org.apache.ivy.ant:settings
> 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:
>        -G:\PROGRA~1\APACHE~1\apache-ant-1.8.0\lib
>        -G:\Documents and Settings\aszomor\.ant\lib
>        -a directory added on the command line with the -lib argument
>


Ha jól értem, a hibaüzenet arról szól, hogy nem talál egy taszkot,
valószinűleg nem raktad be az ivy-2.1.0.jar -t a felsorolt könyvtárak
egyikébe se.


Zs
--------- következő rész ---------
Egy csatolt HTML állomány át lett konvertálva...
URL: http://javagrund.hu/pipermail/javalist/attachments/20100411/e5c6f32a/attachment.html 


További információk a(z) Javalist levelezőlistáról