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
<div class="step">
<h2>step 3: publication of dependee project</h2>
Go to dependee directory and publish the project
-<div class="shell"><pre>I:\dependee>ant publish
+<div class="shell"><pre>
[<tutorial/log/dependence-standalone.txt>]
</pre></div>
What we see here:
@@ -145,7 +145,7 @@ Both are mere copy of files found in the
<div class="step">
<h2>step 4: running the depender project</h2>
Go to directory depender and run ant
-<div class="shell"><pre>I:\depender>ant
+<div class="shell"><pre>
[<tutorial/log/dependence-depending.txt>]
</pre></div>
What we see here:
@@ -159,7 +159,7 @@ What we see here:
<div class="step">
<h2>step 5: new version of dependee project</h2>
Like we did before in step 3, publish again the dependee project. This will
result as a new version of the project.
-<div class="shell"><pre>I:\dependee>ant publish
+<div class="shell"><pre>
[<tutorial/log/dependence-standalone-2.txt>]
</pre></div>
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
<li>running the test must display version 2 of dependee project</li>
</ul>
Let's go!!!
-<div class="shell"><pre>I:\depender>ant
+<div class="shell"><pre>
[<tutorial/log/dependence-depending-2.txt>]
</pre></div>
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.