ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn J. Mason" <>
Subject Re: ivy not loading ivy.xml from correct location?
Date Wed, 24 Nov 2010 22:10:24 GMT
The ivy settings file isn't an ivy.xml -- it's a different format:

Each project/module (i.e. ormlayer) also needs an ivy.xml file listing dependencies and artifacts
it produces.

I think to have the ivy.xml in a lower directory than the toplevel you need:

<ivy:resolve file="bldfiles/ivy.xml" />



On 11/25/2010 08:42 AM, Hiller, Dean (Contractor) wrote:

I have an ant target tooldownload like so

      <target name="tooldownload" depends="ivydownload">

            <ivy:settings file="${config}/ivy.xml"/>



Check the ant log and ivy loads the correct file at first then complains
it can't find it at a different location...what is going on?


[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: ::

[ivy:retrieve] :: loading settings :: file =

[ivy:retrieve] C:\AAROOT\area1\ormlayer\ivy.xml (The system cannot find
the file specified) in file:


So I try this instead...

      <target name="tooldownload" depends="ivydownload">

            <ivy:configure file="${config}/ivy.xml"/>



Same issue, so I try this...

      <target name="tooldownload" depends="ivydownload">

            <echo message="test3"/>

            <property name="ivy.settings.file"



Same error except with my test3 message(just making sure I was changing
and running the same file.  What gives here?  My structure

Of my project is

<project>/bldfiles/build.xml and the baseDir=".."

Is the Ivy tasks not reading the basedir property correctly or
something?  I don't get what is going on.  We execute ant from a

File at the top level of the project.  Ie. Build.bat has ant -f

Does this not work?  Is this a bug?



This message and any attachments are intended only for the use of the addressee and
may contain information that is privileged and confidential. If the reader of the
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

Glenn J. Mason
Software Configuration
monitise <>

geo: melbourne, australia
tel: +613 5446 7224
This message and any attachments is for the exclusive use of the individual to which it is
addressed and may contain information which is privileged, confidential or prohibited from

This message contains confidential and proprietary information of the sender, and is intended
only for the person(s) to whom it is addressed. Any use, distribution, copying, disclosure
or taking of any action in reliance upon it by any other person is strictly prohibited. If
you have received this message in error, please notify the e-mail sender immediately, and
delete the original message without making a copy.

The Monitise group comprises: Monitise plc (Reg. No. 6011822), Monitise Group Limited (Reg.
No. 5590897), Monitise International Limited (Reg. No. 5556711), Monitise Europe Limited (Reg.
No. 4831976) and Monitise Business Solutions Limited (Reg. No. 5814266). These companies are
registered in England and Wales and their registered office address is: Warnford Court, 29
Throgmorton Street, London, EC2N 2AT United Kingdom.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message