ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georges Labrèche <>
Subject RE: CLI options VS Ant tasks
Date Fri, 17 Apr 2009 14:43:33 GMT

Indeed, I am calling the jar directly.

I cannot make these calls from Ant because I am not using Ant. I am working with .NET projects
hence using NAnt.
In my NAnt build.xml file, a call to Ivy is done via the exec task and directly on the jar,
like so:

<target name="resolve-dependencies" description="Retrieve dependencies with ivy">
		<exec program="java" commandline="-jar ${ivy.jar} -sync -retrieve ${lib.dir}/[artifact]-[type]-[revision].[ext]
-ivy ${ivy.dir}/ivy.xml -settings ${ivy.dir}/ivysettings.xml"/>

This is why I cannot work with Ant tasks and am relying on CLI options.

 - Georges

-----Original Message-----
From: Benjamin Damm [] 
Sent: Thursday, April 16, 2009 8:10 PM
Subject: Re: CLI options VS Ant tasks

You're calling the jar directly, I presume?

I notice you were previously calling via ant.  You could call these from
your build.xml directly.. using an empty target that depends on
ivy:cleancache perhaps (as an example)?


On Thu, 2009-04-16 at 18:57 -0400, Georges Labrèche wrote:
> Hello,
> I am working with Ivy through the CLI and there are a few operations that seem to be
only accessible through Ant tasks.
> For instance <ivy:report /> and <ivy:cleancache />. Are such operations not
executable through the CLI?
> Thanks and regards,
>  - Georges

View raw message