Author: mcconnell
Date: Wed Jun  9 04:00:35 2004
New Revision: 20933

Added:
   avalon/trunk/runtime/meta/test/
   avalon/trunk/runtime/meta/test/README.TXT
   avalon/trunk/runtime/meta/test/dynamics/
   avalon/trunk/runtime/meta/test/dynamics/build.properties   (contents, props 
changed)
   avalon/trunk/runtime/meta/test/dynamics/build.xml   (contents, props changed)
   avalon/trunk/runtime/meta/test/dynamics/src/
   avalon/trunk/runtime/meta/test/dynamics/src/main/
   avalon/trunk/runtime/meta/test/dynamics/src/main/org/
   avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/
   avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/
   avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/
   
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/
   
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/DefaultGizmo.java
   (contents, props changed)
   
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/DefaultWidget.java
   (contents, props changed)
   
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/Gizmo.java
   (contents, props changed)
   
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/Widget.java
   (contents, props changed)
Log:
Add initial test sub-project.

Added: avalon/trunk/runtime/meta/test/README.TXT
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/README.TXT   Wed Jun  9 04:00:35 2004
@@ -0,0 +1,5 @@
+
+This project builds up a set of components together with meta
+info that is used is higher level test (e.g. composition, activation,
+and merlin runtime).
+

Added: avalon/trunk/runtime/meta/test/dynamics/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/dynamics/build.properties    Wed Jun  9 
04:00:35 2004
@@ -0,0 +1,2 @@
+project.name = avalon-test-dynamics
+project.home = ../../../../central/system

Added: avalon/trunk/runtime/meta/test/dynamics/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/dynamics/build.xml   Wed Jun  9 04:00:35 2004
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="avalon-test-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="build" depends="standard.build">
+    <m:meta destDir="${basedir}/target/classes">
+      <fileset dir="${basedir}/src/main">
+        <include name="**/*.java"/>
+      </fileset>
+    </m:meta>
+  </target>
+
+</project>

Added: 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/DefaultGizmo.java
==============================================================================
--- (empty file)
+++ 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/DefaultGizmo.java
  Wed Jun  9 04:00:35 2004
@@ -0,0 +1,52 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.test.dynamics;
+
+import org.apache.avalon.framework.logger.Logger;
+
+/**
+ * A component that implements the Gizmo service.
+ *
+ * @avalon.component name="gizmo" lifestyle="singleton"
+ * @avalon.service 
type="org.apache.avalon.composition.model.test.dynamics.Gizmo"
+ */
+public class DefaultGizmo implements Gizmo
+{
+   //---------------------------------------------------------
+   // immutable state
+   //---------------------------------------------------------
+
+  /**
+   * The logging channel supplied by the container.
+   */
+   private final Logger m_logger;
+
+   //---------------------------------------------------------
+   // constructor
+   //---------------------------------------------------------
+
+  /**
+   * Creation of a new hello facility.
+   * @param logger a logging channel
+   */
+   public DefaultGizmo( Logger logger )
+   {
+       m_logger = logger;
+       m_logger.info( "I've been created" );
+   }
+}

Added: 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/DefaultWidget.java
==============================================================================
--- (empty file)
+++ 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/DefaultWidget.java
 Wed Jun  9 04:00:35 2004
@@ -0,0 +1,53 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.test.dynamics;
+
+import org.apache.avalon.framework.logger.Logger;
+
+/**
+ * A component that implements the Gizmo service.
+ *
+ * @avalon.component name="widget" lifestyle="singleton"
+ * @avalon.service 
type="org.apache.avalon.composition.model.test.dynamics.Widget"
+ */
+public class DefaultWidget implements Widget
+{
+   //---------------------------------------------------------
+   // immutable state
+   //---------------------------------------------------------
+
+  /**
+   * The logging channel supplied by the container.
+   */
+   private final Logger m_logger;
+
+   //---------------------------------------------------------
+   // constructor
+   //---------------------------------------------------------
+
+  /**
+   * Creation of a new hello facility.
+   * @param logger a logging channel
+   */
+   public DefaultWidget( Logger logger )
+   {
+       m_logger = logger;
+       m_logger.info( "I've been created" );
+   }
+}
+

Added: 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/Gizmo.java
==============================================================================
--- (empty file)
+++ 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/Gizmo.java
 Wed Jun  9 04:00:35 2004
@@ -0,0 +1,25 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.test.dynamics;
+
+/**
+ * The Gizmo service interface.
+ */
+public interface Gizmo
+{
+}

Added: 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/Widget.java
==============================================================================
--- (empty file)
+++ 
avalon/trunk/runtime/meta/test/dynamics/src/main/org/apache/avalon/test/dynamics/Widget.java
        Wed Jun  9 04:00:35 2004
@@ -0,0 +1,26 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.test.dynamics;
+
+/**
+ * The Widget service interface.
+ */
+public interface Widget
+{
+}
+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to