You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2010/06/27 23:24:51 UTC

svn commit: r958425 - /ant/ivy/core/branches/2.2.x/src/example/build-a-ivy-repository/build.xml

Author: maartenc
Date: Sun Jun 27 21:24:49 2010
New Revision: 958425

URL: http://svn.apache.org/viewvc?rev=958425&view=rev
Log:
Don't fail if "${user.home}/.ivy2/jars" directory doesn't exist.

Modified:
    ant/ivy/core/branches/2.2.x/src/example/build-a-ivy-repository/build.xml

Modified: ant/ivy/core/branches/2.2.x/src/example/build-a-ivy-repository/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.2.x/src/example/build-a-ivy-repository/build.xml?rev=958425&r1=958424&r2=958425&view=diff
==============================================================================
--- ant/ivy/core/branches/2.2.x/src/example/build-a-ivy-repository/build.xml (original)
+++ ant/ivy/core/branches/2.2.x/src/example/build-a-ivy-repository/build.xml Sun Jun 27 21:24:49 2010
@@ -43,7 +43,7 @@
     	      We will not fail as long as ivy home lib dir exists (it may be empty) and
     	      ivy is in at least one of ant's lib dir or the ivy home lib dir. -->
     	<path id="ivy.lib.path">
-    	    <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
+    		<pathelement location="${ivy.jar.file}"/>
     	</path>
     	<taskdef resource="org/apache/ivy/ant/antlib.xml"
     	          uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>