ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-869) Bootstrapping ivy instruction
Date Mon, 04 Aug 2008 17:36:44 GMT

    [ https://issues.apache.org/jira/browse/IVY-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619600#action_12619600
] 

Xavier Hanin commented on IVY-869:
----------------------------------

Why not put this on the wiki:
http://cwiki.apache.org/confluence/display/IVY

> 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.


Mime
View raw message