ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs (JIRA)" <>
Subject [jira] Created: (IVY-782) <ivy:settings> task incorrectly reports a disallowed override
Date Thu, 20 Mar 2008 17:39:26 GMT
<ivy:settings> task incorrectly reports a disallowed override

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

Using this {{build.xml}}:
<project name="ivybug" xmlns:ivy="urn:org.apache.ivy.ant">
    <taskdef uri="urn:org.apache.ivy.ant"
    <ivy:settings id="build-macros-ivy-settings" file="ivysettings.xml"/>
and this {{ivysettings.xml}}:
        <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]"/>
when I run {{ant}} I get this (bogus) error:
$ ant
Buildfile: build.xml

/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

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.

View raw message