ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject Re: new ivy-settings error in beta 2
Date Wed, 12 Mar 2008 08:02:50 GMT
I think it is because the id is set first by ant, then by the settings task.
I guess that this behavior may depend on the ant version.

Gilles

On 11/03/2008, Xavier Hanin <xavier.hanin@gmail.com> wrote:
> On Tue, Mar 11, 2008 at 3:02 PM, Brown, Carlton
>  <Carlton.Brown@compucredit.com> wrote:
>  > After switching to beta 2 I suddenly get this error about ivy settings
>  >  being incorrectly overridden.   This cannot be possible, as
>  >  <ivy:settings> is only being called once in my build script, in line 39
>  >  where the error is being reported.   However, I am able to work around
>  >  it by setting override='allowed'.
>  >
>  >  C:\allworkspaces\ivy-poc\hellorm\hello-A\build.xml:39: 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(IvyAntSettings.java:262)
>  >
>  >  New bug, open bug, or error on my part?
>
> This is probably a bug. Others have already reported the same problem,
>  but I don't think it was in such a simple case, where you have only
>  one call to ivy:settings. Could you open an issue and attach your
>  build.xml?
>
>  Xavier
>
> >
>  >
>  >
>  >
>  >  -----------------------------------------
>  >  ====================================================
>  >  This message contains PRIVILEGED and CONFIDENTIAL
>  >  information that is intended only for use by the
>  >  named recipient. If you are not the named recipient,
>  >  any disclosure, dissemination, or action based on
>  >  the contents of this message is prohibited. In such
>  >  case please notify us and destroy and delete all
>  >  copies of this transmission.  Thank you.
>  >  ====================================================
>
>
>
>
> --
>  Xavier Hanin - Independent Java Consultant
>  http://xhab.blogspot.com/
>  http://ant.apache.org/ivy/
>  http://www.xoocode.org/
>


-- 
Gilles Scokart

Mime
View raw message