continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r178164 - /maven/continuum/trunk/continuum-cc/src/main/java/org/apache/maven/continuum/project/builder/cc/CriuseControlProjectBuilder.java
Date Tue, 24 May 2005 13:09:00 GMT
Author: trygvis
Date: Tue May 24 06:09:00 2005
New Revision: 178164

URL: http://svn.apache.org/viewcvs?rev=178164&view=rev
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-cc/src/main/java/org/apache/maven/continuum/project/builder/cc/CriuseControlProjectBuilder.java

Modified: maven/continuum/trunk/continuum-cc/src/main/java/org/apache/maven/continuum/project/builder/cc/CriuseControlProjectBuilder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-cc/src/main/java/org/apache/maven/continuum/project/builder/cc/CriuseControlProjectBuilder.java?rev=178164&r1=178163&r2=178164&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-cc/src/main/java/org/apache/maven/continuum/project/builder/cc/CriuseControlProjectBuilder.java
(original)
+++ maven/continuum/trunk/continuum-cc/src/main/java/org/apache/maven/continuum/project/builder/cc/CriuseControlProjectBuilder.java
Tue May 24 06:09:00 2005
@@ -35,7 +35,7 @@
 
 /**
  * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
- * @version $Id:$
+ * @version $Id$
  */
 public class CriuseControlProjectBuilder
     extends AbstractContinuumProjectBuilder
@@ -109,6 +109,11 @@
             {
                 String nagEmailAddress = findNagEmailAddress( publishers.getChild( "email"
) );
 
+                if ( nagEmailAddress == null )
+                {
+                    nagEmailAddress = findNagEmailAddress( publishers.getChild( "htmlemail"
) );
+                }
+
                 continuumProject.setNagEmailAddress( nagEmailAddress );
             }
 
@@ -216,7 +221,7 @@
                     throw new ContinuumProjectBuilderException( "Continuum doesn't support
CVS tags." );
                 }
 
-                scmUrl = "cvs:" + cvsrot;
+                scmUrl = "scm:cvs:" + cvsrot;
             }
             else if ( modifactionset.getName().equals( "svn" ) )
             {
@@ -232,12 +237,14 @@
                     throw new ContinuumProjectBuilderException( "A 'repositoryLocation' attribute
is required when using a svn modification set. The usage of 'localworkingcopy' is not supported."
);
                 }
 
-                scmUrl = "svn:" + repositoryLocation;
+                scmUrl = "scm:svn:" + repositoryLocation;
             }
             else
             {
                 throw new ContinuumProjectBuilderException( "Unsupported modification set
found '" + modifactionset.getName() + "'." );
             }
+
+            break;
         }
 
         if ( scmUrl == null )



Mime
View raw message