ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wu" <john...@callgenie.com>
Subject RE: HOWTO - Resolve dependencies on demand
Date Fri, 24 Aug 2007 18:22:35 GMT
A JIRA item was just created and resolved.

IVY-596: HOWTO - Resolve dependencies on demand

Xavier, sorry for the false alert. I initially tried to create the JIRA thru http://issues.apache.org/jira/browse/IVY.
But somehow I couldn't find the login or signup page which then would allow to create JIRA.
This time, however, I found the login link in that page and successfully signup, and then
... the issue was entered and resolved.

Cheers,

John Wu

-----Original Message-----
From: Xavier Hanin [mailto:xavier.hanin@gmail.com] 
Sent: Friday, August 24, 2007 10:18 AM
To: ivy-user@incubator.apache.org
Subject: Re: HOWTO - Resolve dependencies on demand

On 8/24/07, John Wu <john.wu@callgenie.com> wrote:
>
> Hi Xavier,
>
> I tried to create a JIRA with no luck.


Could you elaborate? If there is a problem to create JIRA issues, it's not
good for the project, and we will have to fix that with the infra team.

Xavier

I don't have a personal blog either.
>
> Can the Ivy dev team put some resource to work on the similar situations (
> i.e. put some Q & A and examples to the Ivy doc, if applicable)?
>
>
> John Wu
>
>
> -----Original Message-----
> From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> Sent: Thursday, August 23, 2007 2:48 AM
> To: ivy-user@incubator.apache.org
> Subject: Re: HOWTO - Resolve dependencies on demand
>
> On 8/22/07, John Wu <john.wu@callgenie.com> wrote:
> >
> > I figured out how to make it work, with the help of my colleague. And
> > Gilles's reply also helped.
> >
> > Scenario: To run task A, B, C, etc, only a common set of jars/zips (the
> > set D) is needed; to run task X, a large number of jars/zips (the set Y)
> is
> > needed. In most cases, task A, B, C, etc will be run. And in very rare
> > cases, task X needs to be performed. We don't want ivy to resolve (and
> may
> > retrieve) the jars/zips in set D and Y every time we run the ant task,
> due
> > to our internal network latency.
> >
> > Solution: Two configurations (commons and demanding) are defined in the
> > ivy file, and the conf attribute of each ivy retrieve tag in the build
> file
> > is specified.
> >
> > Attached is the example, based on ivy 1.4.1. I think it may be a good
> > candidate to be added to the ivy tutorial examples.
>
>
> Attachments are stripped by the mailing list server. Could you create a
> JIRA
> and attach the file to the issue? Another solution is to publish the
> tutorial yourself either on your blog or on a community site (like
> javalobby). Then we will add a link to the tutorial from Ivy site.
>
> Thanks for your contribution!
>
> Xavier
>
> John Wu
> >
> >
> > -----Original Message-----
> > From: Gilles Scokart [mailto:gscokart@gmail.com]
> > Sent: Wednesday, August 22, 2007 3:34 AM
> > To: ivy-user@incubator.apache.org
> > Subject: RE: HOWTO - Resolve dependencies on demand
> >
> > Could you explain a little bit more what will be your sets of
> > dependencies.
> >
> > Ivy proposes two mechanism to only resolve/retrieve dependencies.  You
> can
> > use configurations, or type of artefact.
> >
> > The use of configurations will allow you to manage which modules are
> > included in your resolution.  The type of artefact will not really
> change
> > your resolutions, but will only retrieve the artefact with the right
> type.
> >
> > Gilles
> >
> > > -----Original Message-----
> > > From: John Wu [mailto:john.wu@callgenie.com]
> > > Sent: mardi 21 août 2007 18:19
> > > To: ivy-user@incubator.apache.org
> > > Subject: HOWTO - Resolve dependencies on demand
> > >
> > > Hi,
> > >
> > >
> > >
> > > I'm a newbie of Ivy and have a request of resolving dependencies on
> > > demand.
> > >
> > >
> > >
> > > Instead of requesting ivy to resolve all the dependencies by using the
> > > default big resolver, I want ivy to resolve (and retrieve) only a set
> > > of dependencies (say them set of D) by default, and resolve another
> > > set of dependencies (say them set of X) while running task X.
> > >
> > >
> > >
> > > That request seems possible based on the description here
> > > (http://incubator.apache.org/ivy/history/trunk/configuration/modules.h
> > > tm l). But, I couldn't find a concrete working example. Can someone
> > > shed light on this issue?
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > >
> > > John Wu
> > >
> > >
> >
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit
> http://www.messagelabs.com/email______________________________________________________________________
> >
>
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://incubator.apache.org/ivy/
> http://www.xoocode.org/
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>



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

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Mime
View raw message