continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r635404 - in /continuum/trunk: continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Date Mon, 10 Mar 2008 00:31:11 GMT
Author: wsmoak
Date: Sun Mar  9 17:31:09 2008
New Revision: 635404

URL: http://svn.apache.org/viewvc?rev=635404&view=rev
Log:
CONTINUUM-1687 Improve the template and build definition names

Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java
    continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java?rev=635404&r1=635403&r2=635404&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/builddefinition/DefaultBuildDefinitionService.java
Sun Mar  9 17:31:09 2008
@@ -260,7 +260,7 @@
         getLogger().info( "create default AntBuildDefinitionTemplate" );
         template = new BuildDefinitionTemplate();
         template.setContinuumDefault( true );
-        template.setName( "default ant template" );
+        template.setName( "Default Ant Template" );
         template.setType( ContinuumBuildExecutorConstants.ANT_BUILD_EXECUTOR  );
 
         template = addBuildDefinitionTemplate( template );
@@ -277,7 +277,7 @@
 
         bd.setSchedule( getDefaultSchedule() );
 
-        bd.setDescription( "default ant buildDefinition" );
+        bd.setDescription( "Default Ant Build Definition" );
         
         bd.setTemplate( true );
         
@@ -297,7 +297,7 @@
         getLogger().info( "create default MavenOneBuildDefinitionTemplate" );
         template = new BuildDefinitionTemplate();
         template.setContinuumDefault( true );
-        template.setName( "default maven1 template" );
+        template.setName( "Default Maven 1 Template" );
         template.setType( ContinuumBuildExecutorConstants.MAVEN_ONE_BUILD_EXECUTOR  );
         
         template = addBuildDefinitionTemplate( template );
@@ -316,7 +316,7 @@
 
         bd.setType( ContinuumBuildExecutorConstants.MAVEN_ONE_BUILD_EXECUTOR );
 
-        bd.setDescription( "default maven1 buildDefinition" );
+        bd.setDescription( "Default Maven 1 Build Definition" );
         
         bd.setTemplate( true );
         
@@ -334,7 +334,7 @@
         getLogger().info( "create default MavenTwoBuildDefinitionTemplate" );
         template = new BuildDefinitionTemplate();
         template.setContinuumDefault( true );
-        template.setName( "default maven2 template" );
+        template.setName( "Default Maven 2 Template" );
         template.setType( ContinuumBuildExecutorConstants.MAVEN_TWO_BUILD_EXECUTOR  );
         
         template = addBuildDefinitionTemplate( template );        
@@ -353,7 +353,7 @@
 
         bd.setType( ContinuumBuildExecutorConstants.MAVEN_TWO_BUILD_EXECUTOR );
 
-        bd.setDescription( "default maven2 buildDefinition" );
+        bd.setDescription( "Default Maven 2 Build Definition" );
         
         bd.setTemplate( true );
         
@@ -371,7 +371,7 @@
         getLogger().info( "create default ShellBuildDefinitionTemplate" );
         template = new BuildDefinitionTemplate();
         template.setContinuumDefault( true );
-        template.setName( "default shell template" );
+        template.setName( "Default Shell Template" );
         template.setType( ContinuumBuildExecutorConstants.SHELL_BUILD_EXECUTOR  );
         
         template = addBuildDefinitionTemplate( template );        
@@ -386,7 +386,7 @@
 
         bd.setTemplate( true );
         
-        bd.setDescription( "default shell buildDefinition" );
+        bd.setDescription( "Default Shell Build Definition" );
         
         return addBuildDefinitionInTemplate( template, bd, true );
     }

Modified: continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml?rev=635404&r1=635403&r2=635404&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml Sun
Mar  9 17:31:09 2008
@@ -143,7 +143,7 @@
             "[continuum] BUILD ${state}: ${project.name}, Build Def - ${build.buildDefinition.description}"

               results in "[continuum] BUILD SUCCESSFUL: Hello World, Build Def - Nightly
Test Build"
          -->
-        <subject-format>[continuum] BUILD ${state}: ${project.projectGroup.name} -
${project.name} - Build Def: ${build.buildDefinition.description}</subject-format>
+        <subject-format>[continuum] BUILD ${state}: ${project.projectGroup.name} -
${project.name} - ${build.buildDefinition.description}</subject-format>
         <includeBuildResult>true</includeBuildResult>
         <includeBuildSummary>true</includeBuildSummary>
         <includeTestSummary>true</includeTestSummary>



Mime
View raw message