Invoked command line is now automatically generated.

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@957722 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maarten Coene 2010-06-24 21:32:32 +00:00
parent 105e4b1e82
commit 6f402f2d11
1 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ This will clean up the entire project directory tree. You can do it each time yo
<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 current project, more precisely 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 the depender project? Two major things are
<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.