Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 66078 invoked from network); 24 Jun 2010 21:33:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 21:33:28 -0000 Received: (qmail 9932 invoked by uid 500); 24 Jun 2010 21:33:28 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 9898 invoked by uid 500); 24 Jun 2010 21:33:27 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 9891 invoked by uid 99); 24 Jun 2010 21:33:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 21:33:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 21:33:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 9060E23889DA; Thu, 24 Jun 2010 21:32:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r957722 - /ant/ivy/core/trunk/doc/tutorial/dependence.html Date: Thu, 24 Jun 2010 21:32:32 -0000 To: notifications@ant.apache.org From: maartenc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100624213232.9060E23889DA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: maartenc Date: Thu Jun 24 21:32:32 2010 New Revision: 957722 URL: http://svn.apache.org/viewvc?rev=957722&view=rev Log: Invoked command line is now automatically generated. Modified: ant/ivy/core/trunk/doc/tutorial/dependence.html Modified: ant/ivy/core/trunk/doc/tutorial/dependence.html URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/tutorial/dependence.html?rev=957722&r1=957721&r2=957722&view=diff ============================================================================== --- ant/ivy/core/trunk/doc/tutorial/dependence.html (original) +++ ant/ivy/core/trunk/doc/tutorial/dependence.html Thu Jun 24 21:32:32 2010 @@ -123,7 +123,7 @@ This will clean up the entire project di

step 3: publication of dependee project

Go to dependee directory and publish the project -
I:\dependee>ant publish
+
 []
 
What we see here: @@ -145,7 +145,7 @@ Both are mere copy of files found in the

step 4: running the depender project

Go to directory depender and run ant -
I:\depender>ant
+
 []
 
What we see here: @@ -159,7 +159,7 @@ What we see here:

step 5: new version of dependee project

Like we did before in step 3, publish again the dependee project. This will result as a new version of the project. -
I:\dependee>ant publish
+
 []
 
Now if you look in your repository folder, you will find 2 version published of the dependee project. @@ -179,7 +179,7 @@ What do we expect about running again th
  • running the test must display version 2 of dependee project
  • Let's go!!! -
    I:\depender>ant
    +
     []
     
    Ok we have the result expected as the run target shows that we are using the version 2 of the main class of dependee project. If we take a look at the resolve target results, we can see that one artifact has been downloaded to the ivy cache. In fact this file is the version 2 of the dependee project that was taken from the repository, you can now retrieve it in the ivy-cache directory.