incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Wang (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-403) customize "default" conf behavior
Date Wed, 07 Feb 2007 20:21:06 GMT
customize "default" conf behavior
---------------------------------

                 Key: IVY-403
                 URL: https://issues.apache.org/jira/browse/IVY-403
             Project: Ivy
          Issue Type: New Feature
          Components: Ant
    Affects Versions: 1.3.1
         Environment: Windows xp, Linux, Solaris, Unix
            Reporter: Han Wang
            Priority: Minor


Say my project depends on some module in my ivy repository and when I specifies the dependency,
I use the following:

<dependency org="org" name="module" rev="1.0.1" />

so no "conf" attribute is specified. Currently in version 1.3.1 and 1.4 I believe, the behavior
is that all the public configurations of the module in ivy repository will be used, which
is not the desired behavior sometimes. I'd like to have a way to change this default behavior
so that when no "conf" is specified, it only uses a specific public configuration.

e.g.
Module in ivy repository has the following configurations:

<configurations>
    <conf name="core" />
    <conf name="jms" />
    <conf name="swing-gui" />
</configurations>

And in my project, when I specify:
    <dependency org="org" name="module" rev="1.0.0" />
only the "core" configuration is used. And when I specify:a
    <dependency org="org" name="module" rev="1.0.0" conf="jms" />
only "jms" configuration is used.

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


Mime
View raw message