avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 22434 - in avalon/trunk/planet/tutorials/context/casting: . conf src/java src/main
Date Thu, 01 Jul 2004 16:27:46 GMT
Author: mcconnell
Date: Thu Jul  1 09:27:46 2004
New Revision: 22434

Added:
   avalon/trunk/planet/tutorials/context/casting/build.xml
   avalon/trunk/planet/tutorials/context/casting/index.xml
   avalon/trunk/planet/tutorials/context/casting/src/main/
      - copied from rev 22276, avalon/trunk/planet/tutorials/context/casting/src/java/
Removed:
   avalon/trunk/planet/tutorials/context/casting/conf/
   avalon/trunk/planet/tutorials/context/casting/project.xml
   avalon/trunk/planet/tutorials/context/casting/src/java/
Modified:
   avalon/trunk/planet/tutorials/context/casting/README.TXT
Log:
add context casting tutorial

Modified: avalon/trunk/planet/tutorials/context/casting/README.TXT
==============================================================================
--- avalon/trunk/planet/tutorials/context/casting/README.TXT	(original)
+++ avalon/trunk/planet/tutorials/context/casting/README.TXT	Thu Jul  1 09:27:46 2004
@@ -5,7 +5,7 @@
 This tutorial covers the declaration of constext castiong criteria
 and the creation of a typed context.
 
-$ maven
+$ ant
 $ merlin -execute target\classes
 
 [INFO   ] (tutorial.hello): listing values resolved from domain specific context

Added: avalon/trunk/planet/tutorials/context/casting/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/context/casting/build.xml	Thu Jul  1 09:27:46 2004
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="avalon-tutorial-context-casting" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <import file="../../standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="hello" embed="MAIN">
+      <x:component name="hello" class="tutorial.HelloComponent">
+        <x:context class="tutorial.DemoContextProvider"/>
+      </x:component>
+    </x:block>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/tutorials/context/casting/index.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/context/casting/index.xml	Thu Jul  1 09:27:46 2004
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<system>
+
+  <import index="../../../../runtime/index.xml"
+     href="http://svn.apache.org/repos/asf/avalon/trunk/runtime/index.xml"/>
+
+  <project basedir=".">
+    <info>
+      <group>avalon/tutorial</group>
+      <name>avalon-tutorial-context-casting</name>
+      <type>jar</type>
+    </info>
+    <dependencies>
+      <include key="avalon-framework-impl"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+</system>

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


Mime
View raw message