ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gareth Western <gar...@garethwestern.com>
Subject Problem with ivy.xml included in the root directory for ivy distribution?
Date Wed, 14 Jan 2009 12:51:59 GMT
Hi,

I've just downloaded the ivy-2.0.0-rc2 binary zip file (without deps).
I ran "ant" in the root directory (apache-ivy-2.0.0-rc2) and got the
following error message:

gareth@deathstar:~/software/apache-ivy-2.0.0-rc2$ ant
Buildfile: build.xml

init-ivy:

retrieve-all:
No ivy:settings found for the default reference 'ivy.instance'.  A
default instance will be used
     [null] no settings file found, using default...
     [null] :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/ ::
     [null] :: loading settings :: url =
jar:file:/usr/share/ant/lib/ivy-2.0.0-beta2.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] [xml parsing:
file:/home/gareth/software/apache-ivy-2.0.0-rc2/ivy.xml:52:112:
cvc-complex-type.3.2.2: Attribute 'revConstraint' is not allowed to
appear in element 'dependency'. in
file:/home/gareth/software/apache-ivy-2.0.0-rc2/ivy.xml
[ivy:retrieve] ]

BUILD FAILED
/home/gareth/software/apache-ivy-2.0.0-rc2/build.xml:55: syntax errors
in ivy file: java.text.ParseException: [xml parsing:
file:/home/gareth/software/apache-ivy-2.0.0-rc2/ivy.xml:52:112:
cvc-complex-type.3.2.2: Attribute 'revConstraint' is not allowed to
appear in element 'dependency'. in
file:/home/gareth/software/apache-ivy-2.0.0-rc2/ivy.xml
]


The script works if I remove the "revConstraint" attribute on line 52
of the ivy.xml file. Does this mean it's a bug in the script or is my
environment just set up incorrectly somehow?

Thanks,

Gareth

Mime
View raw message