[Java lista] IVY

Istvan Benedek istvan.benedek at gmail.com
2010. Ápr. 11., V, 13:55:13 CEST


Lehetseges, hogy tudok neked segiteni... ami kellene a logokon kivul..
egy kave a semiramisban:)

Istvan

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
>
>  at
> org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:487)
>  at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:419)
>  at
> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
>  at org.apache.tools.ant.Task.perform(Task.java:347)
>  at org.apache.tools.ant.Target.execute(Target.java:390)
>  at org.apache.tools.ant.Target.performTasks(Target.java:411)
>  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
>  at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
>  at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>  at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
>  at org.apache.tools.ant.Main.runBuild(Main.java:801)
>  at org.apache.tools.ant.Main.startAnt(Main.java:218)
>  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>
> Total time: 1 second
>
> _______________________________________________
> Javalist mailing list
> Javalist at javagrund.hu
> http://javagrund.hu/mailman/listinfo/javalist
>



-- 
Best Regards,
István Benedek
CEO

besTest Consulting Services LTD
Debrecen office, Hungary (GMT+1)

Mobile phone             : +36 (70) 275-9275
E-mail                      : istvan.benedek at gmail.com
Homepage                : www.bestest.hu

CONFIDENTIALITY CAUTION AND DISCLAIMER
This message is intended only for the use of the individual(s) or
entity(ies) to which it is addressed and contains information that is
legally privileged and confidential. If you are not the intended
recipient, or the person responsible for delivering the message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
All unintended recipients are obliged to delete this message and
destroy any printed copies.


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