ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <>
Subject [jira] Work started: (IVY-771) ivy:settings fails when override is not set to 'true'
Date Thu, 20 Mar 2008 22:57:24 GMT


Work on IVY-771 started by Maarten Coene.

> ivy:settings fails when override is not set to 'true'
> -----------------------------------------------------
>                 Key: IVY-771
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.0.0-beta-2
>         Environment: Windows XP
>            Reporter: Carlton Brown
>            Assignee: Maarten Coene
>            Priority: Minor
>         Attachments: ant-diagnostics.txt, build-wrapper.xml
> Call to <ivy:settings> results in different errors if override is not explicitly
set to 'true'.   The failure behavior depends whether override is set to false or not set
at all.
> These tests both call the target "resolve-dependencies" which depends on a target  "bootstrap-ivy".
 The <ivy:settings> only gets called from "bootstrap-ivy".
> If override is not set at all, this is the error:
> C:\allworkspaces\ivy-poc\hellorm\hello-A\src\build-wrapper.xml:47: overriding a previous
definition of ivy:settings with the id 'module-settings' is not allowed when using override='notallowed'.
> 	at org.apache.ivy.ant.IvyAntSettings.execute(
> If override is set to 'false', I get this error:
> C:\allworkspaces\ivy-poc\hellorm\hello-A\src\build-wrapper.xml:47: java.lang.NullPointerException
> 	at
> 	at org.apache.ivy.ant.IvyAntSettings.getConfiguredIvyInstance(
> This test calls the target "bootstrap-ivy" directly.   The behavior is same as above
if I don't set override.   However, if I set override to false, I don't get the NPE anymore,
I get a warning about the settings already being defined:
> [ivy:settings] a settings definition is already available for module-settings: skipping

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

View raw message