You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by tr...@apache.org on 2005/08/15 23:38:17 UTC

svn commit: r232887 - in /maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main: java/org/apache/maven/report/projectinfo/ resources/

Author: trygvis
Date: Mon Aug 15 14:38:11 2005
New Revision: 232887

URL: http://svn.apache.org/viewcvs?rev=232887&view=rev
Log:
o Removing comment about no contributors.
o Changing the promt from "$>" to "$ ".

Modified:
    maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/CimReport.java
    maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java
    maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/resources/project-info-report_en.properties

Modified: maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/CimReport.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/CimReport.java?rev=232887&r1=232886&r2=232887&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/CimReport.java (original)
+++ maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/CimReport.java Mon Aug 15 14:38:11 2005
@@ -23,11 +23,11 @@
 import org.apache.maven.reporting.AbstractMavenReport;
 import org.apache.maven.reporting.AbstractMavenReportRenderer;
 import org.apache.maven.reporting.MavenReportException;
+
 import org.codehaus.doxia.sink.Sink;
 import org.codehaus.doxia.site.renderer.SiteRenderer;
 import org.codehaus.plexus.util.StringUtils;
 
-import java.io.IOException;
 import java.util.Iterator;
 import java.util.List;
 import java.util.Locale;
@@ -44,6 +44,10 @@
 public class CimReport
     extends AbstractMavenReport
 {
+    // ----------------------------------------------------------------------
+    // Parameters
+    // ----------------------------------------------------------------------
+
     /**
      * @parameter expression="${project.build.directory}/site"
      * @required
@@ -64,57 +68,40 @@
      */
     private MavenProject project;
 
-    /**
-     * @see org.apache.maven.reporting.MavenReport#getName(java.util.Locale)
-     */
+    // ----------------------------------------------------------------------
+    // MavenReport Implementation
+    // ----------------------------------------------------------------------
+
     public String getName( Locale locale )
     {
         return getBundle( locale ).getString( "report.cim.name" );
     }
 
-    /**
-     * @see org.apache.maven.reporting.MavenReport#getCategoryName()
-     */
     public String getCategoryName()
     {
         return CATEGORY_PROJECT_INFORMATION;
     }
 
-    /**
-     * @see org.apache.maven.reporting.MavenReport#getDescription(java.util.Locale)
-     */
     public String getDescription( Locale locale )
     {
         return getBundle( locale ).getString( "report.cim.description" );
     }
 
-    /**
-     * @see org.apache.maven.reporting.AbstractMavenReport#getOutputDirectory()
-     */
     protected String getOutputDirectory()
     {
         return outputDirectory;
     }
 
-    /**
-     * @see org.apache.maven.reporting.AbstractMavenReport#getProject()
-     */
     protected MavenProject getProject()
     {
         return project;
     }
 
-    /**
-     * @see org.apache.maven.reporting.AbstractMavenReport#getSiteRenderer()
-     */
     protected SiteRenderer getSiteRenderer()
     {
         return siteRenderer;
     }
 
-    /**
-     * @see org.apache.maven.reporting.AbstractMavenReport#executeReport(java.util.Locale)
-     */
     public void executeReport( Locale locale )
         throws MavenReportException
     {
@@ -123,14 +110,15 @@
         r.render();
     }
 
-    /**
-     * @see org.apache.maven.reporting.MavenReport#getOutputName()
-     */
     public String getOutputName()
     {
         return "integration";
     }
 
+    // ----------------------------------------------------------------------
+    //
+    // ----------------------------------------------------------------------
+
     static class CimRenderer
         extends AbstractMavenReportRenderer
     {
@@ -147,17 +135,11 @@
             this.locale = locale;
         }
 
-        /**
-         * @see org.apache.maven.reporting.MavenReportRenderer#getTitle()
-         */
         public String getTitle()
         {
             return getBundle( locale ).getString( "report.cim.title" );
         }
 
-        /**
-         * @see org.apache.maven.reporting.AbstractMavenReportRenderer#renderBody()
-         */
         public void renderBody()
         {
             CiManagement cim = model.getCiManagement();
@@ -276,4 +258,4 @@
     {
         return ResourceBundle.getBundle( "project-info-report", locale, CimReport.class.getClassLoader() );
     }
-}
\ No newline at end of file
+}

Modified: maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java?rev=232887&r1=232886&r2=232887&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java (original)
+++ maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/ScmReport.java Mon Aug 15 14:38:11 2005
@@ -416,7 +416,7 @@
                 paragraph( getBundle( locale ).getString( "report.scm.accessbehindfirewall.svn.intro" ) );
 
                 StringBuffer sb = new StringBuffer();
-                sb.append( "$>svn checkout " ).append( svnRepo.getUrl() ).append( " " ).append( model.getArtifactId() );
+                sb.append( "$ svn checkout " ).append( svnRepo.getUrl() ).append( " " ).append( model.getArtifactId() );
                 verbatimText( sb.toString() );
             }
             else if ( ( devRepository != null ) && ( isScmSystem( devRepository, "cvs" ) ) )
@@ -472,7 +472,7 @@
             paragraph( getBundle( locale ).getString( "report.scm.devaccess.clearcase.intro" ) );
 
             StringBuffer command = new StringBuffer();
-            command.append( "$>cleartool checkout " ).append( clearCaseRepo.getModule() );
+            command.append( "$ cleartool checkout " ).append( clearCaseRepo.getModule() );
 
             verbatimText( command.toString() );
         }
@@ -494,9 +494,9 @@
             paragraph( getBundle( locale ).getString( "report.scm.anonymousaccess.cvs.intro" ) );
 
             StringBuffer command = new StringBuffer();
-            command.append( "$>cvs -d " ).append( cvsRepo.getCvsRoot() ).append( " login" );
+            command.append( "$ cvs -d " ).append( cvsRepo.getCvsRoot() ).append( " login" );
             command.append( "\n" );
-            command.append( "$>cvs -z3 -d " ).append( cvsRepo.getCvsRoot() );
+            command.append( "$ cvs -z3 -d " ).append( cvsRepo.getCvsRoot() );
             command.append( " co " ).append( cvsRepo.getModule() );
 
             verbatimText( command.toString() );
@@ -520,9 +520,9 @@
             String cvsRoot = StringUtils.replace( cvsRepo.getCvsRoot(), cvsRepo.getUser(), "username" );
 
             StringBuffer command = new StringBuffer();
-            command.append( "$>cvs -d " ).append( cvsRoot ).append( " login" );
+            command.append( "$ cvs -d " ).append( cvsRoot ).append( " login" );
             command.append( "\n" );
-            command.append( "$>cvs -z3 -d " ).append( cvsRoot ).append( " co " ).append( cvsRepo.getModule() );
+            command.append( "$ cvs -z3 -d " ).append( cvsRoot ).append( " co " ).append( cvsRepo.getModule() );
 
             verbatimText( command.toString() );
         }
@@ -544,7 +544,7 @@
             paragraph( getBundle( locale ).getString( "report.scm.devaccess.perforce.intro" ) );
 
             StringBuffer command = new StringBuffer();
-            command.append( "$>p4" );
+            command.append( "$ p4" );
             if ( !StringUtils.isEmpty( perforceRepo.getHost() ) )
             {
                 command.append( " -H " ).append( perforceRepo.getHost() );
@@ -558,7 +558,7 @@
             command.append( " " );
             command.append( perforceRepo.getPath() );
             command.append( "\n" );
-            command.append( "$>p4 submit -c \"A comment\"" );
+            command.append( "$ p4 submit -c \"A comment\"" );
 
             verbatimText( command.toString() );
         }
@@ -583,11 +583,11 @@
             String fullUrl = StringUtils.replace( starteamRepo.getFullUrl(), starteamRepo.getUser(), "username" );
             fullUrl = StringUtils.replace( fullUrl, starteamRepo.getPassword(), "password" );
 
-            command.append( "$>stcmd co -x -nologo -stop -p " );
+            command.append( "$ stcmd co -x -nologo -stop -p " );
             command.append( fullUrl );
             command.append( " -is" );
             command.append( "\n" );
-            command.append( "$>stcmd ci -x -nologo -stop -p " );
+            command.append( "$ stcmd ci -x -nologo -stop -p " );
             command.append( fullUrl );
             command.append( " -f NCI -is" );
 
@@ -610,7 +610,7 @@
             paragraph( getBundle( locale ).getString( "report.scm.anonymousaccess.svn.intro" ) );
 
             StringBuffer sb = new StringBuffer();
-            sb.append( "$>svn checkout " ).append( svnRepo.getUrl() ).append( " " ).append( model.getArtifactId() );
+            sb.append( "$ svn checkout " ).append( svnRepo.getUrl() ).append( " " ).append( model.getArtifactId() );
 
             verbatimText( sb.toString() );
         }
@@ -631,14 +631,14 @@
 
             StringBuffer sb = new StringBuffer();
 
-            sb.append( "$>svn checkout " ).append( svnRepo.getUrl() ).append( " " ).append( model.getArtifactId() );
+            sb.append( "$ svn checkout " ).append( svnRepo.getUrl() ).append( " " ).append( model.getArtifactId() );
 
             verbatimText( sb.toString() );
 
             paragraph( getBundle( locale ).getString( "report.scm.devaccess.svn.intro2" ) );
 
             sb = new StringBuffer();
-            sb.append( "$>svn commit --username your-username -m \"A message\"" );
+            sb.append( "$ svn commit --username your-username -m \"A message\"" );
 
             verbatimText( sb.toString() );
         }

Modified: maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/resources/project-info-report_en.properties
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/resources/project-info-report_en.properties?rev=232887&r1=232886&r2=232887&view=diff
==============================================================================
--- maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/resources/project-info-report_en.properties (original)
+++ maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/resources/project-info-report_en.properties Mon Aug 15 14:38:11 2005
@@ -53,7 +53,7 @@
 report.team-list.intro.description1=A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.
 report.team-list.intro.description2=The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.
 report.team-list.developers.title=Members
-report.team-list.nodeveloper=There are no developers working on this project. Please check back at a later date.
+report.team-list.nodeveloper=There are no developers working on this project.
 report.team-list.developers.intro=The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.  
 report.team-list.developers.id=Id
 report.team-list.developers.name=Name
@@ -109,7 +109,7 @@
 report.scm.accessbehindfirewall.cvs.intro=For those developers who are stuck behind a corporate firewall, {CVSGrab, http://cvsgrab.sourceforge.net/} can use the viewcvs web interface to checkout the source code. 
 report.scm.accessbehindfirewall.general.intro=Refer to the documentation of the SCM used for more information about an access behind a firewall.
 report.scm.accessthroughtproxy.title=Access through a proxy
-report.scm.accessthroughtproxy.svn.intro1=The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
+report.scm.accessthroughtproxy.svn.intro1=The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
 report.scm.accessthroughtproxy.svn.intro2=There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created. 
 report.scm.accessthroughtproxy.svn.intro3=Example : Edit the 'servers' file and add something like : 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org