ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgodbey <dgod...@YAHOO.COM>
Subject Re: Using geebis
Date Wed, 26 Nov 2008 14:54:27 GMT

I did get it to work by putting in a configurations element. Did I do this
correctly?
Thanks,
Dave

<?xml version="1.0"?>
<!-- $Id: $ -->
<ivy-module version="2.0">
    <info organisation="Indyne" module="Exchange Integration"/>
    <configurations>
    	    <conf name="default"  description="Default configuration."/>
    	    <conf name="log4j12"  description="Give me the log4j12 only."/>
    </configurations>
    <dependencies>
        <dependency org="log4j" name="log4j" rev="latest.release"
transitive="false" conf="default"/>
        <dependency org="slf4j" name="slf4j" rev="1.5.0" conf="log4j12"/>
    </dependencies>
</ivy-module>


Maarten Coene wrote:
> 
> 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.
> 
> 
>       
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-geebis-tp20683203p20702439.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message