ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] Resolved: (IVY-1158) Make ivy.xml <conf description> available
Date Tue, 12 Jan 2010 14:45:54 GMT


Maarten Coene resolved IVY-1158.

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

I've implemented your first RFE in trunk.
After running the <ivy:info /> task, the descriptions are availabe as "ivy.configuration.[config

Regarding your second RFE, I think this is too specific to add to Ivy. And you can easily
do it with ant-contrib as you illustrated in your example build.xml, something like this:

<ivy:info file="ivy.xml" />
<ac:for list="${ivy.configurations}" param="conf">
        <echo file="lib/@{conf}/.readme.txt" message="${ivy.configuration.@{conf}.desc}"/>

But please reopen if you don't agree...


> Make ivy.xml <conf description> available
> -----------------------------------------
>                 Key: IVY-1158
>                 URL:
>             Project: Ivy
>          Issue Type: New Feature
>          Components: Ant
>            Reporter: Jan Matèrne
>            Assignee: Maarten Coene
>            Priority: Minor
>             Fix For: trunk
> You can (an IMHO should) write an explanation of the configuration in the ivy file
> <ivy-module version="2.0">
>     <configurations>
>         <conf name="runtime" description="Runtime Libraries"/>
>     </configurations>
> </ivy-module>
> The Ant task <ivy:info/> makes the names names available, but not the descriptions.

> So the first RFE is making them available (accoding to 'infotest.configurations') as
> Another RFE is enhanding <ivy:retrieve/> to create a describing file in the destination
directory which contains this information.
> E.e. with Ivy pattern lib/[conf]/[artifact].[ext] you would create with <ivy:retrieve
descriptionfile="readme.txt"/> a file lib/runtime/readme.txt with content "Runtime Libraries".
> (!! Recreate old files, but beware that multiple confs could result in the same dir if
the ivy pattern doesnt contain a [conf]. )

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message