avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 21370 - in avalon/trunk/planet/tutorials: dynamics dynamics/etc dynamics/etc/deliverables dynamics/etc/deliverables/blocks dynamics/etc/main dynamics/etc/main/BLOCK-INF hello hello/etc hello/etc/deliverables hello/etc/deliverables/blocks hello/etc/main hello/etc/main/BLOCK-INF hello/src/java/tutorial
Date Thu, 17 Jun 2004 03:12:13 GMT
Author: mcconnell
Date: Wed Jun 16 20:12:12 2004
New Revision: 21370

Added:
   avalon/trunk/planet/tutorials/dynamics/build.properties   (contents, props changed)
   avalon/trunk/planet/tutorials/dynamics/build.xml
   avalon/trunk/planet/tutorials/dynamics/etc/
   avalon/trunk/planet/tutorials/dynamics/etc/deliverables/
   avalon/trunk/planet/tutorials/dynamics/etc/deliverables/blocks/
   avalon/trunk/planet/tutorials/dynamics/etc/deliverables/blocks/dynamics.block
   avalon/trunk/planet/tutorials/dynamics/etc/main/
   avalon/trunk/planet/tutorials/dynamics/etc/main/BLOCK-INF/
   avalon/trunk/planet/tutorials/dynamics/etc/main/BLOCK-INF/block.xml
   avalon/trunk/planet/tutorials/hello/etc/
   avalon/trunk/planet/tutorials/hello/etc/deliverables/
   avalon/trunk/planet/tutorials/hello/etc/deliverables/blocks/
   avalon/trunk/planet/tutorials/hello/etc/deliverables/blocks/hello.block
   avalon/trunk/planet/tutorials/hello/etc/main/
   avalon/trunk/planet/tutorials/hello/etc/main/BLOCK-INF/
   avalon/trunk/planet/tutorials/hello/etc/main/BLOCK-INF/block.xml
Removed:
   avalon/trunk/planet/tutorials/hello/.cvsignore
Modified:
   avalon/trunk/planet/tutorials/dynamics/   (props changed)
   avalon/trunk/planet/tutorials/hello/   (props changed)
   avalon/trunk/planet/tutorials/hello/merlin.properties
   avalon/trunk/planet/tutorials/hello/src/java/tutorial/HelloComponent.java
Log:
bring hello and dynamics up to speed with a little bit of magic

Added: avalon/trunk/planet/tutorials/dynamics/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/dynamics/build.properties	Wed Jun 16 20:12:12 2004
@@ -0,0 +1,3 @@
+project.name = avalon-tutorial-dynamics
+project.src.main = java
+project.home = ../../../central/system

Added: avalon/trunk/planet/tutorials/dynamics/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/dynamics/build.xml	Wed Jun 16 20:12:12 2004
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="avalon-tutorial-dynamics" default="dist" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools"
+    xmlns:m="plugin:avalon/meta/avalon-meta-tools" >
+
+  <property file="build.properties"/>
+  <import file="${project.home}/build/standard.xml"/>
+
+  <target name="init" depends="standard.init">
+    <x:filter key="avalon-tutorial-dynamics" feature="uri" 
+       token="DYNAMICS-SPEC"/>
+    <x:filter key="avalon-framework-impl" feature="uri" 
+       token="FRAMEWORK-IMPL-SPEC"/>
+  </target>
+
+  <target name="build" depends="standard.build">
+    <m:meta destDir="${basedir}/target/classes">
+      <fileset dir="${basedir}/target/build/main">
+        <include name="**/*.java"/>
+      </fileset>
+    </m:meta>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/tutorials/dynamics/etc/deliverables/blocks/dynamics.block
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/dynamics/etc/deliverables/blocks/dynamics.block	Wed Jun
16 20:12:12 2004
@@ -0,0 +1,13 @@
+
+<container name="tutorial">
+
+   <classloader>
+     <classpath>
+       <artifact>@FRAMEWORK-IMPL-SPEC@</artifact>
+       <artifact>@DYNAMICS-SPEC@</artifact>
+     </classpath>
+   </classloader>
+
+   <component name="facility" class="tutorial.HelloFacility"/>
+
+</container>

Added: avalon/trunk/planet/tutorials/dynamics/etc/main/BLOCK-INF/block.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/dynamics/etc/main/BLOCK-INF/block.xml	Wed Jun 16 20:12:12
2004
@@ -0,0 +1,12 @@
+
+<container name="tutorial">
+
+   <classloader>
+     <classpath>
+       <artifact>@FRAMEWORK-IMPL-SPEC@</artifact>
+     </classpath>
+   </classloader>
+
+   <component name="facility" class="tutorial.HelloFacility"/>
+
+</container>

Added: avalon/trunk/planet/tutorials/hello/etc/deliverables/blocks/hello.block
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/hello/etc/deliverables/blocks/hello.block	Wed Jun 16 20:12:12
2004
@@ -0,0 +1,12 @@
+
+<container name="tutorial">
+
+   <classloader>
+     <classpath>
+       <artifact>jar:avalon/tutorial/hello</artifact>
+     </classpath>
+   </classloader>
+
+   <component name="hello" class="tutorial.HelloComponent"/>
+
+</container>

Added: avalon/trunk/planet/tutorials/hello/etc/main/BLOCK-INF/block.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/tutorials/hello/etc/main/BLOCK-INF/block.xml	Wed Jun 16 20:12:12 2004
@@ -0,0 +1,6 @@
+
+<container name="tutorial">
+
+   <component name="hello" class="tutorial.HelloComponent"/>
+
+</container>

Modified: avalon/trunk/planet/tutorials/hello/merlin.properties
==============================================================================
--- avalon/trunk/planet/tutorials/hello/merlin.properties	(original)
+++ avalon/trunk/planet/tutorials/hello/merlin.properties	Wed Jun 16 20:12:12 2004
@@ -4,3 +4,4 @@
 #
 # merlin.info = true
 # merlin.debug = false
+

Modified: avalon/trunk/planet/tutorials/hello/src/java/tutorial/HelloComponent.java
==============================================================================
--- avalon/trunk/planet/tutorials/hello/src/java/tutorial/HelloComponent.java	(original)
+++ avalon/trunk/planet/tutorials/hello/src/java/tutorial/HelloComponent.java	Wed Jun 16 20:12:12
2004
@@ -40,6 +40,6 @@
     */
     public HelloComponent( Logger logger )
     {
-        logger.info( "Hello World" );
+        logger.info( "Hello World!" );
     }
 }

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


Mime
View raw message