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/06/09 14:54:27 UTC

svn commit: rev 20941 - in avalon/trunk/runtime/meta/test/testb: . src src/main src/main/org src/main/org/apache src/main/org/apache/avalon src/main/org/apache/avalon/test src/main/org/apache/avalon/test/testb

Author: mcconnell
Date: Wed Jun  9 05:54:26 2004
New Revision: 20941

Added:
   avalon/trunk/runtime/meta/test/testb/
   avalon/trunk/runtime/meta/test/testb/build.properties   (contents, props changed)
   avalon/trunk/runtime/meta/test/testb/build.xml   (contents, props changed)
   avalon/trunk/runtime/meta/test/testb/src/
   avalon/trunk/runtime/meta/test/testb/src/main/
   avalon/trunk/runtime/meta/test/testb/src/main/org/
   avalon/trunk/runtime/meta/test/testb/src/main/org/apache/
   avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/
   avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/
   avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/testb/
   avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/testb/B.java   (contents, props changed)
   avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/testb/TestB.java   (contents, props changed)
Log:
add testb package

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

Added: avalon/trunk/runtime/meta/test/testb/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/testb/build.xml	Wed Jun  9 05:54:26 2004
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="avalon-test-testb" 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/testb/src/main/org/apache/avalon/test/testb/B.java
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/testb/B.java	Wed Jun  9 05:54:26 2004
@@ -0,0 +1,22 @@
+/* 
+ * 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.testb;
+
+public interface B
+{
+}

Added: avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/testb/TestB.java
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/testb/src/main/org/apache/avalon/test/testb/TestB.java	Wed Jun  9 05:54:26 2004
@@ -0,0 +1,35 @@
+/* 
+ * 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.testb;
+
+import org.apache.avalon.framework.activity.Initializable;
+import org.apache.avalon.framework.logger.AbstractLogEnabled;
+
+/**
+ * @avalon.component name="component-b" 
+ *    type="org.apache.avalon.test.testb.B"
+ *    lifestyle="singleton"
+ */
+public class TestB extends AbstractLogEnabled
+  implements Initializable, B
+{
+    public void initialize() throws Exception
+    {
+        getLogger().info( "hello from B" );
+    }
+}

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