From ivy-user-return-6656-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Tue Apr 13 04:50:59 2010 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 26141 invoked from network); 13 Apr 2010 04:50:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 04:50:59 -0000 Received: (qmail 84672 invoked by uid 500); 13 Apr 2010 04:50:58 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 84423 invoked by uid 500); 13 Apr 2010 04:50:57 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 84415 invoked by uid 99); 13 Apr 2010 04:50:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 04:50:56 +0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=AWL,FRT_SOMA,FRT_SOMA2,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 04:50:50 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.4/8.14.4) with ESMTP id o3D4oSnJ017688 for ; Tue, 13 Apr 2010 06:50:28 +0200 Received: from z011102.bk.fin.local ([130.11.7.102]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 13 Apr 2010 06:50:28 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011102.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Tue, 13 Apr 2010 06:50:27 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-2" Content-Transfer-Encoding: quoted-printable Subject: AW: AW: example\build-a-ivy-repository antlib.xml could not be found/ Date: Tue, 13 Apr 2010 06:50:27 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B5505171A3E@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AW: example\build-a-ivy-repository antlib.xml could not be found/ Thread-Index: AcraY40yVC8kSdZDSyG88QMfpBwFoQAYUC0g References: <7074E06DE14840DA9702A7A832F36912@dolphin> <9EE86F1965E19E499C80DE52AC807B5505171A34@z011021.bk.fin.local> <20100412191353.18674pozdd10isi9@webmail.dravanet.hu> From: To: X-OriginalArrivalTime: 13 Apr 2010 04:50:27.0996 (UTC) FILETIME=[D675A5C0:01CADAC4] Fine. Jan=20 > -----Urspr=FCngliche Nachricht----- > Von: aszomor@szomor.hu [mailto:aszomor@szomor.hu]=20 > Gesendet: Montag, 12. April 2010 19:14 > An: Materne, Jan (RZF) > Betreff: Re: AW: example\build-a-ivy-repository antlib.xml=20 > could not be found/ >=20 > Hi Jan, >=20 > Thanks your answer, the ivy.jar was not in the CLASSPATH, when I =20 > copied it into the %HOME%/.ant/lib everything went to OK. Thus I can =20 > use it. >=20 > King Regards, Attila. >=20 > Id=E9zet (Jan.Materne@rzf.fin-nrw.de): >=20 > > The Antlib should be part of the ivy.jar. > > That example has the precondition that you have already=20 > downloaded that jar. > > > > > > > > > > > > > uri=3D"antlib:org.apache.ivy.ant"=20 > classpathref=3D"ivy.lib.path"/> > > > > > > If you dont have that jar, have a look at the "go-ivy" example. > > > > > > Jan > > > > > > > >> -----Urspr=FCngliche Nachricht----- > >> Von: Szomor Attila [mailto:attila@szomor.hu] > >> Gesendet: Sonntag, 11. April 2010 12:47 > >> An: ivy-user@ant.apache.org > >> Betreff: example\build-a-ivy-repository antlib.xml could=20 > not be found/ > >> > >> Hi, > >> > >> I just now istalled the IVY and tried it with > >> build-a-ivy-repository from examples and got an error: > >> Could not load definitions from resource > >> org/apache/ivy/ant/antlib.xml. It could not be found. > >> > >> Where I find an antlib.xml for this example? > >> > >> Attila. > >> > >> 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 =3D > >> 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/ap > >> ache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml > >> with URI =3D > >> jar:file:/G:/Program%20Files/Apache%20Software%20Foundation/ap > >> ache-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,=20 > 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. > >> > >> ERROR: > >> 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 / 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=20 > -lib argument > >> > >> at > >> org.apache.tools.ant.UnknownElement.getNotFoundException(Unkno > >> wnElement.java:487) > >> at > >> org.apache.tools.ant.UnknownElement.makeObject(UnknownElement. > >> java:419) > >> at > >> org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElem > >> ent.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 > >>=20 > 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(Def > >> aultExecutor.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 > >> > >> > >> > >> __________ ESET Smart Security - V=EDrusdefin=EDci=F3s adatb=E1zis: > >> 5017 (20100411) __________ > >> > >> Az =FCzenetet az ESET Smart Security ellen=F5rizte. > >> > >> http://www.eset.hu > >> > >> > > >=20 >=20 >=20