continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r512303 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Date Tue, 27 Feb 2007 16:17:12 GMT
Author: evenisse
Date: Tue Feb 27 08:17:12 2007
New Revision: 512303

URL: http://svn.apache.org/viewvc?view=rev&rev=512303
Log:
Remove the maven.scm.perforce.clientspec.name system property for Perforce so the client spec
name will be recalculated by the perforce provider. 

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java?view=diff&rev=512303&r1=512302&r2=512303
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Tue Feb 27 08:17:12 2007
@@ -344,6 +344,13 @@
             }
         }
 
+        if ( repository.getProvider().equals( "perforce" ) )
+        {
+            //Remove the clientspec name, so it will be recalcuated between each command
for each project
+            //instead of use the same for all projects
+            System.setProperty( "maven.scm.perforce.clientspec.name", null );
+        }
+
         return repository;
     }
 



Mime
View raw message