ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Using geebis
Date Tue, 25 Nov 2008 21:57:05 GMT
I don't have a problem downloading that library:

[ivy:retrieve] downloading http://ivyrep.geebis.org/ivy/slf4j/slf4j/1.5.0/slf4j-log4j12-1.5.0.jar
...
[ivy:retrieve] .. (8kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] slf4j#slf4j;1.5.0!slf4j-log4j12.jar (1794ms)
[ivy:retrieve] downloading http://ivyrep.geebis.org/ivy/slf4j/slf4j/1.5.0/slf4j-api-1.5.0.jar
...
[ivy:retrieve] .. (16kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] slf4j#slf4j;1.5.0!slf4j-api.jar (1372ms)
[ivy:retrieve] downloading http://ivyrep.geebis.org/ivy/apache/log4j/1.2.13/log4j-1.2.13.jar
...
[ivy:retrieve] ....... (349kB)
[ivy:retrieve] .. (0kB)
[ivy:retrieve]  [SUCCESSFUL ] apache#log4j;1.2.13!log4j.jar (3182ms)



I have used the following entry in my ivy.xml:
<dependency org="slf4j" name="slf4j" rev="1.5.0" conf="default->log4j12"/>

Did you specify a configuration "log4j12" in your ivy.xml, or a configuration-mapping?
Could you post your entire ivy.xml here and the console logging?

Maarten



----- Original Message ----
From: dgodbey <dgodbey@YAHOO.COM>
To: ivy-user@ant.apache.org
Sent: Tuesday, November 25, 2008 4:36:27 PM
Subject: Using geebis


Folks,
I've spent more time then I'd like to admit trying to figure out the url
resolver to get what I want from geebis. I'm looking to get the slf4j,
config=log4j12.

My ivysettings entry for my chain resolver:
      <url name="geebis" m2compatible="true">
        <ivy
pattern="http://ivyrep.geebis.org/ivy/[organization]/[module]/[revision]/ivy.xml"
/> 
        <artifact
pattern="http://ivyrep.geebis.org/ivy/[organization]/[module]/[revision]/[artifact]-[revision].[ext]"
/>
      </url>

The entry for ivy.xml:
        <dependency org="slf4j" name="slf4j" rev="1.5.0" conf="log4j12"/>

I get an error that log4j12 configuration doesn't exist, but if you look in
the file http://ivyrep.geebis.org/ivy/slf4j/slf4j/1.5.0/ivy.xml, you can see
the public configuration listed right there. I can only get this to work if
I add to the dependency the attribute transitive="false", but then I get ALL
the jar files. What am I missing?
Thanks,
Dave
-- 
View this message in context: http://www.nabble.com/Using-geebis-tp20683203p20683203.html
Sent from the ivy-user mailing list archive at Nabble.com.


      

Mime
View raw message