You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Archie Cobbs (JIRA)" <ji...@apache.org> on 2008/03/20 18:39:26 UTC
[jira] Created: (IVY-782) task incorrectly reports a
disallowed override
<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
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.
[jira] Updated: (IVY-782) task incorrectly reports a
disallowed override
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (IVY-782) task incorrectly reports
a disallowed override
Posted by "Gilles Scokart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Scokart resolved IVY-782.
--------------------------------
Resolution: Duplicate
Fix Version/s: unspecified
This is duplicate of IVY-771
> <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: unspecified
>
>
> 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.