ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-782) <ivy:settings> task incorrectly reports a disallowed override
Date Thu, 19 Mar 2009 20:41:50 GMT

     [ https://issues.apache.org/jira/browse/IVY-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene updated IVY-782:
------------------------------

    Fix Version/s:     (was: unspecified)
                   2.0-RC1

> <ivy:settings> task incorrectly reports a disallowed override
> -------------------------------------------------------------
>
>                 Key: IVY-782
>                 URL: https://issues.apache.org/jira/browse/IVY-782
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.0.0-beta-2
>         Environment: SuSE Linux 10.0
> Sun Java 1.5
> Apache Ant version 1.7.0
>            Reporter: Archie Cobbs
>             Fix For: 2.0-RC1
>
>
> Using this {{build.xml}}:
> {noformat}
> <project name="ivybug" xmlns:ivy="urn:org.apache.ivy.ant">
>     <taskdef uri="urn:org.apache.ivy.ant"
>       resource="org/apache/ivy/ant/antlib.xml"
>       classpath="/usr/share/java/ivy.jar"/>
>     <ivy:settings id="build-macros-ivy-settings" file="ivysettings.xml"/>
> </project>
> {noformat}
> and this {{ivysettings.xml}}:
> {noformat}
> <ivysettings>
>     <resolvers>
>         <filesystem name="local-user" validate="true">
>             <ivy pattern="${user.home}/.ivy/repo/[module]/[revision]/ivy.xml"/>
>             <artifact pattern="${user.home}/.ivy/repo/[module]/[revision]/[artifact].[ext]"/>
>         </filesystem>
>     </resolvers>
> </ivysettings>
> {noformat}
> when I run {{ant}} I get this (bogus) error:
> {noformat}
> $ ant
> Buildfile: build.xml
> BUILD FAILED
> /home/archie/home.svn/hogwash/tools/ant-macros/foo/build.xml:5: overriding a previous
definition of ivy:settings with the id 'build-macros-ivy-settings' is not allowed when using
override='notallowed'.
> Total time: 2 seconds
> {noformat}
> There should be no override error because the settings have only been invoked once.

-- 
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