Can you update from SVN and try again? I added a repo to fix this issue.
Thx,
--Kurt
CocoyLola wrote:
OK, the issue is at the target dependencies.get, here is the complet output I
hope it helps.
Buildfile: C:\workspace\helloworld\build.xml
dependencies.get:
ivy.init:
retrieve:
[ivy:retrieve] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/
::
[ivy:retrieve] :: loading settings :: file =
C:\workspace\helloworld\ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: org.apache#juddi;work...@ibit107
[ivy:retrieve] confs: [default]
[ivy:retrieve] found commons-configuration#commons-configuration;1.5 in
ibiblio
[ivy:retrieve] found commons-lang#commons-lang;2.3 in ibiblio
[ivy:retrieve] found commons-logging#commons-logging;1.1 in ibiblio
[ivy:retrieve] found log4j#log4j;1.2.12 in ibiblio
[ivy:retrieve] found logkit#logkit;1.0.1 in ibiblio
[ivy:retrieve] found avalon-framework#avalon-framework;4.1.3 in ibiblio
[ivy:retrieve] found commons-digester#commons-digester;1.8 in ibiblio
[ivy:retrieve] found commons-beanutils#commons-beanutils;1.7.0 in ibiblio
[ivy:retrieve] found commons-beanutils#commons-beanutils-core;1.7.0 in
ibiblio
[ivy:retrieve] found xerces#xercesImpl;2.3.0 in ibiblio
[ivy:retrieve] found xalan#xalan;2.7.0 in ibiblio
[ivy:retrieve] found xml-apis#xml-apis;1.0.b2 in ibiblio
[ivy:retrieve] found commons-codec#commons-codec;1.3 in ibiblio
[ivy:retrieve] found commons-jxpath#commons-jxpath;1.2 in ibiblio
[ivy:retrieve] found xerces#xerces;1.2.3 in ibiblio
[ivy:retrieve] found servletapi#servletapi;2.2 in ibiblio
[ivy:retrieve] found junit#junit;3.8 in ibiblio
[ivy:retrieve] found ant#ant-optional;1.5.1 in ibiblio
[ivy:retrieve] found jdom#jdom;b9 in ibiblio
[ivy:retrieve] found javax.servlet#servlet-api;2.4 in ibiblio
[ivy:retrieve] found javax.mail#mail;1.4 in ibiblio
[ivy:retrieve] found javax.activation#activation;1.1 in ibiblio
[ivy:retrieve] found ant#ant;1.6.5 in ibiblio
[ivy:retrieve] found commons-collections#commons-collections;3.2.1 in
ibiblio
[ivy:retrieve] found org.apache.juddi#uddi-ws;3.0.2-SNAPSHOT in nexus
[ivy:retrieve] found javax.xml.bind#jaxb-api;2.1 in ibiblio
[ivy:retrieve] found javax.xml.stream#stax-api;1.0-2 in ibiblio
[ivy:retrieve] found com.sun.xml.ws#jaxws-rt;2.1.4 in ibiblio
[ivy:retrieve] found javax.xml.ws#jaxws-api;2.1 in ibiblio
[ivy:retrieve] found com.sun.xml.messaging.saaj#saaj-impl;1.3.1 in ibiblio
[ivy:retrieve] found javax.xml.soap#saaj-api;1.3 in ibiblio
[ivy:retrieve] found activation#activation;1.0.2 in ibiblio
[ivy:retrieve] found com.sun.xml.stream.buffer#streambuffer;0.7 in ibiblio
[ivy:retrieve] found org.jvnet.staxex#stax-ex;1.2 in ibiblio
[ivy:retrieve] found com.sun.xml.stream#sjsxp;1.0.1 in ibiblio
[ivy:retrieve] found com.sun.org.apache.xml.internal#resolver;20050927 in
ibiblio
[ivy:retrieve] found com.sun.xml.bind#jaxb-impl;2.1.9 in ibiblio
[ivy:retrieve] found log4j#log4j;1.2.13 in ibiblio
[ivy:retrieve] found org.apache.juddi#juddi-client;3.0.2-SNAPSHOT in nexus
[ivy:retrieve] :: resolution report :: resolve 3485ms :: artifacts dl 62ms
[ivy:retrieve] :: evicted modules:
[ivy:retrieve] commons-collections#commons-collections;3.2 by
[commons-collections#commons-collections;3.2.1] in [default]
[ivy:retrieve] log4j#log4j;1.2.12 by [log4j#log4j;1.2.13] in [default]
[ivy:retrieve] javax.servlet#servlet-api;2.3 by
[javax.servlet#servlet-api;2.4] in [default]
[ivy:retrieve] commons-logging#commons-logging;1.0.3 by
[commons-logging#commons-logging;1.1] in [default]
[ivy:retrieve] commons-logging#commons-logging;1.0 by
[commons-logging#commons-logging;1.1] in [default]
[ivy:retrieve] commons-collections#commons-collections;2.0 by
[commons-collections#commons-collections;3.2.1] in [default]
[ivy:retrieve] xml-apis#xml-apis;2.0.2 by [xml-apis#xml-apis;1.0.b2] in
[default]
[ivy:retrieve] javax.servlet#servlet-api;2.2 by
[javax.servlet#servlet-api;2.4] in [default]
[ivy:retrieve] commons-beanutils#commons-beanutils;1.4 by
[commons-beanutils#commons-beanutils;1.7.0] in [default]
[ivy:retrieve] com.sun.xml.bind#jaxb-impl;2.1.7 by
[com.sun.xml.bind#jaxb-impl;2.1.9] in [default]
[ivy:retrieve] javax.activation#activation;1.0.2 by
[javax.activation#activation;1.1] in [default]
[ivy:retrieve] javax.xml.stream#stax-api;1.0 by
[javax.xml.stream#stax-api;1.0-2] in [default]
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 51 | 0 | 0 | 12 || 40 | 0 |
---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] module not found: org.jvnet#mimepull;1.2
[ivy:retrieve] ==== ibiblio: tried
[ivy:retrieve]
http://repo1.maven.org/maven2/org/jvnet/mimepull/1.2/mimepull-1.2.pom
[ivy:retrieve] -- artifact org.jvnet#mimepull;1.2!mimepull.jar:
[ivy:retrieve]
http://repo1.maven.org/maven2/org/jvnet/mimepull/1.2/mimepull-1.2.jar
[ivy:retrieve] ==== nexus: tried
[ivy:retrieve]
http://repository.apache.org/content/groups/snapshots-group/org/jvnet/mimepull/1.2/mimepull-1.2.pom
[ivy:retrieve] -- artifact org.jvnet#mimepull;1.2!mimepull.jar:
[ivy:retrieve]
http://repository.apache.org/content/groups/snapshots-group/org/jvnet/mimepull/1.2/mimepull-1.2.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: org.jvnet#mimepull;1.2: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
C:\workspace\helloworld\build.xml:23: The following error occurred while
executing this line:
C:\workspace\helloworld\ivy-build.xml:15: impossible to resolve
dependencies:
resolve failed - see output for details
Thank yu! bb
CocoyLola wrote:
Thank you very much for the tutorial. But I still have some problems. My
experience is, I downloaded the Subeclipse folders in the eclipse but I
didn't see the build folder where you have a folder class and another lib.
I've downloaded the Apache Ivy and I modified the route of the
project.properties. After running the program with "ant clean run" in the
directory where I downloaded the project gives me the following error:
--------------------------------------------------
-------------------
| | Modules | | artifacts |
| Conf | number | search | dwnlded | evicted | | number | dwnlded
|
--------------------------------------------------
-------------------
| Default | 51 | 0 | 0 | 12 | | 40 | 0 |
--------------------------------------------------
-------------------
[ivy: retrieve]:: problems summary::
[ivy: retrieve]:::: WARNINGS
[ivy: retrieve] module not found: org.jvnet # mimepull, 1.2
[ivy: retrieve] ==== ibiblio: tried
[ivy: retrieve]
http://repo1.maven.org/maven2/org/jvnet/mimepull/1.2/mimepull-1.2.pom
[ivy: retrieve] - artifact org.jvnet # mimepull; 1.2! mimepull.jar:
[ivy: retrieve]
http://repo1.maven.org/maven2/org/jvnet/mimepull/1.2/mimepull-1.2.jar
[ivy: retrieve] ==== nexus: tried
[ivy: retrieve]
http://repository.apache.org/content/groups/snapshots-group/org/jvnet/mimepull/1.2/mimepull-1.2.pom
[ivy: retrieve] - artifact org.jvnet # mimepull; 1.2! mimepull.jar:
[ivy: retrieve]
http://repository.apache.org/content/groups/snapshots-group/org/jvnet/mimepull/1.2/mimepull-1.2.jar
[ivy: retrieve] ::::::::::::::::::::::::::::::::::::::::::::: :
[ivy: retrieve]:: Unresolved DEPENDENCIES::
[ivy: retrieve] ::::::::::::::::::::::::::::::::::::::::::::: :
[ivy: retrieve]:: org.jvnet # mimepull, 1.2: not found
[ivy: retrieve] ::::::::::::::::::::::::::::::::::::::::::::: :
[ivy: retrieve]
[ivy: retrieve]
[ivy: retrieve]:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
C: \ workspace \ helloworld \ build.xml: 23: Following error occurred
while executing this line
C: \ workspace \ helloworld \ ivy-build.xml: 15: impossible to resolve
dependencies: resolve failed - see output for details
I hope you can help me. Thank you so much again and very nice work!
Kurt T Stam-4 wrote:
Hopefully this helps:
http://apachejuddi.blogspot.com/2010/02/uddi-v3-helloword.html
--Kurt
CocoyLola wrote:
Please I need help usiing juddi client libraries.
I'm trying to get a valid authentication token with the java client.
I tried this code in user manual and it dosent work. ClientConfig is
static
reference and i cant invoque, UDDI_PROXY_TRANSPORT it doesn't exist.
What
are the libraries i need??? Why Is not present in this code
juddiv3.properies???? Why uddi.xml??? I am desperate. I need full code
example to get the authentication token. ty all!
public void testAuthToken() {
try {
String clazz = ClientConfig.getConfiguration().getString(
Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
Class<?> transportClass = Loader.loadClass(clazz);
if (transportClass!=null) {
Transport transport = (Transport) transportClass.newInstance();
UDDISecurityPortType securityService = transport.getSecurityService();
GetAuthToken getAuthToken = new GetAuthToken();
getAuthToken.setUserID("root");
getAuthToken.setCred("");
AuthToken authToken = securityService.getAuthToken(getAuthToken);
System.out.println(authToken.getAuthInfo());
Assert.assertNotNull(authToken);
} else {
Assert.fail();
}
} catch (Exception e) {
e.printStackTrace();
Assert.fail();
}
}