You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Jim Adams <Ji...@sas.com> on 2008/01/11 19:34:42 UTC

Ivy Retrieve question

What happens with the Retrieve task if I pass a configuration that was not used to resolve with? What I am looking for is the ability to resolve for one configuration but grab the artifacts as defined for a separate configuration. For instance we have a runtime configuration that defines dependent modules required for runtime but the artifacts for our installation are not listed as runtime artifacts. If I resolve for runtime and then retrieve for installer, will I get the runtime modules but the installer artifacts?

Jim Adams
Jim.Adams@sas.com
Principal Systems Developer
SAS Institute



Re: Ivy Retrieve question

Posted by Xavier Hanin <xa...@gmail.com>.
On Jan 11, 2008 7:34 PM, Jim Adams <Ji...@sas.com> wrote:

> What happens with the Retrieve task if I pass a configuration that was not
> used to resolve with? What I am looking for is the ability to resolve for
> one configuration but grab the artifacts as defined for a separate
> configuration. For instance we have a runtime configuration that defines
> dependent modules required for runtime but the artifacts for our
> installation are not listed as runtime artifacts. If I resolve for runtime
> and then retrieve for installer, will I get the runtime modules but the
> installer artifacts?


When you call retrieve with confs which haven't been resolved yet, Ivy will
first call resolve for these confs. Then it will call retrieve as usual. I'm
not sure this is what you want though.

Xavier


>
>
> Jim Adams
> Jim.Adams@sas.com
> Principal Systems Developer
> SAS Institute
>
>
>


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