You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Bourzeix, Hervé <He...@Genesys.com> on 2007/02/08 10:22:12 UTC

Module dependant on itself!

Hi,

Somewhere it says ivy eat its own food but why I have this error so ?

BUILD FAILED
build-common-1.2.xml:146: impossible to resolve dependencies: java.lang.IllegalArgumentException: a module is not authorized to depend on itself: [ MyCompany | AntCommon | 1.2 ]

Re: Module dependant on itself!

Posted by Xavier Hanin <xa...@gmail.com>.
On 2/8/07, Bourzeix, Hervé <He...@genesys.com> wrote:
>
> Hi,
>
> Somewhere it says ivy eat its own food but why I have this error so ?
>
> BUILD FAILED
> build-common-1.2.xml:146: impossible to resolve dependencies:
> java.lang.IllegalArgumentException: a module is not authorized to depend
> on itself: [ MyCompany | AntCommon | 1.2 ]
>

Well, Ivy eats its own dog food because it uses Ivy to resolve its
dependencies, but it doesn't declare a dependency on itself to do that,
because it wouldn't be useful, since we need something else than Ivy to get
the Ivy we use to do the rest of the build. So it's not authorized to have a
module depending on itself. But why do you need such a weird thing?