[
https://issues.apache.org/jira/browse/IVY-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619620#action_12619620
]
Stepan Koltsov commented on IVY-869:
------------------------------------
There is already similar instruction exists:
http://www.jaya.free.fr/ivy/doc/install.html
> Bootstrapping ivy instruction
> -----------------------------
>
> Key: IVY-869
> URL: https://issues.apache.org/jira/browse/IVY-869
> Project: Ivy
> Issue Type: Improvement
> Affects Versions: 2.0.0-beta-2
> Reporter: Stepan Koltsov
>
> I use following code to bootstrap ivy:
> {code}
> <available property="ivy.available" file="lib/ivy/ivy-2.0.0-beta2.jar"/>
> <target name="download-ivy" unless="ivy.available">
> <mkdir dir="lib/ivy"/>
> <echo>Downloading ivy</echo>
> <get
> src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.0.0-beta2/ivy-2.0.0-beta2.jar"
> dest="lib/ivy/ivy-2.0.0-beta2.jar"/>
> </target>
> <target name="resolve" depends="download-ivy">
> <taskdef resource="org/apache/ivy/ant/antlib.xml"
> uri="antlib:org.apache.ivy.ant">
> <classpath>
> <fileset dir="lib/ivy" includes="*.jar"/>
> </classpath>
> </taskdef>
> <ivy:retrieve
> pattern="lib/dep/[organisation]-[artifact]-[revision].[ext]" sync="true"/>
> </target>
> {code}
> This should be possibly included into the documentation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.