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="."
xmlns:bundlor="antlib:com.springsource.bundlor.ant"
xmlns:ivy="antlib:org.apache.ivy.ant">
<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"
location="${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"/>
<get
src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"
dest="${lib.dir.buildtime.ivy}" usetimestamp="true"/>
<path id="ivy.lib.path">
<fileset dir="${lib.dir.buildtime.ivy}"
includes="*.jar"/>
</path>
<taskdef resource="org/apache/ivy/ant/antlib.xml"
uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
<ivy:retrieve type="jar"/>
</target>
</project>
--
View this message in context:
http://old.nabble.com/Just-the-artifacts...-tp31211016p31211108.html
Sent from the ivy-user mailing list archive at Nabble.com.