ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <>
Subject [jira] Created: (IVY-1097) configuration groups
Date Sun, 28 Jun 2009 12:44:47 GMT
configuration groups

                 Key: IVY-1097
             Project: Ivy
          Issue Type: New Feature
          Components: Core
            Reporter: Xavier Hanin
            Assignee: Xavier Hanin

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:
<ivy-module version="1.0" xmlns:e="">
	<info organisation="org5"
		<conf name="A" />
		<conf name="B" />
		<conf name="windows" e:axis="platform" />
		<conf name="linux" e:axis="platform"/>
		<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"/>
		<dependency org="org1" name="mod1.2" rev="2.0" conf="B,*[axis=platform]->default"/>

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.

View raw message