continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r161843 - in maven/continuum/trunk/continuum-web/src/main/resources: META-INF/plexus/components.xml templates/screens/ProjectBuilds.vm
Date Tue, 19 Apr 2005 05:26:48 GMT
Author: jvanzyl
Date: Mon Apr 18 22:26:46 2005
New Revision: 161843

URL: http://svn.apache.org/viewcvs?view=rev&rev=161843
Log:
o use the state content generator as a pull tool

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml?view=diff&r1=161842&r2=161843
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/META-INF/plexus/components.xml
Mon Apr 18 22:26:46 2005
@@ -76,6 +76,12 @@
             <role>org.codehaus.plexus.i18n.I18N</role>
             <scope>global</scope>
           </tool>
+          <tool>
+            <name>state</name>
+            <role>org.codehaus.plexus.formica.web.ContentGenerator</role>
+            <role-hint>continuum-state</role-hint>
+            <scope>global</scope>
+          </tool>
         </tools>
       </configuration>
     </component>

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm?view=diff&r1=161842&r2=161843
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuilds.vm
Mon Apr 18 22:26:46 2005
@@ -13,7 +13,7 @@
       <tr class="$class">
         <td>$date.format('medium',$build.startTime)</td>
         <td>$date.format('medium',$build.endTime)</td>
-        <td>$build.state</td>
+        <td>$state.generate($project)</td>
         <td><a href="$link.setPage('ProjectBuild.vm').addQueryData('view','ProjectBuild').addQueryData('buildId',$build.id).addQueryData('projectId',$project.id)">Result</a></td>
       </tr>
       #if ( $class == "a" )



Mime
View raw message