You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2009/07/01 00:56:47 UTC
[jira] Updated: (IVY-1097) configuration groups
[ https://issues.apache.org/jira/browse/IVY-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-1097:
-------------------------------
Fix Version/s: (was: trunk)
2.1.0-RC2
> configuration groups
> --------------------
>
> Key: IVY-1097
> URL: https://issues.apache.org/jira/browse/IVY-1097
> Project: Ivy
> Issue Type: New Feature
> Components: Core
> Reporter: Xavier Hanin
> Assignee: Xavier Hanin
> Fix For: 2.1.0-RC2
>
>
> In modules having a lot of configurations, sometimes it would be nice to be able to define a group of configurations based on their attributes (including extra attributes). The proposed syntax is {{*[att=value]}}
> For instance, one could define an extra attribute named 'axis' on the configuration, and then refer to all configurations where 'axis' is 'platform' with {{*[axis=platform]}}.
> Here is an example of Ivy file using this notation:
> {noformat}
> <ivy-module version="1.0" xmlns:e="http://ant.apache.org/ivy/extra">
> <info organisation="org5"
> module="mod5.1"
> revision="4.5"
> status="integration"
> publication="20090501110000"
> />
> <configurations>
> <conf name="A" />
> <conf name="B" />
>
> <conf name="windows" e:axis="platform" />
> <conf name="linux" e:axis="platform"/>
> </configurations>
> <publications>
> <artifact name="art51A" type="jar" conf="A,*[axis=platform]"/>
> <artifact name="art51B" type="jar" conf="B,*[axis=platform]"/>
> <artifact name="art51B" type="dll" conf="B,windows"/>
> <artifact name="art51B" type="so" conf="B,linux"/>
> </publications>
> <dependencies>
> <dependency org="org1" name="mod1.2" rev="2.0" conf="B,*[axis=platform]->default"/>
> </dependencies>
> </ivy-module>
> {noformat}
> In this ivy file, {{*[axis=platform]}} is equivalent to {{windows,linux}}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.