ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] Created: (IVY-676) Ivy doesn't respect the order of the ivy patterns as defined in the settings
Date Mon, 17 Dec 2007 17:03:43 GMT
Ivy doesn't respect the order of the ivy patterns as defined in the settings

                 Key: IVY-676
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-beta-1
            Reporter: Maarten Coene

I have a resolver which has multiple Ivy patterns:

        <filesystem name="tcomp-repository" checkmodified="true" changingPattern=".*" 
            <!-- pattern for the dependencies file -->
            <ivy pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/lib/[module]-[revision].ivy"

            <!-- pattern for the 'old-style' dependencies files -->
            <ivy pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/lib/[module]-[revision].dependencies"

            <!-- the artifact locations -->                
            <artifact pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/[type]/[artifact]-[revision].[ext]"
            <artifact pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/[type]/[artifact].[ext]"
            <artifact pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/lib/[artifact]-[revision].[ext]"
            <artifact pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/lib/[artifact].[ext]"

            <!-- source artifacts -->
            <artifact pattern="${tcomp.repository}/lcm/[module]/[module]-[revision]/[type]/[artifact]-[revision]-src.[ext]"

When both files exists (for instance moduleX-1.0.ivy and moduleX-1.0.dependencies):
with Ivy 1.4, the first pattern that matched was chosen.  In most cases, this was [module]-[revision].ivy
with Ivy 2.0.0-beta1, it seems that the last matching pattern is chosen: [module]-[revision].dependencies

This can cause problems if both files defines the dependencies differently. 

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

View raw message