geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r354641 - in /geronimo/gbuild/trunk: gbuild-agent-application/src/conf/ gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ gbuild-agent/src/main/resources/META-INF/plexus/ gbuild-agent/src/test/java/org/apache/geronimo/gbuild/agent/
Date Wed, 07 Dec 2005 01:10:34 GMT
Author: dblevins
Date: Tue Dec  6 17:10:26 2005
New Revision: 354641

URL: http://svn.apache.org/viewcvs?rev=354641&view=rev
Log:
Renamed everything from Extention to Extension

Added:
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtension.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtension.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtensionManager.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtensionManager.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtensionManager.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtension.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtension.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtension.java
      - copied, changed from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtention.java
Removed:
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtention.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtention.java
Modified:
    geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtentionManager.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/KillProcessesExtension.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ReportActivityExtension.java
    geronimo/gbuild/trunk/gbuild-agent/src/main/resources/META-INF/plexus/components.xml
    geronimo/gbuild/trunk/gbuild-agent/src/test/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtentionTest.java

Modified: geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml (original)
+++ geronimo/gbuild/trunk/gbuild-agent-application/src/conf/application.xml Tue Dec  6 17:10:26
2005
@@ -82,9 +82,9 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
       <role-hint>file-include</role-hint>
-      <implementation>org.apache.geronimo.gbuild.agent.FileIncludeExtention</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.FileIncludeExtension</implementation>
       <requirements>
         <requirement>
           <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
@@ -96,9 +96,9 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
       <role-hint>general-headers</role-hint>
-      <implementation>org.apache.geronimo.gbuild.agent.HeaderIncludeExtention</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.HeaderIncludeExtension</implementation>
       <configuration>
         <pattern>^(project|build|header).*</pattern>
       </configuration>
@@ -138,7 +138,7 @@
           <role>org.apache.geronimo.gbuild.agent.ClientManager</role>
         </requirement>
         <requirement>
-          <role>org.apache.geronimo.gbuild.agent.BuildResultsExtentionManager</role>
+          <role>org.apache.geronimo.gbuild.agent.BuildResultsExtensionManager</role>
         </requirement>
       </requirements>
       <configuration>
@@ -147,9 +147,9 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildResultsExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildResultsExtension</role>
       <role-hint>write-include-file</role-hint>
-      <implementation>org.apache.geronimo.gbuild.agent.WriteIncludeFileExtention</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.WriteIncludeFileExtension</implementation>
       <configuration>
         <include-pattern>^include.*</include-pattern>
         <results-directory>results</results-directory>
@@ -219,19 +219,19 @@
         </appenders>
         <levels>
           <level>
-            <hierarchy>org.apache.geronimo.gbuild.agent.BuildAgentExtention:file-include</hierarchy>
+            <hierarchy>org.apache.geronimo.gbuild.agent.BuildAgentExtension:file-include</hierarchy>
             <level>INFO</level>
           </level>
           <level>
-            <hierarchy>org.apache.geronimo.gbuild.agent.BuildAgentExtention:general-headers</hierarchy>
+            <hierarchy>org.apache.geronimo.gbuild.agent.BuildAgentExtension:general-headers</hierarchy>
             <level>INFO</level>
           </level>
           <level>
-            <hierarchy>org.apache.geronimo.gbuild.agent.BuildResultsExtention:write-include-file</hierarchy>
+            <hierarchy>org.apache.geronimo.gbuild.agent.BuildResultsExtension:write-include-file</hierarchy>
             <level>INFO</level>
           </level>
           <level>
-            <hierarchy>org.apache.geronimo.gbuild.agent.BuildAgentExtention:file-include</hierarchy>
+            <hierarchy>org.apache.geronimo.gbuild.agent.BuildAgentExtension:file-include</hierarchy>
             <level>INFO</level>
           </level>
           <level>
@@ -241,13 +241,13 @@
 
             <!--There was no such logger 'org.apache.maven.continuum.configuration.ConfigurationService'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelper'
8918836.-->
-            <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildResultsExtentionManager'
8918836.-->
+            <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildResultsExtensionManager'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.execution.ContinuumBuildExecutor:shell'
8918836.-->
             <!--There was no such logger 'org.codehaus.plexus.action.Action:checkout-project'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.buildcontroller.BuildController'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.scm.ContinuumScm'
8918836.-->
             <!--There was no such logger 'org.apache.maven.settings.MavenSettingsBuilder'
8918836.-->
-            <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildResultsExtention:write-include-file'
8918836.-->
+            <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildResultsExtension:write-include-file'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.utils.WorkingDirectoryService'
8918836.-->
             <!--There was no such logger 'org.apache.maven.artifact.resolver.ArtifactResolver'
8918836.-->
             <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildAgentExtentionManager'
8918836.-->
@@ -259,7 +259,7 @@
             <!--There was no such logger 'org.apache.maven.continuum.execution.manager.BuildExecutorManager'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.utils.shell.ShellCommandHelper'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven-1'
8918836.-->
-            <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildAgentExtention:file-include'
8918836.-->
+            <!--There was no such logger 'org.apache.geronimo.gbuild.agent.BuildAgentExtension:file-include'
8918836.-->
             <!--There was no such logger 'org.apache.maven.continuum.execution.maven.m1.MavenOneMetadataHelper'
8918836.-->
             <!--There was no such logger 'org.codehaus.plexus.action.Action:execute-builder'
8918836.-->
             <!--There was no such logger 'org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager'
8918836.-->

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtension.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtention.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtension.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtension.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtention.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtention.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtension.java
Tue Dec  6 17:10:26 2005
@@ -21,9 +21,9 @@
 /**
  * @version $Rev$ $Date$
  */
-public interface BuildAgentExtention {
+public interface BuildAgentExtension {
 
-    String ROLE = BuildAgentExtention.class.getName();
+    String ROLE = BuildAgentExtension.class.getName();
 
     public void preProcess(Map build);
 

Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtentionManager.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtentionManager.java?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtentionManager.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildAgentExtentionManager.java
Tue Dec  6 17:10:26 2005
@@ -26,7 +26,7 @@
 
     String ROLE = BuildAgentExtentionManager.class.getName();
 
-    BuildAgentExtention getBuildAgentExtention(String id) throws NoSuchExtentionException;
+    BuildAgentExtension getBuildAgentExtention(String id) throws NoSuchExtentionException;
 
     void postProcess(Map build, HashMap results);
 

Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsContinuumAgent.java
Tue Dec  6 17:10:26 2005
@@ -32,7 +32,7 @@
     /**
      * @plexus.requirement
      */
-    private BuildResultsExtentionManager extentionManager;
+    private BuildResultsExtensionManager extentionManager;
 
     /**
      * @plexus.configuration

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtension.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtention.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtension.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtension.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtention.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtention.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtension.java
Tue Dec  6 17:10:26 2005
@@ -19,9 +19,9 @@
 /**
  * @version $Rev$ $Date$
  */
-public interface BuildResultsExtention {
+public interface BuildResultsExtension {
 
-    String ROLE = BuildResultsExtention.class.getName(); 
+    String ROLE = BuildResultsExtension.class.getName();
 
     void execute(java.util.Map context) throws java.lang.Exception;
 

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtensionManager.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtentionManager.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtensionManager.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtensionManager.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtentionManager.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtentionManager.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/BuildResultsExtensionManager.java
Tue Dec  6 17:10:26 2005
@@ -21,11 +21,11 @@
 /**
  * @version $Rev$ $Date$
  */
-public interface BuildResultsExtentionManager {
+public interface BuildResultsExtensionManager {
 
-    String ROLE = BuildResultsExtentionManager.class.getName();
+    String ROLE = BuildResultsExtensionManager.class.getName();
 
-    BuildResultsExtention getBuildResultsExtention(String id) throws NoSuchExtentionException;
+    BuildResultsExtension getBuildResultsExtention(String id) throws NoSuchExtentionException;
 
     void execute(Map results) throws Exception;
 

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtensionManager.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtentionManager.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtensionManager.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtensionManager.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtentionManager.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtentionManager.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildAgentExtensionManager.java
Tue Dec  6 17:10:26 2005
@@ -25,21 +25,21 @@
 /**
  * @version $Rev$ $Date$
  */
-public class DefaultBuildAgentExtentionManager extends AbstractLogEnabled implements BuildAgentExtentionManager
{
+public class DefaultBuildAgentExtensionManager extends AbstractLogEnabled implements BuildAgentExtentionManager
{
 
     /**
      * @plexus.requirement
      */
     private Map extentions;
 
-    public BuildAgentExtention getBuildAgentExtention(String id) throws NoSuchExtentionException
{
+    public BuildAgentExtension getBuildAgentExtention(String id) throws NoSuchExtentionException
{
 
-        BuildAgentExtention agentExtention = (BuildAgentExtention) extentions.get(id);
+        BuildAgentExtension agentExtension = (BuildAgentExtension) extentions.get(id);
 
-        if (agentExtention == null){
+        if (agentExtension == null){
             throw new NoSuchExtentionException(id);
         }
-        return agentExtention;
+        return agentExtension;
     }
 
     public void postProcess(Map build, HashMap results) {
@@ -50,13 +50,13 @@
 
             String name = (String) entry.getKey();
 
-            BuildAgentExtention extention = (BuildAgentExtention) entry.getValue();
+            BuildAgentExtension extension = (BuildAgentExtension) entry.getValue();
 
             getLogger().info("Executing extention "+name +" post process");
 
             try {
 
-                extention.postProcess(build, results);
+                extension.postProcess(build, results);
 
             } catch (Exception e) {
 
@@ -74,13 +74,13 @@
 
             String name = (String) entry.getKey();
 
-            BuildAgentExtention extention = (BuildAgentExtention) entry.getValue();
+            BuildAgentExtension extension = (BuildAgentExtension) entry.getValue();
 
             getLogger().info("Executing extention "+name +" pre process");
 
             try {
 
-                extention.preProcess(build);
+                extension.preProcess(build);
 
             } catch (Exception e) {
 

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtensionManager.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtentionManager.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtensionManager.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtensionManager.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtentionManager.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtentionManager.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/DefaultBuildResultsExtensionManager.java
Tue Dec  6 17:10:26 2005
@@ -19,26 +19,25 @@
 import org.codehaus.plexus.logging.AbstractLogEnabled;
 
 import java.util.Map;
-import java.util.HashMap;
 import java.util.Iterator;
 
 /**
  * @version $Rev$ $Date$
  */
-public class DefaultBuildResultsExtentionManager extends AbstractLogEnabled implements BuildResultsExtentionManager
{
+public class DefaultBuildResultsExtensionManager extends AbstractLogEnabled implements BuildResultsExtensionManager
{
 
     /**
      * @plexus.requirement
      */
     private Map extentions;
 
-    public BuildResultsExtention getBuildResultsExtention(String id) throws NoSuchExtentionException
{
-        BuildResultsExtention agentExtention = (BuildResultsExtention) extentions.get(id);
+    public BuildResultsExtension getBuildResultsExtention(String id) throws NoSuchExtentionException
{
+        BuildResultsExtension agentExtension = (BuildResultsExtension) extentions.get(id);
 
-        if (agentExtention == null){
+        if (agentExtension == null){
             throw new NoSuchExtentionException(id);
         }
-        return agentExtention;
+        return agentExtension;
     }
 
     public void execute(Map results) throws Exception {
@@ -48,13 +47,13 @@
 
             String name = (String) entry.getKey();
 
-            BuildResultsExtention extention = (BuildResultsExtention) entry.getValue();
+            BuildResultsExtension extension = (BuildResultsExtension) entry.getValue();
 
             getLogger().info("Executing extention "+name);
 
             try {
 
-                extention.execute(results);
+                extension.execute(results);
 
             } catch (Exception e) {
 

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtension.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtention.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtension.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtension.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtention.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtention.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/FileIncludeExtension.java
Tue Dec  6 17:10:26 2005
@@ -24,12 +24,11 @@
 import java.io.IOException;
 import java.util.Map;
 import java.util.Iterator;
-import java.util.Set;
 
 /**
  * @version $Rev$ $Date$
  */
-public class FileIncludeExtention extends AbstractLogEnabled implements BuildAgentExtention
{
+public class FileIncludeExtension extends AbstractLogEnabled implements BuildAgentExtension
{
 
     /**
      * @plexus.requirement

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtension.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtention.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtension.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtension.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtention.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtention.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/HeaderIncludeExtension.java
Tue Dec  6 17:10:26 2005
@@ -24,7 +24,7 @@
 /**
  * @version $Rev$ $Date$
  */
-public class HeaderIncludeExtention extends AbstractLogEnabled implements BuildAgentExtention
{
+public class HeaderIncludeExtension extends AbstractLogEnabled implements BuildAgentExtension
{
 
     /**
      * @plexus.configuration

Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/KillProcessesExtension.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/KillProcessesExtension.java?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/KillProcessesExtension.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/KillProcessesExtension.java
Tue Dec  6 17:10:26 2005
@@ -29,7 +29,7 @@
 /**
  * @version $Rev$ $Date$
  */
-public class KillProcessesExtension extends AbstractLogEnabled implements BuildAgentExtention
{
+public class KillProcessesExtension extends AbstractLogEnabled implements BuildAgentExtension
{
 
     /**
      * @plexus.requirement

Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ReportActivityExtension.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ReportActivityExtension.java?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ReportActivityExtension.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ReportActivityExtension.java
Tue Dec  6 17:10:26 2005
@@ -23,7 +23,7 @@
 /**
  * @version $Rev$ $Date$
  */
-public class ReportActivityExtension extends AbstractLogEnabled implements BuildAgentExtention
{
+public class ReportActivityExtension extends AbstractLogEnabled implements BuildAgentExtension
{
 
     /**
      * @plexus.requirement

Copied: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtension.java
(from r351570, geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtention.java)
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtension.java?p2=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtension.java&p1=geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtention.java&r1=351570&r2=354641&rev=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtention.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtension.java
Tue Dec  6 17:10:26 2005
@@ -32,7 +32,7 @@
 /**
  * @version $Rev$ $Date$
  */
-public class WriteIncludeFileExtention extends AbstractContinuumAgentAction implements BuildResultsExtention,
Startable {
+public class WriteIncludeFileExtension extends AbstractContinuumAgentAction implements BuildResultsExtension,
Startable {
 
     /**
      * @plexus.configuration
@@ -63,10 +63,10 @@
     /**
      * required for plexus
      */
-    public WriteIncludeFileExtention() {
+    public WriteIncludeFileExtension() {
     }
 
-    public WriteIncludeFileExtention(String includePattern, String fileNameTemplate, String
resultsDirectory, String dateFormat) {
+    public WriteIncludeFileExtension(String includePattern, String fileNameTemplate, String
resultsDirectory, String dateFormat) {
         this.includePattern = includePattern;
         this.fileNameTemplate = fileNameTemplate;
         this.resultsDirectory = resultsDirectory;

Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/resources/META-INF/plexus/components.xml?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/resources/META-INF/plexus/components.xml (original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/resources/META-INF/plexus/components.xml Tue
Dec  6 17:10:26 2005
@@ -74,19 +74,19 @@
 
     <component>
       <role>org.apache.geronimo.gbuild.agent.BuildAgentExtentionManager</role>
-      <implementation>org.apache.geronimo.gbuild.agent.DefaultBuildAgentExtentionManager</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.DefaultBuildAgentExtensionManager</implementation>
       <requirements>
         <requirement>
-          <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+          <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
           <field-name>extentions</field-name>
         </requirement>
       </requirements>
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
       <role-hint>file-include</role-hint>
-      <implementation>org.apache.geronimo.gbuild.agent.FileIncludeExtention</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.FileIncludeExtension</implementation>
       <requirements>
         <requirement>
           <role>org.apache.maven.continuum.configuration.ConfigurationService</role>
@@ -98,9 +98,9 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
       <role-hint>general-headers</role-hint>
-      <implementation>org.apache.geronimo.gbuild.agent.HeaderIncludeExtention</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.HeaderIncludeExtension</implementation>
       <configuration>
         <pattern>^(project|build|header).*</pattern>
       </configuration>
@@ -137,7 +137,7 @@
       <implementation>org.apache.geronimo.gbuild.agent.BuildResultsContinuumAgent</implementation>
       <requirements>
         <requirement>
-          <role>org.apache.geronimo.gbuild.agent.BuildResultsExtentionManager</role>
+          <role>org.apache.geronimo.gbuild.agent.BuildResultsExtensionManager</role>
         </requirement>
       </requirements>
       <configuration>
@@ -146,20 +146,20 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildResultsExtentionManager</role>
-      <implementation>org.apache.geronimo.gbuild.agent.DefaultBuildResultsExtentionManager</implementation>
+      <role>org.apache.geronimo.gbuild.agent.BuildResultsExtensionManager</role>
+      <implementation>org.apache.geronimo.gbuild.agent.DefaultBuildResultsExtensionManager</implementation>
       <requirements>
         <requirement>
-          <role>org.apache.geronimo.gbuild.agent.BuildResultsExtention</role>
+          <role>org.apache.geronimo.gbuild.agent.BuildResultsExtension</role>
           <field-name>extentions</field-name>
         </requirement>
       </requirements>
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildResultsExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildResultsExtension</role>
       <role-hint>write-include-file</role-hint>
-      <implementation>org.apache.geronimo.gbuild.agent.WriteIncludeFileExtention</implementation>
+      <implementation>org.apache.geronimo.gbuild.agent.WriteIncludeFileExtension</implementation>
       <configuration>
         <include-pattern>^include.*</include-pattern>
         <results-directory>results</results-directory>
@@ -216,7 +216,7 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
       <role-hint>report-activity</role-hint>
       <implementation>org.apache.geronimo.gbuild.agent.ReportActivityExtension</implementation>
       <requirements>
@@ -227,7 +227,7 @@
     </component>
 
     <component>
-      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtention</role>
+      <role>org.apache.geronimo.gbuild.agent.BuildAgentExtension</role>
       <role-hint>clean-dead-processes</role-hint>
       <implementation>org.apache.geronimo.gbuild.agent.KillProcessesExtension</implementation>
       <requirements>

Modified: geronimo/gbuild/trunk/gbuild-agent/src/test/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtentionTest.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/test/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtentionTest.java?rev=354641&r1=354640&r2=354641&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/test/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtentionTest.java
(original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/test/java/org/apache/geronimo/gbuild/agent/WriteIncludeFileExtentionTest.java
Tue Dec  6 17:10:26 2005
@@ -13,7 +13,7 @@
 public class WriteIncludeFileExtentionTest extends TestCase {
 
     public void testExecute() throws Exception {
-        WriteIncludeFileExtention extention = new WriteIncludeFileExtention("^include.*",
"{foo}/{name}.properties", "target", "yyyy");
+        WriteIncludeFileExtension extention = new WriteIncludeFileExtension("^include.*",
"{foo}/{name}.properties", "target", "yyyy");
         extention.enableLogging(new TestLogger("include-writer"));
         extention.start();
 



Mime
View raw message