ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <archie.co...@gmail.com>
Subject Re: conf mapping documentation contradicts itself
Date Tue, 04 May 2010 17:10:26 GMT
On Tue, May 4, 2010 at 11:54 AM, mjparme <mjparmeley@west.com> wrote:

>
> The documentation regarding the syntax of the -> operator for conf mapping
> is
> unnecessarily confusing and in fact contradicts itself. IMHO, it needs to
> better define what it means by the master configuration and what is the
> dependency configuration.
>
> Documentation is located here and the relevent section is Configuration
> Mapping:
>
> http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html
>
> First sentence reads: "This mapping indicates which configurations of the
> dependency are required in which configurations of the current module, also
> called master configurations."
>
> This suggests that the master configuration is the "configuration of the
> current module" which I assume is the ivy module file I am currently
> looking
> at.
>
> However, later it says: "A good way to remember which side is for the
> master
> configuration (i.e. the configuration of the module defining the
> dependency)
> and which side is for the dependency configuration is to read the '->' as
> 'depends on'."
>
> Now this suggests that the master configuration is the configuration of the
> module of the artifact I am declaring as a dependency.
>

Not sure how you're reading it that way. It was not confusing to me, but so
what? If it's confusing to you (i.e., anyone) then it needs to be clarified.
Can you explain your thought process?

Perhaps the "depends on" phrase is problematic. Would "requires" be better?

-Archie

-- 
Archie L. Cobbs

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