Author: maartenc
Date: Sun Jun 27 20:01:26 2010
New Revision: 958414

URL: http://svn.apache.org/viewvc?rev=958414&view=rev
Log:
Don't fail if local lib dir doesn't exist

Modified:
    ant/ivy/core/trunk/src/example/go-ivy/build.xml

Modified: ant/ivy/core/trunk/src/example/go-ivy/build.xml
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/example/go-ivy/build.xml?rev=958414&r1=958413&r2=958414&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/example/go-ivy/build.xml (original)
+++ ant/ivy/core/trunk/src/example/go-ivy/build.xml Sun Jun 27 20:01:26 2010
@@ -63,10 +63,10 @@
     <target name="install-ivy" depends="download-ivy" description="--> install 
ivy">
        <!-- try to load ivy here from local ivy dir, in case the user has not 
already dropped
              it into ant's lib dir (note that the latter copy will always take 
precedence).
-             We will not fail as long as local lib dir exists (it may be 
empty) and
-             ivy is in at least one of ant's lib dir or the local lib dir. -->
+             We will not fail as long as the ivy jar is in at least one of 
ant's lib dir or 
+             the local 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"/>


Reply via email to