ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Master configuration always empty
Date Thu, 22 Nov 2007 12:22:43 GMT
On Nov 22, 2007 10:46 AM, Jan Brauer <jan.brauer@coremedia.com> wrote:

> Hi,
>
> currently I'm having problems with my master configuration.
> I'm using these configurations:
> <configurations defaultconfmapping="compile->default">
>  <conf name="compile" visibility="private"/>
>  <conf name="test" extends="compile" visibility="private"/>
>  <conf name="master"/>
>  <conf name="runtime" extends="compile"/>
>  <conf name="default" extends="master,runtime"/>
> </configurations>
>
> <publications>
>  <artifact conf="master" name="my-module" type="jar"/>
> </publications>
>
>
> When I resolve the "master" configuration is always 0. I would have
> expected it to include exactly one element. Or does the resolving never
> include the artifacts published itself?

Try to specify the mapping for the 'master' conf, either in
defaultconfmapping or in your dependency declaration. Something like
master->default.

Xavier

>
>
> Thx,
> Jan
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message