You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/03/14 07:29:20 UTC

cvs commit: avalon/merlin/platform/xdocs/starting/advanced context.xml

mcconnell    2004/03/13 22:29:20

  Modified:    merlin/platform/xdocs/starting/advanced context.xml
  Log:
  Apply update from Andy Dingfelder (correcting output listing and build procedure).
  
  Revision  Changes    Path
  1.6       +12 -13    avalon/merlin/platform/xdocs/starting/advanced/context.xml
  
  Index: context.xml
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/platform/xdocs/starting/advanced/context.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- context.xml	25 Jan 2004 13:28:49 -0000	1.5
  +++ context.xml	14 Mar 2004 06:29:20 -0000	1.6
  @@ -80,7 +80,7 @@
   package tutorial;
   
   import java.util.Map;
  -import org.apache.avalon.assembly.lifecycle.Contextualization;
  +import org.apache.avalon.composition.model.Contextualization;
   import org.apache.avalon.framework.context.ContextException;
   import org.apache.avalon.meta.model.ContextDirective;
   
  @@ -270,23 +270,22 @@
             Execute the following commands to build and run the tutorial.
           </p>
   <source><![CDATA[
  -$ ant jar
  -$ merlin tutorial.jar
  +$ maven
  +$ merlin -execute target\classes
   ]]></source>
           <p>
             Logging output from the tutorial execution is shown below:
           </p>
   <source><![CDATA[
  -[INFO   ] (sys): initialization: localhost
  -[INFO   ] (sys): commencing block assembly phase
  -[INFO   ] (standard): context
  -  contextualization using a custom hander
  -  home: F:\dev\tutorial\contextualization\working\home\standard
  -  work: F:\dev\tutorial\contextualization\working\temp\standard
  -  name: standard
  -  partition: /standard
  -
  -[INFO   ] (sys): Block hierarchy established.
  +[INFO   ] (kernel): building application model
  +[INFO   ] (kernel): install phase
  +[INFO   ] (kernel): installing: file:/${user.dir}/target/classes/
  +[INFO   ] (tutorial.hello): listing values resolved from domain specific context
  +[INFO   ] (tutorial.hello): supplied context class: tutorial.DemoContextProvider
  +[INFO   ] (tutorial.hello): name: hello
  +[INFO   ] (tutorial.hello): partition: /tutorial/
  +[INFO   ] (tutorial.hello): home: D:\dev\avalon\merlin\platform\tutorials\context\casting\home\tutorial\hello
  +[INFO   ] (tutorial.hello): temp: C:\TEMP\tutorial\hello
   ]]></source>
         </subsection>
       </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org