mcconnell    2003/08/28 05:06:54

  Modified:    merlin   maven.xml
               merlin/activation/src/java/org/apache/avalon/activation/appliance/impl
                        DefaultAppliance.java DefaultBlock.java
               merlin/merlin-platform/src/config debug.xml kernel.xml
               merlin/merlin-platform/src/repository/merlin/xmls kernel.xml
  Log:
  Housekeeping.
  
  Revision  Changes    Path
  1.47      +35 -80    avalon-sandbox/merlin/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/maven.xml,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- maven.xml 25 Aug 2003 16:41:04 -0000      1.46
  +++ maven.xml 28 Aug 2003 12:06:54 -0000      1.47
  @@ -10,23 +10,21 @@
     <ant:property name="maven.checkstyle.format" value="avalon"/>
     <ant:property name="pom.organization.identifier" value="ASF"/>
     <ant:property name="pom.specificationVersion" value="1.0"/>
  +  <ant:property environment="env"/>
  +  <ant:property name="merlin.home" value="${env.MERLIN_HOME}"/>
   
  -  <goal name="package">
  -    <attainGoal name="merlin-clean"/>
  -    <attainGoal name="merlin-dist"/>
  -    <attainGoal name="merlin-site"/>
  -    <attainGoal name="merlin-package"/>
  +  <goal name="merlin:update">
  +    <attainGoal name="merlin:clean"/>
  +    <attainGoal name="merlin:dist"/>
  +    <attainGoal name="merlin:site"/>
  +    <attainGoal name="merlin:package"/>
  +    <copy toDir="${merlin.home}">
  +      <fileset dir="${merlin.build.inst.dir}"/>
  +    </copy>
     </goal>
   
     <goal name="merlin:demo" 
       description="Execute the demo targets." >
  -
  -    <!--
  -    Install the sub-project jars (meta, assembly, merlin, etc.)
  -    into the user's local repository and put a copy in the 
  -    build target install directory.
  -    -->
  -
       <maven:reactor
         basedir="${basedir}"
         includes="merlin-platform/tutorials/**/project.xml"
  @@ -36,7 +34,7 @@
         ignoreFailures="false" />
     </goal>
   
  -  <goal name="merlin-dist" 
  +  <goal name="merlin:dist" 
       description="Build the Merlin distribution." >
   
       <ant:mkdir dir="${merlin.build.inst.dir}"/>
  @@ -123,7 +121,7 @@
   
     </goal>
   
  -  <goal name="merlin-package">
  +  <goal name="merlin:package">
       <maven:snapshot project="${pom}"/>    
       <j:set var="timestamp" value="${snapshotSignature.substring(7,15)}"/>
       <j:set var="package.name" value="${maven.final.name}-dist-${timestamp}"/>
  @@ -176,7 +174,7 @@
     of the documetation for the entire Merlin project including the related sub-
     projects.
     -->
  -  <goal name="merlin-site"
  +  <goal name="merlin:site"
       description="Build the Merlin site.">
       <maven:reactor
         basedir="${basedir}"
  @@ -209,69 +207,6 @@
         ignoreFailures="false"/>
     </goal>
   
  -
  -  <!--
  -  The site goal is called by the merlin-install goal and handles the generation
  -  of the documetation for the entire Merlin project including the related sub-
  -  projects.
  -  -->
  -  <goal name="merlin-site-deploy"
  -    description="Deploy the Merlin site.">
  -
  -    <maven:reactor
  -      basedir="${basedir}"
  -      includes="merlin-platform/project.xml"
  -      goals="site:fsdeploy"
  -      banner="Deploying site."
  -      ignoreFailures="false"/>
  -
  -  </goal>
  -
  -  <!--
  -  The update goal generates the merlin site and deploys it to local site repository.
  -  -->
  -  <goal name="merlin-update">
  -    <attainGoal name="merlin-site"/>
  -    <attainGoal name="merlin-site-deploy"/>
  -  </goal>
  -
  -  <!--
  -  Copy the distribution into the local merlin installation.  This target
  -  is very preliminary and presumes that you have a MERLIN_HOME environment 
  -  variable already defined.  No checking or validation is currently in 
  -  place.  It is useful if you want to update an existing installation.
  -  -->
  -  <goal name="merlin-install" prereqs="merlin-install-plugin,merlin-dist">
  -    <ant:property environment="env"/>
  -    <ant:mkdir dir="${env.MERLIN_HOME}"/>
  -    <ant:echo>Installing Merlin into home directory: ${env.MERLIN_HOME}</ant:echo>
  -    <ant:copy toDir="${env.MERLIN_HOME}">
  -      <fileset dir="${merlin.build.inst.dir}">
  -        <include name="**/*"/>
  -      </fileset>
  -    </ant:copy>
  -  </goal>
  -
  -  <!--
  -  Utility goal to update the lib directories in the Merlin installation
  -  without disrupting current executing NT services.  I.e. just update
  -  the jar files in the lib subdirectories.
  -  -->
  -  <goal name="merlin-libs" prereqs="merlin-dist">
  -    <ant:property environment="env"/>
  -    <ant:mkdir dir="${env.MERLIN_HOME}/repository"/>
  -    <ant:echo>Updating Merlin libraries: ${env.MERLIN_HOME}</ant:echo>
  -    <ant:copy toDir="${env.MERLIN_HOME}/repository">
  -      <fileset dir="${merlin.build.inst.dir}/repository">
  -        <include name="**/*"/>
  -      </fileset>
  -    </ant:copy>
  -    <ant:copy 
  -       file="${basedir}/kernel/bootstrap/target/merlin-bootstrap-1.0.jar" 
  -       toDir="${env.MERLIN_HOME}/bin"/>
  -
  -  </goal>
  -
     <goal name="xjavadoc">
       <ant:mkdir dir="${basedir}/target/docs/api" />
       <ant:property name="copyright"
  @@ -314,9 +249,24 @@
     </goal>
   
     <!--
  +  The site goal is called by the merlin-install goal and handles the generation
  +  of the documetation for the entire Merlin project including the related sub-
  +  projects.
  +  -->
  +  <goal name="merlin-site-deploy"
  +    description="Deploy the Merlin site.">
  +    <maven:reactor
  +      basedir="${basedir}"
  +      includes="merlin-platform/project.xml"
  +      goals="site:fsdeploy"
  +      banner="Deploying site."
  +      ignoreFailures="false"/>
  +  </goal>
  +
  +  <!--
     Install the merlin plugin into the Maven plugin suite.
     -->
  -  <goal name="merlin-install-plugin" prereqs="merlin-dist" 
  +  <goal name="merlin-install-plugin" prereqs="merlin:dist" 
         description="Install Merlin Maven plugin.">
       <attainGoal name="merlinx-install-plugin"/>
     </goal>
  @@ -337,7 +287,7 @@
     ==============================================================================
     -->
   
  -  <goal name="merlin-clean" prereqs="clean">
  +  <goal name="merlin:clean" prereqs="clean">
       <maven:reactor
         basedir="${basedir}"
         includes="**/project.xml"
  @@ -346,5 +296,10 @@
         banner="Cleaning subproject:"
         ignoreFailures="false"/>
     </goal>
  +
  +  <goal name="merlin-clean" prereqs="merlin:clean"/>
  +  <goal name="merlin-dist" prereqs="merlin:dist"/>
  +  <goal name="merlin-site" prereqs="merlin:site"/>
  +  <goal name="merlin-libs" prereqs="merlin:update"/>
   
   </project>
  
  
  
  1.7       +10 -2     
avalon-sandbox/merlin/activation/src/java/org/apache/avalon/activation/appliance/impl/DefaultAppliance.java
  
  Index: DefaultAppliance.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/merlin/activation/src/java/org/apache/avalon/activation/appliance/impl/DefaultAppliance.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DefaultAppliance.java     22 Aug 2003 18:00:07 -0000      1.6
  +++ DefaultAppliance.java     28 Aug 2003 12:06:54 -0000      1.7
  @@ -615,6 +615,14 @@
       // Factory
       //-------------------------------------------------------------------
   
  +   /**
  +    * Create a new fully deployed instance of the type managed by the 
  +    * appliance.
  +    *
  +    * @return the deployed component instance
  +    * @exception LifecycleException if an error while processing
  +    *    the component though its deployment lifecycle
  +    */
       public Object newInstance() throws LifecycleException
       {
           Class clazz = m_model.getDeploymentClass();
  @@ -640,7 +648,7 @@
               if( getLogger().isDebugEnabled() )
               {
                   int id = System.identityHashCode( instance );
  -                getLogger().debug( "component established: " + id );
  +                getLogger().debug( "established: " + id );
               }
   
               return instance;
  
  
  
  1.10      +0 -5      
avalon-sandbox/merlin/activation/src/java/org/apache/avalon/activation/appliance/impl/DefaultBlock.java
  
  Index: DefaultBlock.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/merlin/activation/src/java/org/apache/avalon/activation/appliance/impl/DefaultBlock.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DefaultBlock.java 27 Aug 2003 23:57:37 -0000      1.9
  +++ DefaultBlock.java 28 Aug 2003 12:06:54 -0000      1.10
  @@ -1062,10 +1062,5 @@
                   throw new ApplianceException( error, e );
               }
           }
  -
  -        public String toString()
  -        {
  -            return m_block.toString();
  -        }
       }
   }
  
  
  
  1.2       +9 -4      avalon-sandbox/merlin/merlin-platform/src/config/debug.xml
  
  Index: debug.xml
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/merlin-platform/src/config/debug.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- debug.xml 20 Aug 2003 11:59:43 -0000      1.1
  +++ debug.xml 28 Aug 2003 12:06:54 -0000      1.2
  @@ -6,10 +6,15 @@
   
   <kernel>
   
  -  <!-- logging system parameters -->
  -  <logging target="default" priority="DEBUG" name="kernel">
  -     <category name="/sys/logger" priority="WARN"/>
  -  </logging>
  +   <!-- logging system parameters -->
  +   <logging priority="DEBUG" name="kernel"/>
  +
  +   <repository>
  +     <hosts>
  +       <host>http://www.ibiblio.org/merlin/</host>
  +       <host>http://www.ibiblio.org/maven/</host>
  +     </hosts>
  +   </repository>
   
   </kernel>
   
  
  
  
  1.10      +1 -0      avalon-sandbox/merlin/merlin-platform/src/config/kernel.xml
  
  Index: kernel.xml
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/merlin-platform/src/config/kernel.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- kernel.xml        24 Aug 2003 18:14:30 -0000      1.9
  +++ kernel.xml        28 Aug 2003 12:06:54 -0000      1.10
  @@ -15,6 +15,7 @@
   
      <repository>
        <hosts>
  +       <host>http://www.ibiblio.org/merlin/</host>
          <host>http://www.ibiblio.org/maven/</host>
        </hosts>
      </repository>
  
  
  
  1.2       +2 -1      
avalon-sandbox/merlin/merlin-platform/src/repository/merlin/xmls/kernel.xml
  
  Index: kernel.xml
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/merlin/merlin-platform/src/repository/merlin/xmls/kernel.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- kernel.xml        19 Aug 2003 05:44:20 -0000      1.1
  +++ kernel.xml        28 Aug 2003 12:06:54 -0000      1.2
  @@ -2,12 +2,13 @@
   
   <kernel>
   
  -   <logging name="smp" target="default" priority="INFO">
  +   <logging name="kernel" target="default" priority="INFO">
         <category name="" priority="WARN"/>
      </logging>
   
      <repository>
        <hosts>
  +       <host>http://www.ibiblio.org/merlin/</host>
          <host>http://www.ibiblio.org/maven/</host>
        </hosts>
      </repository>
  
  
  

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

Reply via email to