ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <russg...@gmail.com>
Subject Re: repository
Date Tue, 16 Nov 2004 17:52:14 GMT
On Tue, 16 Nov 2004 11:43:57 -0600, Dominique Devienne
<ddevienne@lgc.com> wrote:
> > Do you think that triggering this based on a version of "latest" makes
> > the most sense, or do we need a separate nested task or boolean flag?
> > I like the version approach except that I hate to make decisions based
> > on a string value.
> 
> No, it shouldn't be based on the string value. As I said earlier, we
> have different 'latest' versions, one per CVS branch. So the version
> string is more an explicit hint that it's a dynamic dependency, as
> opposed to a fixed 1.0 dependency. I'd have branchA-latest and
> branchB-latest for example. A boolean flag or a different element sounds
> good, the difficult part is in finding a good name for either... --DD>

One possibility is to use a different repository type for such dependencies:

<dependencies>
    <dynamic-local-repository cvs-archive-label=""/>

or something similar.  I don't currently work this way, so I don't
have a good sense of what is appropriate. Can you describe the way you
would use this in some detail?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message