You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-dev@incubator.apache.org by Xavier Hanin <xa...@gmail.com> on 2007/11/05 15:32:19 UTC

Re: svn commit: r591829 - in /incubator/ivy/core/trunk/doc/tutorial: ./ log/

On 11/4/07, gscokart@apache.org <gs...@apache.org> wrote:
>
> Author: gscokart
> Date: Sun Nov  4 12:12:45 2007
> New Revision: 591829
>
> URL: http://svn.apache.org/viewvc?rev=591829&view=rev
> Log:
> adapt tutorial for ivy 2.0 , run all tutorials with a 2.0 version
> (IVY-591). I have now extracted the execution log to make them easier to
> log.
>
> Added:
>     incubator/ivy/core/trunk/doc/tutorial/log/
>     incubator/ivy/core/trunk/doc/tutorial/log/chained-resolvers.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/configurations-runcc.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/configurations-runhm.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending-2.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone-2.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone.txt
> (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/dual.txt   (with props)
>     incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-1.txt   (with
> props)
>     incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-2.txt   (with
> props)
> Modified:
>     incubator/ivy/core/trunk/doc/tutorial/conf.html
>     incubator/ivy/core/trunk/doc/tutorial/dual.html
>     incubator/ivy/core/trunk/doc/tutorial/multi-project.html
>     incubator/ivy/core/trunk/doc/tutorial/multiple.html
>     incubator/ivy/core/trunk/doc/tutorial/start.html
>
> Modified: incubator/ivy/core/trunk/doc/tutorial/conf.html
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/conf.html?rev=591829&r1=591828&r2=591829&view=diff
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/conf.html (original)
> +++ incubator/ivy/core/trunk/doc/tutorial/conf.html Sun Nov  4 12:12:45
> 2007
> @@ -78,64 +78,9 @@
>
> <h2>See it in action</h2>
> The library project is build using ant. Open a shell in the root directory
> of the project and type <b>ant</b>.
> -<div class="shell"><pre>
> -Buildfile: build.xml
> -clean:
> -resolve:
> -:: Ivy 20060123130642 - 20060123130642 :: http://ivy.jayasoft.org/ ::
> -no configuration file found, using default...
> -:: configuring :: url = jar:file:/C:/dev/ant/apache-ant-1.6.2/lib/ivy-
> 20060123130642.jar!/fr/jayasoft/ivy/conf/ivysettings.xml
> -:: resolving dependencies :: [ jayasoft | filter-framework |
> working@SPIDER ]
> -        confs: [api, homemade-impl, cc-impl, test]
> -        found [ apache | commons-collections | 3.1 ] in main
> -        found [ junit | junit | 3.8 ] in main
> -downloading
> http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-3.1.jar................(546kB)
> -        [SUCCESSFUL ] [ apache | commons-collections | 3.1 ]/commons-
> collections.jar[jar] (34320ms)
> -downloading http://www.ibiblio.org/maven/junit/jars/junit-3.8.jar........................... (118kB)
> -        [SUCCESSFUL ] [ junit | junit | 3.8 ]/junit.jar[jar] (8462ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |        api       |   0   |   0   |   0   |   0   ||   0   |
> 0   |
> -        |   homemade-impl  |   0   |   0   |   0   |   0   ||   0   |
> 0   |
> -        |      cc-impl     |   1   |   1   |   1   |   0   ||   1   |
> 1   |
> -        |       test       |   2   |   2   |   1   |   0   ||   2   |
> 2   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: [ jayasoft | filter-framework ]
> -        confs: [api, homemade-impl, cc-impl, test]
> -        3 artifacts copied, 0 already retrieved
> -
> -build:
> -    [mkdir] Created dir:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\build
> -    [mkdir] Created dir:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\distrib
> -    [javac] Compiling 4 source files to
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\build
> -      [jar] Building jar:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\distrib\filter-
> api.jar
> -      [jar] Building jar:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\distrib\filter-
> hmimpl.jar
> -      [jar] Building jar:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\distrib\filter-
> ccimpl.jar
> -
> -test:
> -    [mkdir] Created dir:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\build\test-report
> -    [mkdir] Created dir:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\build\test-classes
> -    [javac] Compiling 3 source files to
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\filter-framework\build\test-classes
> -    [junit] Running filter.ccimpl.CCFilterTest
> -    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.02 sec
> -    [junit] Running filter.hmimpl.HMFilterTest
> -    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.01 sec
> -
> -publish:
> -:: delivering :: [ jayasoft | filter-framework | working@SPIDER ] :: 1.3:: release :: Tue Jan 24 10:53:41 CET 2006
> -        delivering ivy file to distrib/ivy.xml
> -:: publishing :: [ jayasoft | filter-framework | working@SPIDER ]
> -        published filter-api to
> D:\users\mm\.ivy/local/jayasoft/filter-framework/1.3/jars/filter-api.jar
> -        published filter-ccimpl to
> D:\users\mm\.ivy/local/jayasoft/filter-framework/1.3/jars/filter-
> ccimpl.jar
> -        published filter-hmimpl to
> D:\users\mm\.ivy/local/jayasoft/filter-framework/1.3/jars/filter-
> hmimpl.jar
> -        published ivy to
> D:\users\mm\.ivy/local/jayasoft/filter-framework/1.3/ivys/ivy.xml
> -     [echo] project filter-framework released with version 1.3
> -
> -BUILD SUCCESSFUL
> -</pre></div>
> +<!--div class="shell"><pre-->
> +<ilayer src="log/hello-ivy.txt" visibility="show"></ilayer>
> +<!--/pre></div-->


What's this ilayer for? In other tutorials you use your new (and smart)
xooki include, is there any reason for using ilayer here?

Xavier

The ant's default target is publish.
> This target use ivy to publish our library binaries in a local repository.
> As we do not specify any repository path the default one is use. ({
> home.dir}/.ivy/local/jayasoft/filter-framework/)
> @@ -222,80 +167,13 @@
> Use ant to run the application.
> Default ant target is run-cc and will launch application using common
> collection jar.
> <div class="shell"><pre>
> -Buildfile: build.xml
> -
> -resolve:
> -:: Ivy 20060123130642 - 20060123130642 :: http://ivy.jayasoft.org/ ::
> -no configuration file found, using default...
> -:: configuring :: url = jar:file:/C:/dev/ant/apache-ant-1.6.2/lib/ivy-
> 20060123130642.jar!/fr/jayasoft/ivy/conf/ivysettings.xml
> -:: resolving dependencies :: [ jayasoft | myapp | working@SPIDER ]
> -        confs: [build, noexternaljar, withexternaljar]
> -        found [ jayasoft | filter-framework | 1.3 ] in local
> -        [1.3] [ jayasoft | filter-framework | latest.integration ]
> -        found [ apache | commons-collections | 3.1 ] in default
> -downloading
> D:\users\mm\.ivy\local\jayasoft\filter-framework\1.3\jars\filter-
> ccimpl.jar .... (1kB)
> -        [SUCCESSFUL ] [ jayasoft | filter-framework | 1.3 ]/filter-
> ccimpl.jar[jar] (0ms)
> -downloading
> D:\users\mm\.ivy\local\jayasoft\filter-framework\1.3\jars\filter-api.jar.... (1kB)
> -        [SUCCESSFUL ] [ jayasoft | filter-framework | 1.3 ]/filter-
> api.jar[jar] (0ms)
> -downloading
> D:\users\mm\.ivy\local\jayasoft\filter-framework\1.3\jars\filter-
> hmimpl.jar .... (1kB)
> -        [SUCCESSFUL ] [ jayasoft | filter-framework | 1.3 ]/filter-
> hmimpl.jar[jar] (10ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |       build      |   1   |   1   |   1   |   0   ||   1   |
> 1   |
> -        |   noexternaljar  |   1   |   1   |   1   |   0   ||   2   |
> 2   |
> -        |  withexternaljar |   2   |   1   |   1   |   0   ||   3   |
> 2   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: [ jayasoft | myapp ]
> -        confs: [build, noexternaljar, withexternaljar]
> -        6 artifacts copied, 0 already retrieved
> -
> -build:
> -    [mkdir] Created dir:
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\myapp\build
> -    [javac] Compiling 1 source file to
> D:\svn\jayasoft\projects\tools\ivy\src\example\configurations\multi-projects\myapp\build
> -
> -run-cc:
> -     [java] Filtering with:class filter.ccimpl.CCFilter
> -     [java] Result :[two, tree]
> +[<tutorial/log/configurations-runcc.txt>]
> </pre></div>
> Launching application with only home made jars is straingforward.
> type ant run-hm
>
> <div class="shell"><pre>
> -Buildfile: build.xml
> -
> -resolve:
> -:: Ivy 20060123130642 - 20060123130642 :: http://ivy.jayasoft.org/ ::
> -no configuration file found, using default...
> -:: configuring :: url = jar:file:/C:/dev/ant/apache-ant-1.6.2/lib/ivy-
> 20060123130642.jar!/fr/jayasoft/ivy/conf/ivysettings.xml
> -:: resolving dependencies :: [ jayasoft | myapp | working@SPIDER ]
> -        confs: [build, noexternaljar, withexternaljar]
> -        found [ jayasoft | filter-framework | 1.3 ] in default
> -        [1.3] [ jayasoft | filter-framework | latest.integration ]
> -        found [ apache | commons-collections | 3.1 ] in default
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |       build      |   1   |   1   |   0   |   0   ||   1   |
> 0   |
> -        |   noexternaljar  |   1   |   1   |   0   |   0   ||   2   |
> 0   |
> -        |  withexternaljar |   2   |   1   |   0   |   0   ||   3   |
> 0   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: [ jayasoft | myapp ]
> -        confs: [build, noexternaljar, withexternaljar]
> -        0 artifacts copied, 6 already retrieved
> -
> -build:
> -
> -run-hm:
> -     [java] Filtering with:class filter.hmimpl.HMFilter
> -     [java] Result :[two, tree]
> -
> -BUILD SUCCESSFUL
> -</pre></div>
> +[<tutorial/log/configurations-runhm.txt>]</pre></div>
> Nice we got the same result but we can see that implementation class are
> different.
>
> <h1>Conclusion</h1>
>
> Modified: incubator/ivy/core/trunk/doc/tutorial/dual.html
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/dual.html?rev=591829&r1=591828&r2=591829&view=diff
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/dual.html (original)
> +++ incubator/ivy/core/trunk/doc/tutorial/dual.html Sun Nov  4 12:12:45
> 2007
> @@ -55,8 +55,8 @@
> <ivy-module version="1.0">
>      <info organisation="jayasoft" module="hello-ivy" />
>      <dependencies>
> -        <dependency org="apache" name="commons-httpclient" rev="2.0.2" />
> -        <dependency org="apache" name="commons-lang" rev="2.0" />
> +        <dependency org="commons-httpclient" name="commons-httpclient"
> rev="2.0.2" />
> +        <dependency org="commons-lang" name="commons-lang" rev="2.0" />
>      </dependencies>
> </ivy-module>
> </code>
> @@ -101,54 +101,7 @@
> Goto project directory. And simply run <b>ant</b>.
> <div class="shell"><pre>
> I:\dual\project>ant
> -Buildfile: build.xml
> -
> -configure:
> -:: Ivy 1.0-rc3 - 20050421161206 :: http://ivy.jayasoft.org/ ::
> -
> -resolve:
> -:: resolving dependencies :: jayasoft/hello-ivy-working@xmen
> -        confs: [default]
> -downloading
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar (2.0)
> ...
> -.....
> -.........
> -..........
> -...........
> -. (165kB)
> -        [SUCCESSFUL ] apache/commons-lang-2.0/commons-lang.jar[jar]
> (8032ms)
> -downloading
> http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.2.jar(
> 2.0.2) ...
> -...........
> -......
> -....
> -..........
> -............
> -........ (220kB)
> -        [SUCCESSFUL ] apache/commons-httpclient-2.0.2/commons-
> httpclient.jar[jar] (10031ms)
> -downloading
> http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.4.jar(
> 1.0.4) ...
> -......... (37kB)
> -        [SUCCESSFUL ] apache/commons-logging-1.0.4/commons-logging.jar[jar]
> (1469ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   3   |   3   |   1   |   0   ||   3   |
> 3   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: jayasoft/hello-ivy
> -        confs: [default]
> -        3 artifacts copied, 0 already retrieved
> -
> -run:
> -    [mkdir] Created dir: I:\dual\project\build
> -    [javac] Compiling 1 source file to I:\dual\project\build
> -     [java] standard message : hello ivy !
> -     [java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy
> !
> -     [java] head status code with httpclient: 200
> -     [java] now check if httpclient dependency on commons-logging has
> been realized
> -     [java] found logging class in classpath: interface
> org.apache.commons.logging.Log
> -
> -BUILD SUCCESSFUL
> -Total time: 24 seconds
> +[<tutorial/log/dual.txt>]
> </pre></div></div>
> <br/>
> As you can see, ivy not only downloaded commons-lang and
> commons-httpclient, but also commons-logging. Indeed, commons-logging is a
> dependency of httpclient, as we can see in the httpclient ivy file found in
> the repository directory:
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/chained-resolvers.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/chained-resolvers.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/chained-resolvers.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/chained-resolvers.txt Sun
> Nov  4 12:12:45 2007
> @@ -0,0 +1,37 @@
> +Buildfile:
> src\example\chained-resolvers\chainedresolvers-project\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] :: loading settings :: file =
> C:\dev\data\opensource_workspace\ivy\src\example\chained-resolvers\config\ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache |
> chained-resolvers | working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> ibiblio
> +[ivy:retrieve]         found [ org.apache | test | 1.0 ] in libraries
> +[ivy:retrieve] downloading
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar ...
> +[ivy:retrieve]
> .............................................................
> +[ivy:retrieve] .........................................................
> (165kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-lang | commons-lang | 2.0]/commons-
> lang.jar[jar] (5928ms)
> +[ivy:retrieve] downloading
> C:\dev\data\opensource_workspace\ivy\src\example\chained-resolvers\config\repository\test-
> 1.0.jar ...
> +[ivy:retrieve] .. (1kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ org.apache | test | 1.0]/test.jar[jar] (10ms)
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   2   |   2   |   0   |   0   ||   2   |
> 2   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | chained-resolvers ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         2 artifacts copied, 0 already retrieved
> +
> +run:
> +    [mkdir] Created dir:
> C:\dev\data\opensource_workspace\ivy\src\example\chained-resolvers\chainedresolvers-project\build
> +    [javac] Compiling 1 source file to
> C:\dev\data\opensource_workspace\ivy\src\example\chained-resolvers\chainedresolvers-project\build
> +     [java] standard message :example world !
> +     [java] capitalized by org.apache.commons.lang.WordUtils : Example
> World !
> +     [java] upperCased by test.StringUtils : EXAMPLE WORLD !
> +
> +BUILD SUCCESSFUL
> +Total time: 12 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/chained-
> resolvers.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/configurations-runcc.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/configurations-runcc.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/configurations-runcc.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/configurations-runcc.txt Sun
> Nov  4 12:12:45 2007
> @@ -0,0 +1,47 @@
> +Buildfile: src\example\configurations\multi-projects\myapp\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] No ivy:settings found for the default reference '
> ivy.instance'.  A default instance will be used
> +[ivy:retrieve] no settings file found, using default...
> +[ivy:retrieve] :: loading settings :: url =
> jar:file:/c:/dev/data/opensource_workspace/ivy/build/artifact/ivy-
> core.jar!/org/apache/ivy/core/settings/ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | myapp |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [build, noexternaljar, withexternaljar]
> +[ivy:retrieve]         found [ org.apache | filter-framework | 1.3 ] in
> local
> +[ivy:retrieve]         [1.3] [ org.apache | filter-framework |
> latest.integration ]
> +[ivy:retrieve]         found [ commons-collections | commons-collections
> | 3.1 ] in public
> +[ivy:retrieve] downloading C:\Documents and
> Settings\scokartg\.ivy2\local\org.apache\filter-framework\1.3\jars\filter-
> api.jar ...
> +[ivy:retrieve] .. (1kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ org.apache | filter-framework |
> 1.3 ]/filter-api.jar[jar] (40ms)
> +[ivy:retrieve] downloading C:\Documents and
> Settings\scokartg\.ivy2\local\org.apache\filter-framework\1.3\jars\filter-
> hmimpl.jar ...
> +[ivy:retrieve] .. (1kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ org.apache | filter-framework |
> 1.3 ]/filter-hmimpl.jar[jar] (20ms)
> +[ivy:retrieve] downloading C:\Documents and
> Settings\scokartg\.ivy2\local\org.apache\filter-framework\1.3\jars\filter-
> ccimpl.jar ...
> +[ivy:retrieve] .. (1kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ org.apache | filter-framework |
> 1.3 ]/filter-ccimpl.jar[jar] (80ms)
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |       build      |   1   |   1   |   0   |   0   ||   1   |
> 1   |
> +       |   noexternaljar  |   1   |   1   |   0   |   0   ||   2   |
> 2   |
> +       |  withexternaljar |   2   |   1   |   0   |   0   ||   3   |
> 2   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | myapp ]
> +[ivy:retrieve]         confs: [build, noexternaljar, withexternaljar]
> +[ivy:retrieve]         6 artifacts copied, 0 already retrieved
> +
> +build:
> +    [mkdir] Created dir:
> C:\dev\data\opensource_workspace\ivy\src\example\configurations\multi-projects\myapp\build
> +    [javac] Compiling 1 source file to
> C:\dev\data\opensource_workspace\ivy\src\example\configurations\multi-projects\myapp\build
> +
> +run-cc:
> +     [java] Filtering with:class filter.ccimpl.CCFilter
> +     [java] Result :[two, tree]
> +
> +BUILD SUCCESSFUL
> +Total time: 4 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/configurations-
> runcc.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/configurations-runhm.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/configurations-runhm.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/configurations-runhm.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/configurations-runhm.txt Sun
> Nov  4 12:12:45 2007
> @@ -0,0 +1,33 @@
> +Buildfile: src\example\configurations\multi-projects\myapp\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] No ivy:settings found for the default reference '
> ivy.instance'.  A default instance will be used
> +[ivy:retrieve] no settings file found, using default...
> +[ivy:retrieve] :: loading settings :: url =
> jar:file:/c:/dev/data/opensource_workspace/ivy/build/artifact/ivy-
> core.jar!/org/apache/ivy/core/settings/ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | myapp |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [build, noexternaljar, withexternaljar]
> +[ivy:retrieve]         found [ org.apache | filter-framework | 1.3 ] in
> local
> +[ivy:retrieve]         [1.3] [ org.apache | filter-framework |
> latest.integration ]
> +[ivy:retrieve]         found [ commons-collections | commons-collections
> | 3.1 ] in public
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |       build      |   1   |   1   |   0   |   0   ||   1   |
> 0   |
> +       |   noexternaljar  |   1   |   1   |   0   |   0   ||   2   |
> 0   |
> +       |  withexternaljar |   2   |   1   |   0   |   0   ||   3   |
> 0   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | myapp ]
> +[ivy:retrieve]         confs: [build, noexternaljar, withexternaljar]
> +[ivy:retrieve]         0 artifacts copied, 6 already retrieved
> +
> +build:
> +
> +run-hm:
> +     [java] Filtering with:class filter.hmimpl.HMFilter
> +     [java] Result :[two, tree]
> +
> +BUILD SUCCESSFUL
> +Total time: 3 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/configurations-
> runhm.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/dependence-
> depending-2.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending-2.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending-2.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending-2.txtSun Nov  4 12:12:45 2007
> @@ -0,0 +1,41 @@
> +Buildfile: src\example\dependence\depending\build.xml
> +
> +clean:
> +   [delete] Deleting 3 files from
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\depending
> +   [delete] Deleted 4 directories from
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\depending
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] :: loading settings :: file =
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config\ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | depending |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ org.apache | standalone | 2 ] in projects
> +[ivy:retrieve]         [2] [ org.apache | standalone | latest.integration]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> libraries
> +[ivy:retrieve] downloading
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config\repository\standalone-
> 2.jar ...
> +[ivy:retrieve] .. (1kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ org.apache | standalone | 2
> ]/standalone.jar[jar] (100ms)
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   2   |   1   |   0   |   0   ||   2   |
> 1   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | depending ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         2 artifacts copied, 0 already retrieved
> +
> +compile:
> +    [mkdir] Created dir:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\depending\build\classes
> +    [javac] Compiling 1 source file to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\depending\build\classes
> +
> +run:
> +     [java] you are using version 2 of class standalone.Main
> +     [java] standard message : i am depending.Main and standalone.Mainwill do the job for me
> +     [java]     [standalone.Main] capitalizing string "i am
> depending.Main and standalone.Main will do the job for me" using
> org.apache.commons.lang.WordUtils
> +     [java] capitalized message : I Am Depending.main And Standalone.mainWill Do The Job For Me
> +
> +BUILD SUCCESSFUL
> +Total time: 5 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/dependence-
> depending-2.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/dependence-depending.txt Sun
> Nov  4 12:12:45 2007
> @@ -0,0 +1,39 @@
> +Buildfile: src\example\dependence\depending\build.xml
> +
> +clean:
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] :: loading settings :: file =
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config\ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | depending |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ org.apache | standalone | 1 ] in projects
> +[ivy:retrieve]         [1] [ org.apache | standalone | latest.integration]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> libraries
> +[ivy:retrieve] downloading
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config\repository\standalone-
> 1.jar ...
> +[ivy:retrieve] .. (1kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ org.apache | standalone | 1
> ]/standalone.jar[jar] (20ms)
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   2   |   1   |   0   |   0   ||   2   |
> 1   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | depending ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         2 artifacts copied, 0 already retrieved
> +
> +compile:
> +    [mkdir] Created dir:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\depending\build\classes
> +    [javac] Compiling 1 source file to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\depending\build\classes
> +
> +run:
> +     [java] you are using version 1 of class standalone.Main
> +     [java] standard message : i am depending.Main and standalone.Mainwill do the job for me
> +     [java]     [standalone.Main] capitalizing string "i am
> depending.Main and standalone.Main will do the job for me" using
> org.apache.commons.lang.WordUtils
> +     [java] capitalized message : I Am Depending.main And Standalone.mainWill Do The Job For Me
> +
> +BUILD SUCCESSFUL
> +Total time: 3 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/dependence-
> depending.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/dependence-
> standalone-2.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone-2.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone-2.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone-2.txtSun Nov  4 12:12:45 2007
> @@ -0,0 +1,36 @@
> +Buildfile: src\example\dependence\standalone\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] :: loading settings :: file =
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config\ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | standalone |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> libraries
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   1   |   0   |   0   |   0   ||   1   |
> 0   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | standalone ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         0 artifacts copied, 1 already retrieved
> +
> +compile:
> +
> +jar:
> +[propertyfile] Updating property file:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\classes\version.properties
> +      [jar] Building jar:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\standalone.jar
> +
> +publish:
> +   [delete] Deleting:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\ivy.xml
> +[ivy:publish] :: delivering :: [ org.apache | standalone |
> working@BEN-ScokartG ] :: 2 :: release :: Sun Nov 04 20:50:33 CET 2007
> +[ivy:publish]  delivering ivy file to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone/build/ivy.xml
> +[ivy:publish] :: publishing :: [ org.apache | standalone ]
> +[ivy:publish]  published standalone to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config/repository/standalone-
> 2.jar
> +[ivy:publish]  published ivy to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config/repository/standalone-
> 2.xml
> +     [echo] project standalone released with version 2
> +
> +BUILD SUCCESSFUL
> +Total time: 2 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/dependence-
> standalone-2.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone.txt(added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/dependence-standalone.txtSun Nov  4 12:12:45 2007
> @@ -0,0 +1,42 @@
> +Buildfile: src\example\dependence\standalone\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] :: loading settings :: file =
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config\ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | standalone |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> libraries
> +[ivy:retrieve] downloading
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar ...
> +[ivy:retrieve]
> ................................................................
> +[ivy:retrieve] ......................................................
> (165kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-lang | commons-lang | 2.0]/commons-
> lang.jar[jar] (5388ms)
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   1   |   1   |   0   |   0   ||   1   |
> 1   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | standalone ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         1 artifacts copied, 0 already retrieved
> +
> +compile:
> +    [mkdir] Created dir:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\classes
> +    [javac] Compiling 1 source file to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\classes
> +
> +jar:
> +[propertyfile] Creating new property file:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\classes\version.properties
> +      [jar] Building jar:
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone\build\standalone.jar
> +
> +publish:
> +[ivy:publish] :: delivering :: [ org.apache | standalone |
> working@BEN-ScokartG ] :: 1 :: release :: Sun Nov 04 20:50:24 CET 2007
> +[ivy:publish]  delivering ivy file to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\standalone/build/ivy.xml
> +[ivy:publish] :: publishing :: [ org.apache | standalone ]
> +[ivy:publish]  published standalone to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config/repository/standalone-
> 1.jar
> +[ivy:publish]  published ivy to
> C:\dev\data\opensource_workspace\ivy\src\example\dependence\config/repository/standalone-
> 1.xml
> +     [echo] project standalone released with version 1
> +
> +BUILD SUCCESSFUL
> +Total time: 11 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/dependence-
> standalone.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/dual.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/dual.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/dual.txt (added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/dual.txt Sun Nov  4 12:12:45
> 2007
> @@ -0,0 +1,47 @@
> +Buildfile: src\example\dual\project\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] :: loading settings :: file =
> C:\dev\data\opensource_workspace\ivy\src\example\dual\config\ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | hello-ivy |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ commons-httpclient | commons-httpclient |
> 2.0.2 ] in ivys
> +[ivy:retrieve]         found [ commons-httpclient | commons-logging |
> 1.0.4 ] in ibiblio
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> ibiblio
> +[ivy:retrieve] downloading
> http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0.2.jar...
> +[ivy:retrieve] ...........................................
> +[ivy:retrieve]
> .................................................................................................
> +[ivy:retrieve] ................ (220kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-httpclient |
> commons-httpclient | 2.0.2 ]/commons-httpclient.jar[jar] (11676ms)
> +[ivy:retrieve] downloading
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar ...
> +[ivy:retrieve]
> .......................................................................
> +[ivy:retrieve] .............................................. (165kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-lang | commons-lang | 2.0]/commons-
> lang.jar[jar] (7651ms)
> +[ivy:retrieve] downloading
> http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.4.jar...
> +[ivy:retrieve] ........................... (37kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-httpclient |
> commons-logging | 1.0.4 ]/commons-logging.jar[jar] (9724ms)
> +[ivy:retrieve] :: resolution report ::
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   3   |   3   |   0   |   0   ||   3   |
> 3   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | hello-ivy ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         3 artifacts copied, 0 already retrieved
> +
> +run:
> +    [mkdir] Created dir:
> C:\dev\data\opensource_workspace\ivy\src\example\dual\project\build
> +    [javac] Compiling 1 source file to
> C:\dev\data\opensource_workspace\ivy\src\example\dual\project\build
> +     [java] standard message : hello ivy !
> +     [java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy
> !
> +     [java] head status code with httpclient: 200
> +     [java] now check if httpclient dependency on commons-logging has
> been realized
> +     [java] found logging class in classpath: interface
> org.apache.commons.logging.Log
> +
> +BUILD SUCCESSFUL
> +Total time: 37 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/dual.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-1.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-1.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-1.txt (added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-1.txt Sun Nov  4
> 12:12:45 2007
> @@ -0,0 +1,44 @@
> +Buildfile: src\example\hello-ivy\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] No ivy:settings found for the default reference '
> ivy.instance'.  A default instance will be used
> +[ivy:retrieve] no settings file found, using default...
> +[ivy:retrieve] :: loading settings :: url =
> jar:file:/c:/dev/data/opensource_workspace/ivy/build/artifact/ivy-
> core.jar!/org/apache/ivy/core/settings/ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | hello-ivy |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> public
> +[ivy:retrieve]         found [ commons-cli | commons-cli | 1.0 ] in
> public
> +[ivy:retrieve]         found [ commons-logging | commons-logging | 1.0 ]
> in public
> +[ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-lang/commons-lang/2.0/commons-lang-2.0.jar...
> +[ivy:retrieve]
> .......................................................................................
> +[ivy:retrieve] .............................. (165kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-lang | commons-lang | 2.0]/commons-
> lang.jar[jar] (3335ms)
> +[ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar...
> +[ivy:retrieve] ...................... (29kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-cli | commons-cli | 1.0]/commons-
> cli.jar[jar] (2053ms)
> +[ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0/commons-logging-1.0.jar...
> +[ivy:retrieve] ................. (21kB)
> +[ivy:retrieve] .. (0kB)
> +[ivy:retrieve]         [SUCCESSFUL ] [ commons-logging | commons-logging
> | 1.0 ]/commons-logging.jar[jar] (1933ms)
> +[ivy:retrieve] :: resolution report ::
> +[ivy:retrieve]         :: evicted modules:
> +[ivy:retrieve]         [ commons-lang | commons-lang | 1.0 ] by [[
> commons-lang | commons-lang | 2.0 ]] in [default]
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   4   |   3   |   0   |   1   ||   3   |
> 3   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | hello-ivy ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         3 artifacts copied, 0 already retrieved
> +
> +run:
> +     [java] standard message : hello ivy !
> +     [java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy
> !
> +
> +BUILD SUCCESSFUL
> +Total time: 14 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-1.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Added: incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-2.txt
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-2.txt?rev=591829&view=auto
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-2.txt (added)
> +++ incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-2.txt Sun Nov  4
> 12:12:45 2007
> @@ -0,0 +1,31 @@
> +Buildfile: src\example\hello-ivy\build.xml
> +
> +resolve:
> +[ivy:retrieve] :: Ivy 2.0.0-beta1-local-20071104204849 - 20071104204849
> :: http://ant.apache.org/ivy/ ::
> +[ivy:retrieve] No ivy:settings found for the default reference '
> ivy.instance'.  A default instance will be used
> +[ivy:retrieve] no settings file found, using default...
> +[ivy:retrieve] :: loading settings :: url =
> jar:file:/c:/dev/data/opensource_workspace/ivy/build/artifact/ivy-
> core.jar!/org/apache/ivy/core/settings/ivysettings.xml
> +[ivy:retrieve] :: resolving dependencies :: [ org.apache | hello-ivy |
> working@BEN-ScokartG ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         found [ commons-lang | commons-lang | 2.0 ] in
> public
> +[ivy:retrieve]         found [ commons-cli | commons-cli | 1.0 ] in
> public
> +[ivy:retrieve]         found [ commons-logging | commons-logging | 1.0 ]
> in public
> +[ivy:retrieve] :: resolution report ::
> +[ivy:retrieve]         :: evicted modules:
> +[ivy:retrieve]         [ commons-lang | commons-lang | 1.0 ] by [[
> commons-lang | commons-lang | 2.0 ]] in [default]
> +
> ---------------------------------------------------------------------
> +       |                  |            modules            ||
> artifacts   |
> +       |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
> +
> ---------------------------------------------------------------------
> +       |      default     |   4   |   0   |   0   |   1   ||   3   |
> 0   |
> +
> ---------------------------------------------------------------------
> +[ivy:retrieve] :: retrieving :: [ org.apache | hello-ivy ]
> +[ivy:retrieve]         confs: [default]
> +[ivy:retrieve]         0 artifacts copied, 3 already retrieved
> +
> +run:
> +     [java] standard message : hello ivy !
> +     [java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy
> !
> +
> +BUILD SUCCESSFUL
> +Total time: 3 seconds
>
> Propchange: incubator/ivy/core/trunk/doc/tutorial/log/hello-ivy-2.txt
>
> ------------------------------------------------------------------------------
>     svn:eol-style = native
>
> Modified: incubator/ivy/core/trunk/doc/tutorial/multi-project.html
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/multi-project.html?rev=591829&r1=591828&r2=591829&view=diff
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/multi-project.html (original)
> +++ incubator/ivy/core/trunk/doc/tutorial/multi-project.html Sun Nov  4
> 12:12:45 2007
> @@ -123,46 +123,8 @@
> <h2>step 3: publication of standalone project</h2>
> Goto standalone directory  and publish the project
> <div class="shell"><pre>I:\standalone>ant publish
> -Buildfile: build.xml
> -
> -configure:
> -:: Ivy 1.0-rc3 - 20050421161206 :: http://ivy.jayasoft.org/ ::
> -
> -resolve:
> -:: resolving dependencies :: jayasoft/standalone-working@xmen
> -        confs: [default]
> -downloading
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar (2.0)
> ...
> -.................................... (165kB)
> -        [SUCCESSFUL ] apache/commons-lang-2.0/commons-lang.jar[jar]
> (6672ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   1   |   1   |   0   |   0   ||   1   |
> 1   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: jayasoft/standalone
> -        confs: [default]
> -        1 artifacts copied, 0 already retrieved
> -
> -compile:
> -    [mkdir] Created dir: I:\standalone\build\classes
> -    [javac] Compiling 1 source file to I:\standalone\build\classes
> -
> -jar:
> -[propertyfile] Creating new property file:
> I:\standalone\build\classes\version.properties
> -      [jar] Building jar: I:\standalone\build\standalone.jar
> -
> -publish:
> -:: delivering :: jayasoft/standalone-working@xmen :: 1 :: release :: Wed
> Apr 27 08:41:47 CEST 2005
> -        delivering ivy file to I:\standalone/build/ivy.xml
> -:: publishing :: jayasoft/standalone-working@xmen
> -        published standalone to I:\config\repository\standalone-1.jar
> -        published ivy to I:\config\repository\standalone-1.xml
> -     [echo] project standalone released with version 1
> -
> -BUILD SUCCESSFUL
> -Total time: 10 seconds</pre></div>
> +[<tutorial/log/dependence-standalone.txt>]
> +</pre></div>
> What we see here:
> <ul>
>    <li>the project depends on 1 library (1 artifact)</li>
> @@ -179,44 +141,8 @@
> <h2>step 4: running the depending project</h2>
> Goto to directory depending and run ant
> <div class="shell"><pre>I:\depending>ant
> -Buildfile: build.xml
> -
> -clean:
> -
> -configure:
> -:: Ivy 1.0-rc3 - 20050421161206 :: http://ivy.jayasoft.org/ ::
> -
> -resolve:
> -:: resolving dependencies :: jayasoft/depending-working@xmen
> -        confs: [default]
> -        [1] jayasoft/standalone
> -downloading file:/I:/config/repository/standalone-1.jar (1) ...
> -. (1kB)
> -        [SUCCESSFUL ] jayasoft/standalone-1/standalone.jar[jar] (15ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   2   |   2   |   2   |   0   ||   2   |
> 1   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: jayasoft/depending
> -        confs: [default]
> -        2 artifacts copied, 0 already retrieved
> -
> -compile:
> -    [mkdir] Created dir: I:\depending\build\classes
> -    [javac] Compiling 1 source file to I:\depending\build\classes
> -
> -run:
> -     [java] you are using version 1 of class standalone.Main
> -     [java] standard message : i am depending.Main and standalone.Mainwill do the job for me
> -     [java]     [standalone.Main] capitalizing string "i am
> depending.Main and standalone.Main will do the job for me"
> -                                    using
> org.apache.commons.lang.WordUtils
> -     [java] capitalized message : I Am Depending.main And Standalone.mainWill Do The Job For Me
> -
> -BUILD SUCCESSFUL
> -Total time: 3 seconds</pre></div>
> +[<tutorial/log/dependence-depending.txt>]
> +</pre></div>
> What we see here :
> <ul>
>    <li>the project depends on 2 libraries (2 artifacts)</li>
> @@ -229,42 +155,8 @@
> <h2>step 5 : new version of standalone project</h2>
> Like we did before in step 3, publish again the standalone project. This
> will result as a new version of the project.
> <div class="shell"><pre>I:\standalone>ant publish
> -Buildfile: build.xml
> -
> -configure:
> -:: Ivy 1.0-rc3 - 20050421161206 :: http://ivy.jayasoft.org/ ::
> -
> -resolve:
> -:: resolving dependencies :: jayasoft/standalone-working@xmen
> -        confs: [default]
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   1   |   0   |   0   |   0   ||   1   |
> 0   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: jayasoft/standalone
> -        confs: [default]
> -        0 artifacts copied, 1 already retrieved
> -
> -compile:
> -
> -jar:
> -[propertyfile] Updating property file:
> I:\standalone\build\classes\version.properties
> -      [jar] Building jar: I:\standalone\build\standalone.jar
> -
> -publish:
> -   [delete] Deleting: I:\standalone\build\ivy.xml
> -:: delivering :: jayasoft/standalone-working@xmen :: 2 :: release :: Wed
> Apr 27 09:17:13 CEST 2005
> -        delivering ivy file to I:\standalone/build/ivy.xml
> -:: publishing :: jayasoft/standalone-working@xmen
> -        published standalone to I:\config\repository\standalone-2.jar
> -        published ivy to I:\config\repository\standalone-2.xml
> -     [echo] project standalone released with version 2
> -
> -BUILD SUCCESSFUL
> -Total time: 2 seconds</pre></div>
> +[<tutorial/log/standalone-2.txt>]
> +</pre></div>
> Now if you look in your repository folder, you must find 2 version
> published of the standalone project.
> Let's look at it:
> <div class="shell"><pre>I:\dependence\standalone>dir ..\config\repository
> /w
> @@ -289,46 +181,8 @@
> </ul>
> Let's go!!!
> <div class="shell"><pre>I:\depending>ant
> -Buildfile: build.xml
> -
> -clean:
> -   [delete] Deleting 3 files from I:\depending
> -   [delete] Deleted 4 directories from I:\depending
> -
> -configure:
> -:: Ivy 1.0-rc3 - 20050421161206 :: http://ivy.jayasoft.org/ ::
> -
> -resolve:
> -:: resolving dependencies :: jayasoft/depending-working@xmen
> -        confs: [default]
> -        [2] jayasoft/standalone
> -downloading file:/I:/config/repository/standalone-2.jar (2) ...
> -. (1kB)
> -        [SUCCESSFUL ] jayasoft/standalone-2/standalone.jar[jar] (0ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   2   |   2   |   2   |   0   ||   2   |
> 1   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: jayasoft/depending
> -        confs: [default]
> -        2 artifacts copied, 0 already retrieved
> -
> -compile:
> -    [mkdir] Created dir: I:\depending\build\classes
> -    [javac] Compiling 1 source file to I:\depending\build\classes
> -
> -run:
> -     [java] you are using version 2 of class standalone.Main
> -     [java] standard message : i am depending.Main and standalone.Mainwill do the job for me
> -     [java]     [standalone.Main] capitalizing string "i am
> depending.Main and standalone.Main will do the job for me"
> -                            using org.apache.commons.lang.WordUtils
> -     [java] capitalized message : I Am Depending.main And Standalone.mainWill Do The Job For Me
> -
> -BUILD SUCCESSFUL
> -Total time: 3 seconds</pre></div>
> +[<tutorial/log/dependence-depending-2>]
> +</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 standalone 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 standalone
> project that was taken from the repository, you can now retrieve it in the
> ivy-cache directory.
> </div>
>
>
> Modified: incubator/ivy/core/trunk/doc/tutorial/multiple.html
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/multiple.html?rev=591829&r1=591828&r2=591829&view=diff
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/multiple.html (original)
> +++ incubator/ivy/core/trunk/doc/tutorial/multiple.html Sun Nov  4
> 12:12:45 2007
> @@ -91,41 +91,11 @@
> <div class="step">
> <h2>step 3 : run the project</h2>
> Goto chainedresolvers-project directory. And simply run <b>ant</b>.
> -<div class="shell"><pre>I:\chained-resolvers\chainedresolvers-project>ant
> -Buildfile: build.xml
> -
> -configure:
> -:: Ivy 1.0-rc3 - 20050421161206 :: http://ivy.jayasoft.org/ ::
>
> -resolve:
> -:: resolving dependencies :: jayasoft/chained-resolvers-working@xmen
> -        confs: [default]
> -downloading
> http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar(2.0)...
> -.................................... (165kB)
> -        [SUCCESSFUL ] apache/commons-lang-2.0/commons-lang.jar[jar]
> (5390ms)
> -downloading file:/I:/chained-resolvers/config/repository/test-1.0.jar(1.0)
> ...
> -. (1kB)
> -        [SUCCESSFUL ] jayasoft/test-1.0/test.jar[jar] (16ms)
> -:: resolution report ::
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   2   |   2   |   0   |   0   ||   2   |
> 2   |
>
> -        ---------------------------------------------------------------------
> -:: retrieving :: jayasoft/chained-resolvers
> -        confs: [default]
> -        2 artifacts copied, 0 already retrieved
> -
> -run:
> -    [mkdir] Created dir:
> I:\chained-resolvers\chainedresolvers-project\build
> -    [javac] Compiling 1 source file to
> I:\chained-resolvers\chainedresolvers-project\build
> -     [java] standard message :example world !
> -     [java] capitalized by org.apache.commons.lang.WordUtils : Example
> World !
> -     [java] upperCased by test.StringUtils : EXAMPLE WORLD !
> +<div class="shell"><pre>I:\chained-resolvers\chainedresolvers-project>ant
> +[<tutorial/log/chained-resolvers.txt>]
> +</pre></div></div>
>
> -BUILD SUCCESSFUL
> -Total time: 9 seconds</pre></div></div>
> We can see in the log of the resolve task, that the two dependencies have
> been retrieved (2 artifacts) and copied to the ivy cache directory (2
> downloaded). The run target succeed in using both commons-lang.jar comming
> from ibiblio repository and test.jar coming from the local repository.
>
>         </textarea>
>
> Modified: incubator/ivy/core/trunk/doc/tutorial/start.html
> URL:
> http://svn.apache.org/viewvc/incubator/ivy/core/trunk/doc/tutorial/start.html?rev=591829&r1=591828&r2=591829&view=diff
>
> ==============================================================================
> --- incubator/ivy/core/trunk/doc/tutorial/start.html (original)
> +++ incubator/ivy/core/trunk/doc/tutorial/start.html Sun Nov  4 12:12:45
> 2007
> @@ -85,53 +85,7 @@
> Then, at the command prompt, run 'ant':
> <div class="shell"><pre>
> I:\hello-ivy>ant
> -Buildfile: build.xml
> -
> -resolve:
> -[ivy:retrieve] :: Ivy 2.0.0-beta1 - 20071017234142 ::
> http://ant.apache.org/ivy/ ::
> -[ivy:retrieve] No ivy:settings found for the default reference '
> ivy.instance'.  A default instance will be used
> -[ivy:retrieve] no settings file found, using default...
> -[ivy:retrieve] :: loading settings :: url = jar:file:/D:/dev/ant/apache-
> ant-1.7.0/lib/ivy-2.0.0-beta1.jar!
> -               /org/apache/ivy/core/settings/ivysettings.xml
> -[ivy:retrieve] :: resolving dependencies :: [ apache | hello-ivy |
> working@diablo ]
> -[ivy:retrieve]  confs: [default]
> -[ivy:retrieve]  found [ commons-lang | commons-lang | 2.0 ] in public
> -[ivy:retrieve]  found [ commons-cli | commons-cli | 1.0 ] in public
> -[ivy:retrieve]  found [ commons-logging | commons-logging | 1.0 ] in
> public
> -[ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-lang/commons-lang/2.0/commons-lang-2.0.jar...
> -[ivy:retrieve] ................
> -[ivy:retrieve] .. (165kB)
> -[ivy:retrieve] .. (0kB)
> -[ivy:retrieve]  [SUCCESSFUL ] [ commons-lang | commons-lang | 2.0]/commons-
> lang.jar[jar] (3813ms)
> -[ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-cli/commons-cli/1.0/commons-cli-1.0.jar...
> -[ivy:retrieve] ....... (29kB)
> -[ivy:retrieve] .. (0kB)
> -[ivy:retrieve]  [SUCCESSFUL ] [ commons-cli | commons-cli | 1.0]/commons-
> cli.jar[jar] (2533ms)
> -[ivy:retrieve] downloading
> http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0/commons-logging-1.0.jar...
> -[ivy:retrieve] ..... (21kB)
> -[ivy:retrieve] .. (0kB)
> -[ivy:retrieve]  [SUCCESSFUL ] [ commons-logging | commons-logging | 1.0]/commons-
> logging.jar[jar] (2504ms)
> -[ivy:retrieve] :: resolution report ::
> -[ivy:retrieve]  :: evicted modules:
> -[ivy:retrieve]  [ commons-lang | commons-lang | 1.0 ] by [[ commons-lang
> | commons-lang | 2.0 ]] in [default]
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   4   |   3   |   0   |   1   ||   3   |
> 3   |
>
> -        ---------------------------------------------------------------------
> -[ivy:retrieve] :: retrieving :: [ apache | hello-ivy ]
> -[ivy:retrieve]  confs: [default]
> -[ivy:retrieve]  3 artifacts copied, 0 already retrieved
> -
> -run:
> -    [mkdir] Created dir: I:\build
> -    [javac] Compiling 1 source file to I:\build
> -     [java] standard message : hello ivy !
> -     [java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy
> !
> -
> -BUILD SUCCESSFUL
> -Total time: 16 seconds
> +[<tutorial/log/hello-ivy-1.txt>]
> </pre></div>
> <h1>What happened ?</h1>
> Without any settings, Ivy retrieves files from the maven 2 repository.
> That's what happened here.
> @@ -139,38 +93,7 @@
>
> You might say that the task took a long time just to write out a "Hello
> Ivy !" message. But remember that a lot of time was spent downloading the
> required files from the web. Let's try to run it again:
> <div class="shell"><pre>I:\hello-ivy>ant
> -Buildfile: build.xml
> -
> -resolve:
> -[ivy:retrieve] :: Ivy 2.0.0-beta1 - 20071017234142 ::
> http://ant.apache.org/ivy/ ::
> -[ivy:retrieve] No ivy:settings found for the default reference '
> ivy.instance'.  A default instance will be used
> -[ivy:retrieve] no settings file found, using default...
> -[ivy:retrieve] :: loading settings :: url = jar:file:/D:/dev/ant/apache-
> ant-1.7.0/lib/ivy-2.0.0-beta1.jar!
> -               /org/apache/ivy/core/settings/ivysettings.xml
> -[ivy:retrieve] :: resolving dependencies :: [ apache | hello-ivy |
> working@diablo ]
> -[ivy:retrieve]  confs: [default]
> -[ivy:retrieve]  found [ commons-lang | commons-lang | 2.0 ] in public
> -[ivy:retrieve]  found [ commons-cli | commons-cli | 1.0 ] in public
> -[ivy:retrieve]  found [ commons-logging | commons-logging | 1.0 ] in
> public
> -[ivy:retrieve] :: resolution report ::
> -[ivy:retrieve]  :: evicted modules:
> -[ivy:retrieve]  [ commons-lang | commons-lang | 1.0 ] by [[ commons-lang
> | commons-lang | 2.0 ]] in [default]
>
> -        ---------------------------------------------------------------------
> -        |                  |            modules            ||
> artifacts   |
> -        |       conf       | number| search|dwnlded|evicted||
> number|dwnlded|
>
> -        ---------------------------------------------------------------------
> -        |      default     |   4   |   0   |   0   |   1   ||   3   |
> 0   |
>
> -        ---------------------------------------------------------------------
> -[ivy:retrieve] :: retrieving :: [ apache | hello-ivy ]
> -[ivy:retrieve]  confs: [default]
> -[ivy:retrieve]  0 artifacts copied, 3 already retrieved
> -
> -run:
> -     [java] standard message : hello ivy !
> -     [java] capitalized by org.apache.commons.lang.WordUtils : Hello Ivy
> !
> -
> -BUILD SUCCESSFUL
> -Total time: 1 second
> +[<tutorial/log/hello-ivy-2.txt>]
> </pre></div>
> Great! the cache was used, no download was needed and the build was
> instantaneous.
>
>
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Re: svn commit: r591829 - in /incubator/ivy/core/trunk/doc/tutorial: ./ log/

Posted by Gilles Scokart <gs...@gmail.com>.
2007/11/5, Xavier Hanin <xa...@gmail.com>:
>
> > -</pre></div>
> > +<!--div class="shell"><pre-->
> > +<ilayer src="log/hello-ivy.txt" visibility="show"></ilayer>
> > +<!--/pre></div-->
>
>
> What's this ilayer for? In other tutorials you use your new (and smart)
> xooki include, is there any reason for using ilayer here?


Good catch. I intially made some experimentation and I seemingly missed one
change.
Thanks



-- 
Gilles SCOKART