ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard_Senior <>
Subject Re: Just the artifacts...
Date Tue, 22 Mar 2011 15:32:01 GMT

Steve Miller-26 wrote:
> Try <ivy:retrieve ... type="jar"/>

Thanks for the quick response!

Still not working.. it's putting everything in ./lib in the full repository
structure of [org].... complete with all ivy's.

I think there's a thing called ivyPattern and artifactPattern you can use in
the cache settings but I've tried that and that doesn't work either!

Build script as follows :

<?xml version="1.0"?>
<project name="core" default="build" basedir="."
	<property name="workspace.dir" location="../"/>
	<property name="lib.dir" location="./lib"/>
	<property name="lib.dir.buildtime" location="${lib.dir}/buildtime"/>
	<property name="lib.dir.buildtime.ivy"
	<property name="ivy.version" value="2.0.0-beta1"/>
	<target name="build" depends="ivy_bootstrap" />
	<target name="ivy_bootstrap">
		<mkdir dir="${lib.dir.buildtime.ivy}"/>  
		<echo message="getting ivy from maven repository"/>  		
dest="${lib.dir.buildtime.ivy}" usetimestamp="true"/>
		<path id="ivy.lib.path">  
			<fileset dir="${lib.dir.buildtime.ivy}" includes="*.jar"/>  
		<taskdef resource="org/apache/ivy/ant/antlib.xml"
uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
		<ivy:retrieve type="jar"/>


View this message in context:
Sent from the ivy-user mailing list archive at

View raw message