avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 22409 - in avalon/trunk/planet/cornerstone: . connection connection/api connection/impl connection/impl/conf datasources datasources/api datasources/impl datasources/impl/conf scheduler scheduler/api scheduler/impl site sockets sockets/api sockets/impl sockets/impl/conf sockets/impl/src/java/org/apache/avalon/cornerstone/blocks/sockets store store/api store/impl store/impl/conf threads threads/api threads/impl threads/impl/conf threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads threads/tutorial threads/tutorial/conf threads/tutorial/src/java/org/apache/avalon/cornerstone/threads/tutorial
Date Thu, 01 Jul 2004 11:27:43 GMT
Author: mcconnell
Date: Thu Jul  1 04:27:42 2004
New Revision: 22409

Added:
   avalon/trunk/planet/cornerstone/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/build.xml
   avalon/trunk/planet/cornerstone/connection/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/connection/build.xml
   avalon/trunk/planet/cornerstone/connection/impl/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/datasources/api/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/datasources/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/datasources/build.xml
   avalon/trunk/planet/cornerstone/datasources/impl/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/scheduler/api/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/scheduler/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/scheduler/build.xml
   avalon/trunk/planet/cornerstone/scheduler/impl/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/sockets/api/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/sockets/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/sockets/build.xml
   avalon/trunk/planet/cornerstone/sockets/impl/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/sockets/impl/src/java/org/apache/avalon/cornerstone/blocks/sockets/DefaultSocketManager.xprofile
   avalon/trunk/planet/cornerstone/store/api/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/store/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/store/build.xml
   avalon/trunk/planet/cornerstone/store/impl/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/threads/api/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/threads/api/build.xml
   avalon/trunk/planet/cornerstone/threads/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/threads/build.xml
   avalon/trunk/planet/cornerstone/threads/impl/build.properties   (contents, props changed)
   avalon/trunk/planet/cornerstone/threads/impl/build.xml
   avalon/trunk/planet/cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.xprofile
   avalon/trunk/planet/cornerstone/threads/tutorial/build.properties   (contents, props changed)
Removed:
   avalon/trunk/planet/cornerstone/LICENSE.txt
   avalon/trunk/planet/cornerstone/connection/api/project.properties
   avalon/trunk/planet/cornerstone/connection/api/project.xml
   avalon/trunk/planet/cornerstone/connection/impl/conf/
   avalon/trunk/planet/cornerstone/connection/impl/maven.xml
   avalon/trunk/planet/cornerstone/connection/impl/project.properties
   avalon/trunk/planet/cornerstone/connection/impl/project.xml
   avalon/trunk/planet/cornerstone/datasources/api/project.properties
   avalon/trunk/planet/cornerstone/datasources/api/project.xml
   avalon/trunk/planet/cornerstone/datasources/impl/conf/
   avalon/trunk/planet/cornerstone/datasources/impl/maven.xml
   avalon/trunk/planet/cornerstone/datasources/impl/project.properties
   avalon/trunk/planet/cornerstone/datasources/impl/project.xml
   avalon/trunk/planet/cornerstone/maven-common-gump-build.xml
   avalon/trunk/planet/cornerstone/maven.xml
   avalon/trunk/planet/cornerstone/project.properties
   avalon/trunk/planet/cornerstone/project.xml
   avalon/trunk/planet/cornerstone/scheduler/api/project.properties
   avalon/trunk/planet/cornerstone/scheduler/api/project.xml
   avalon/trunk/planet/cornerstone/scheduler/impl/maven.xml
   avalon/trunk/planet/cornerstone/scheduler/impl/project.properties
   avalon/trunk/planet/cornerstone/scheduler/impl/project.xml
   avalon/trunk/planet/cornerstone/site/
   avalon/trunk/planet/cornerstone/sockets/api/project.properties
   avalon/trunk/planet/cornerstone/sockets/api/project.xml
   avalon/trunk/planet/cornerstone/sockets/impl/conf/
   avalon/trunk/planet/cornerstone/sockets/impl/maven.xml
   avalon/trunk/planet/cornerstone/sockets/impl/project.properties
   avalon/trunk/planet/cornerstone/sockets/impl/project.xml
   avalon/trunk/planet/cornerstone/store/api/project.properties
   avalon/trunk/planet/cornerstone/store/api/project.xml
   avalon/trunk/planet/cornerstone/store/impl/conf/
   avalon/trunk/planet/cornerstone/store/impl/maven.xml
   avalon/trunk/planet/cornerstone/store/impl/project.properties
   avalon/trunk/planet/cornerstone/store/impl/project.xml
   avalon/trunk/planet/cornerstone/threads/api/gump-build.xml
   avalon/trunk/planet/cornerstone/threads/api/project.properties
   avalon/trunk/planet/cornerstone/threads/api/project.xml
   avalon/trunk/planet/cornerstone/threads/impl/conf/
   avalon/trunk/planet/cornerstone/threads/impl/gump-build.xml
   avalon/trunk/planet/cornerstone/threads/impl/maven.xml
   avalon/trunk/planet/cornerstone/threads/impl/project.properties
   avalon/trunk/planet/cornerstone/threads/impl/project.xml
   avalon/trunk/planet/cornerstone/threads/tutorial/conf/
   avalon/trunk/planet/cornerstone/threads/tutorial/maven.xml
   avalon/trunk/planet/cornerstone/threads/tutorial/project.properties
   avalon/trunk/planet/cornerstone/threads/tutorial/project.xml
   avalon/trunk/planet/cornerstone/threads/tutorial/src/java/org/apache/avalon/cornerstone/threads/tutorial/ThreadConsumer.xinfo
Modified:
   avalon/trunk/planet/cornerstone/README.TXT
   avalon/trunk/planet/cornerstone/connection/api/build.xml
   avalon/trunk/planet/cornerstone/connection/impl/build.xml
   avalon/trunk/planet/cornerstone/datasources/api/build.xml
   avalon/trunk/planet/cornerstone/datasources/impl/build.xml
   avalon/trunk/planet/cornerstone/index.xml
   avalon/trunk/planet/cornerstone/scheduler/api/build.xml
   avalon/trunk/planet/cornerstone/scheduler/impl/build.xml
   avalon/trunk/planet/cornerstone/sockets/api/build.xml
   avalon/trunk/planet/cornerstone/sockets/impl/build.xml
   avalon/trunk/planet/cornerstone/store/api/build.xml
   avalon/trunk/planet/cornerstone/store/impl/build.xml
   avalon/trunk/planet/cornerstone/threads/tutorial/build.xml
   avalon/trunk/planet/cornerstone/threads/tutorial/src/java/org/apache/avalon/cornerstone/threads/tutorial/ThreadConsumer.java
Log:
Moving cornerstone to magic.

Modified: avalon/trunk/planet/cornerstone/README.TXT
==============================================================================
--- avalon/trunk/planet/cornerstone/README.TXT	(original)
+++ avalon/trunk/planet/cornerstone/README.TXT	Thu Jul  1 04:27:42 2004
@@ -17,19 +17,8 @@
    threads
 
 The default target will build, jar and install the complete component 
-suite into your local maven repository.
+suite into your local repository.
 
-  $ cd avalon-components/cornerstone
-  $ maven
+  $ cd planet/cornerstone
+  $ ant
 
-Site documetation generated hy the avalon:site goal will be placed in 
-the avalon-components/cornerstone/target/docs directory.
-
-Each project can be build indepedendently using classic Maven 
-goals.  For example:
-
-  $ cd avalon-components/cornerstone/threads/api
-  $ maven jar:install
-
-For more information please consult the project documentation
-included under the avalon-components/cornerstone/site directory.
\ No newline at end of file

Added: avalon/trunk/planet/cornerstone/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../central/system
+project.home = .

Added: avalon/trunk/planet/cornerstone/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Modified: avalon/trunk/planet/cornerstone/connection/api/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/connection/api/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/connection/api/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,10 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-connection-api" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/connection/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/connection/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../../central/system
+project.home = ..

Added: avalon/trunk/planet/cornerstone/connection/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/connection/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="connection" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Added: avalon/trunk/planet/cornerstone/connection/impl/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/connection/impl/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,5 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java
+
+avalon.meta.postfix = xtype

Modified: avalon/trunk/planet/cornerstone/connection/impl/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/connection/impl/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/connection/impl/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-connection-impl" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="connection" embed="MAIN">
+      <x:service source="manager"
+         type="org.apache.avalon.cornerstone.services.connection.ConnectionManager"/>
+      <x:component name="manager" 
+         class="org.apache.avalon.cornerstone.blocks.connection.DefaultConnectionManager"
+         profile="default"/>
+    </x:block>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/datasources/api/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/datasources/api/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,3 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java

Modified: avalon/trunk/planet/cornerstone/datasources/api/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/datasources/api/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/datasources/api/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,10 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-datasources-api" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/datasources/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/datasources/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../../central/system
+project.home = ..

Added: avalon/trunk/planet/cornerstone/datasources/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/datasources/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="datasources" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Added: avalon/trunk/planet/cornerstone/datasources/impl/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/datasources/impl/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,6 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java
+
+avalon.meta.postfix = xtype
+

Modified: avalon/trunk/planet/cornerstone/datasources/impl/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/datasources/impl/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/datasources/impl/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-datasources-impl" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="datasources" embed="MAIN">
+      <x:service source="manager"
+         type="org.apache.avalon.cornerstone.services.datasources.DataSourceSelector"/>
+      <x:component name="manager" 
+         class="org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector"/>
+    </x:block>
+  </target>
+
+</project>
+

Modified: avalon/trunk/planet/cornerstone/index.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/index.xml	(original)
+++ avalon/trunk/planet/cornerstone/index.xml	Thu Jul  1 04:27:42 2004
@@ -5,8 +5,261 @@
   <import index="../../runtime/index.xml"
      href="http://svn.apache.org/repos/asf/avalon/trunk/runtime/index.xml"/>
 
+  <resource>
+    <info>
+      <group>commons-collections</group>
+      <name>commons-collections</name>
+      <version>2.1</version>
+    </info>
+  </resource>
+
+  <resource>
+    <info>
+      <group>concurrent</group>
+      <name>concurrent</name>
+      <version>1.3.1</version>
+    </info>
+  </resource>
+
+  <resource>
+    <info>
+      <group>excalibur-pool</group>
+      <name>excalibur-pool-api</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="avalon-framework-api"/>
+    </dependencies>
+  </resource>
+
+  <resource>
+    <info>
+      <group>excalibur-pool</group>
+      <name>excalibur-pool-impl</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="excalibur-pool-api"/>
+      <include key="avalon-framework-impl"/>
+      <include key="excalibur-pool-impl"/>
+      <include key="commons-collections"/>
+      <include key="concurrent"/>
+    </dependencies>
+  </resource>
+
+  <resource>
+    <info>
+      <group>excalibur-datasource</group>
+      <name>excalibur-datasource</name>
+      <version>1.2.0</version>
+    </info>
+    <dependencies>
+      <include key="excalibur-pool-impl"/>
+      <include key="avalon-framework-impl"/>
+    </dependencies>
+  </resource>
+
+  <resource>
+    <info>
+      <group>excalibur-thread</group>
+      <name>excalibur-thread-api</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="avalon-framework-api"/>
+    </dependencies>
+  </resource>
+
+  <resource>
+    <info>
+      <group>excalibur-thread</group>
+      <name>excalibur-thread-impl</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="excalibur-thread-api"/>
+      <include key="excalibur-pool-impl"/>
+    </dependencies>
+  </resource>
+
   <!--
   Avalon Components - Cornerstone Collection
   -->
+
+  <project basedir="threads/api">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-threads-api</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="excalibur-thread-api"/>
+    </dependencies>
+  </project>
+
+  <project basedir="threads/impl">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-threads-impl</name>
+      <version>2.0.1</version>
+      <status>SNAPSHOT</status> 
+    </info>
+    <dependencies>
+      <include key="cornerstone-threads-api"/>
+      <include key="excalibur-thread-impl"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+  <project basedir="threads/tutorial">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-threads-tutorial</name>
+    </info>
+    <dependencies>
+      <include key="cornerstone-threads-api"/>
+      <include key="cornerstone-threads-impl" runtime="false"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+  <project basedir="sockets/api">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-sockets-api</name>
+      <version>1.0.0</version>
+    </info>
+  </project>
+
+  <project basedir="sockets/impl">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-sockets-impl</name>
+      <version>1.1.1</version>
+      <status>SNAPSHOT</status> 
+    </info>
+    <dependencies>
+      <include key="cornerstone-sockets-api"/>
+      <include key="avalon-framework-impl"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+  <project basedir="connection/api">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-connection-api</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="cornerstone-sockets-api"/>
+      <include key="cornerstone-threads-api"/>
+    </dependencies>
+  </project>
+
+  <project basedir="connection/impl">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-connection-impl</name>
+      <version>2.0.1</version>
+      <status>SNAPSHOT</status> 
+    </info>
+    <dependencies>
+      <include key="cornerstone-connection-api"/>
+      <include key="avalon-framework-impl"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+  <project basedir="datasources/api">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-datasources-api</name>
+      <version>1.0.0</version>
+    </info>
+    <dependencies>
+      <include key="avalon-framework-api"/>
+    </dependencies>
+  </project>
+
+  <project basedir="datasources/impl">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-datasources-impl</name>
+      <version>2.0.1</version>
+      <status>SNAPSHOT</status> 
+    </info>
+    <dependencies>
+      <include key="cornerstone-datasources-api"/>
+      <include key="excalibur-pool-impl"/>
+      <include key="excalibur-datasource"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+  <project basedir="scheduler/api">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-scheduler-api</name>
+      <version>2.0.0</version>
+    </info>
+    <dependencies>
+      <include key="avalon-framework-api"/>
+    </dependencies>
+  </project>
+
+  <project basedir="scheduler/impl">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-scheduler-impl</name>
+      <version>2.0.1</version>
+      <status>SNAPSHOT</status> 
+    </info>
+    <dependencies>
+      <include key="cornerstone-scheduler-api"/>
+      <include key="cornerstone-threads-api"/>
+      <include key="avalon-framework-impl"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
+
+  <project basedir="store/api">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-store-api</name>
+      <version>1.0.0</version>
+    </info>
+    <dependencies>
+      <include key="avalon-framework-api"/>
+    </dependencies>
+  </project>
+
+  <project basedir="store/impl">
+    <info>
+      <group>avalon/cornerstone</group>
+      <name>cornerstone-store-impl</name>
+      <version>1.1.1</version>
+      <status>SNAPSHOT</status> 
+    </info>
+    <dependencies>
+      <include key="cornerstone-store-api"/>
+      <include key="avalon-framework-impl"/>
+    </dependencies>
+    <plugins>
+      <include key="avalon-meta-tools"/>
+    </plugins>
+  </project>
 
 </system>

Added: avalon/trunk/planet/cornerstone/scheduler/api/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/scheduler/api/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,3 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java

Modified: avalon/trunk/planet/cornerstone/scheduler/api/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/scheduler/api/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/scheduler/api/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,10 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-scheduler-api" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/scheduler/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/scheduler/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../../central/system
+project.home = ..

Added: avalon/trunk/planet/cornerstone/scheduler/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/scheduler/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-scheduler" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Added: avalon/trunk/planet/cornerstone/scheduler/impl/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/scheduler/impl/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,6 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java
+
+avalon.meta.postfix = xtype
+

Modified: avalon/trunk/planet/cornerstone/scheduler/impl/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/scheduler/impl/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/scheduler/impl/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-scheduler-impl" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="scheduler" embed="MAIN">
+      <x:service source="manager"
+         type="org.apache.avalon.cornerstone.services.scheduler.TimeScheduler"/>
+      <x:component name="manager" 
+         class="org.apache.avalon.cornerstone.blocks.scheduler.DefaultTimeScheduler" />
+    </x:block>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/sockets/api/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/sockets/api/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,3 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java

Modified: avalon/trunk/planet/cornerstone/sockets/api/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/sockets/api/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/sockets/api/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,10 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-sockets-api" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/sockets/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/sockets/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../../central/system
+project.home = ..

Added: avalon/trunk/planet/cornerstone/sockets/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/sockets/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="sockets" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Added: avalon/trunk/planet/cornerstone/sockets/impl/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/sockets/impl/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,6 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java
+
+avalon.meta.postfix = xtype
+

Modified: avalon/trunk/planet/cornerstone/sockets/impl/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/sockets/impl/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/sockets/impl/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-sockets-impl" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="sockets" embed="MAIN">
+      <x:service source="manager"
+         type="org.apache.avalon.cornerstone.services.sockets.SocketManager"/>
+      <x:component name="manager" 
+         class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketManager"
+         profile="default"/>
+    </x:block>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/sockets/impl/src/java/org/apache/avalon/cornerstone/blocks/sockets/DefaultSocketManager.xprofile
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/sockets/impl/src/java/org/apache/avalon/cornerstone/blocks/sockets/DefaultSocketManager.xprofile	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<profiles>
+
+   <profile name="default">
+     <configuration>
+       <server-sockets>
+         <factory name="plain" 
+           class="org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory"/>
+       </server-sockets>
+       <client-sockets>
+         <factory name="plain" 
+           class="org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketFactory"/>
+       </client-sockets>
+     </configuration>
+   </profile>
+
+</profiles>

Added: avalon/trunk/planet/cornerstone/store/api/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/store/api/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,3 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java

Modified: avalon/trunk/planet/cornerstone/store/api/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/store/api/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/store/api/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,10 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-store-api" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/store/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/store/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../../central/system
+project.home = ..

Added: avalon/trunk/planet/cornerstone/store/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/store/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-store" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Added: avalon/trunk/planet/cornerstone/store/impl/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/store/impl/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,6 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java
+
+avalon.meta.postfix = xtype
+

Modified: avalon/trunk/planet/cornerstone/store/impl/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/store/impl/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/store/impl/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-store-impl" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="store" embed="MAIN">
+      <x:service source="manager"
+         type="org.apache.avalon.cornerstone.services.store.Store"/>
+      <x:component name="manager" 
+         class="org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager" />
+    </x:block>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/threads/api/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/api/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,3 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java

Added: avalon/trunk/planet/cornerstone/threads/api/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/api/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-threads-api" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/threads/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,2 @@
+project.system = ../../../central/system
+project.home = ..

Added: avalon/trunk/planet/cornerstone/threads/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="threads" default="default" basedir=".">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/reactor.xml"/>
+
+</project>

Added: avalon/trunk/planet/cornerstone/threads/impl/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/impl/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,5 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java
+
+avalon.meta.postfix = xtype

Added: avalon/trunk/planet/cornerstone/threads/impl/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/impl/build.xml	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-threads-impl" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:block name="threads" embed="MAIN">
+      <x:service source="manager"
+         type="org.apache.avalon.cornerstone.services.threads.ThreadManager"/>
+      <x:component name="manager" 
+         class="org.apache.avalon.cornerstone.blocks.threads.DefaultThreadManager"
+         profile="default"/>
+    </x:block>
+  </target>
+
+</project>
+

Added: avalon/trunk/planet/cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.xprofile
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/impl/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.xprofile	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<profiles>
+  <profile name="default">
+     <configuration>
+       <thread-group>
+         <name>default</name>
+         <priority>5</priority> 
+         <is-daemon>false</is-daemon>
+         <max-threads>100</max-threads>
+         <min-threads>20</min-threads>
+         <min-spare-threads>20</min-spare-threads>
+       </thread-group>
+     </configuration>
+  </profile>
+</profiles>

Added: avalon/trunk/planet/cornerstone/threads/tutorial/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/planet/cornerstone/threads/tutorial/build.properties	Thu Jul  1 04:27:42 2004
@@ -0,0 +1,3 @@
+project.system = ../../../../central/system
+project.home = ../..
+project.src.main = java

Modified: avalon/trunk/planet/cornerstone/threads/tutorial/build.xml
==============================================================================
--- avalon/trunk/planet/cornerstone/threads/tutorial/build.xml	(original)
+++ avalon/trunk/planet/cornerstone/threads/tutorial/build.xml	Thu Jul  1 04:27:42 2004
@@ -1,73 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- 
- Copyright 2004 The 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.
--->
-<project default="warning" name="Gump Build Support - DO NOT HAND-EDIT!!!" basedir=".">
-
-    <property file="${basedir}/project.properties"/>
-    <property file="${basedir}/../project.properties"/>
-    <property file="${basedir}/../../project.properties"/>
-
-    <target name="need-for-common-build" unless="avalon.buildsystem.available">
-<fail>
-===================================================================
-BUILD SYSTEM FAILURE!
-===================================================================
-
-a required file, ../maven-common-gump-build.xml,
-cannot be found. Try setting the avalon.buildsystem property in
-project.properties to the correct location.
-</fail>
-    </target>
-
-    <target name="delegate">
-        <available
-                file="../../maven-common-gump-build.xml"
-                property="avalon.buildsystem.available"/>
-        <antcall target="need-for-common-build"/>
-
-        <ant
-                inheritRefs="true"
-                target="avalon:${target}"
-                antfile="../../maven-common-gump-build.xml"
-                inheritAll="true"/>
-    </target>
-
-    <target name="warning">
-        <antcall target="delegate">
-            <param name="target" value="warning"/>
-        </antcall>
-    </target>
-
-    <target name="jar">
-        <antcall target="delegate">
-            <param name="target" value="jar"/>
-        </antcall>
-    </target>
-
-    <target name="javadocs">
-        <antcall target="delegate">
-            <param name="target" value="javadocs"/>
-        </antcall>
-    </target>
-
-    <target name="dist">
-        <antcall target="delegate">
-            <param name="target" value="dist"/>
-        </antcall>
-    </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="cornerstone-threads-tutorial" default="install" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools">
+
+  <property file="build.properties"/>
+  <import file="${project.system}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <x:property property="spec" key="cornerstone-threads-impl" feature="spec"/>
+    <x:block name="thread-tutorial">
+      <x:include name="threads" artifact="block:${spec}"/>
+      <x:component name="test" 
+         class="org.apache.avalon.cornerstone.threads.tutorial.ThreadConsumer"/>
+    </x:block>
+  </target>
+
+</project>
+

Modified: avalon/trunk/planet/cornerstone/threads/tutorial/src/java/org/apache/avalon/cornerstone/threads/tutorial/ThreadConsumer.java
==============================================================================
--- avalon/trunk/planet/cornerstone/threads/tutorial/src/java/org/apache/avalon/cornerstone/threads/tutorial/ThreadConsumer.java	(original)
+++ avalon/trunk/planet/cornerstone/threads/tutorial/src/java/org/apache/avalon/cornerstone/threads/tutorial/ThreadConsumer.java	Thu Jul  1 04:27:42 2004
@@ -111,7 +111,8 @@
     * child thread we have establshed during the initialization stage.
     */
     public void dispose()
-    {
+    {
+
         getLogger().info( "disposal" );
 
         if( ( m_control != null ) && !m_control.isFinished() )
@@ -167,8 +168,6 @@
         m_control = null;
         m_threads = null;
         m_manager = null;
-
-        getLogger().info( "disposed" );
     }
 }
 

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


Mime
View raw message