maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r521214 - in /maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase: command/checkout/ClearCaseCheckOutCommand.java repository/ClearCaseScmProviderRepository.java
Date Thu, 22 Mar 2007 11:15:52 GMT
Author: evenisse
Date: Thu Mar 22 04:15:51 2007
New Revision: 521214

URL: http://svn.apache.org/viewvc?view=rev&rev=521214
Log:
Change some log levels
Submitted by: Arne Degenring

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/repository/ClearCaseScmProviderRepository.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java?view=diff&rev=521214&r1=521213&r2=521214
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/command/checkout/ClearCaseCheckOutCommand.java
Thu Mar 22 04:15:51 2007
@@ -88,7 +88,7 @@
             // First create the view
             String viewName = getUniqueViewName( repo, workingDirectory.getAbsolutePath()
);
             cl = createCreateViewCommandLine( workingDirectory, viewName );
-            getLogger().debug( "Executing: " + cl.getWorkingDirectory().getAbsolutePath()
+ ">>" + cl.toString() );
+            getLogger().info( "Executing: " + cl.getWorkingDirectory().getAbsolutePath()
+ ">>" + cl.toString() );
             exitCode = CommandLineUtils.executeCommandLine( cl, new CommandLineUtils.StringStreamConsumer(),
stderr );
 
             if ( exitCode == 0 )
@@ -100,6 +100,14 @@
                     configSpecLocation = repo.getConfigSpec();
                     if ( tag != null )
                     {
+                        // Another config spec is needed in this case.
+                        //
+                        // One option how to implement this would be to use a name convention
for the config specs,
+                        // e.g. the tag name could be appended to the original config spec
name.
+                        // If the config spec from the SCM URL would be \\myserver\configspecs\someproj.txt
+                        // and the tag name would be mytag, the new config spec location
could be
+                        // \\myserver\configspecs\someproj-mytag.txt
+                        //
                         throw new UnsupportedOperationException(
                             "Building on a label not supported with user-specified config
specs" );
                     }
@@ -126,7 +134,7 @@
 
                 cl = createUpdateConfigSpecCommandLine( workingDirectory, configSpecLocation,
viewName );
 
-                getLogger().debug( "Executing: " + cl.getWorkingDirectory().getAbsolutePath()
+ ">>" + cl.toString() );
+                getLogger().info( "Executing: " + cl.getWorkingDirectory().getAbsolutePath()
+ ">>" + cl.toString() );
                 exitCode = CommandLineUtils.executeCommandLine( cl, consumer, stderr );
 
             }

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/repository/ClearCaseScmProviderRepository.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/repository/ClearCaseScmProviderRepository.java?view=diff&rev=521214&r1=521213&r2=521214
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/repository/ClearCaseScmProviderRepository.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-clearcase/src/main/java/org/apache/maven/scm/provider/clearcase/repository/ClearCaseScmProviderRepository.java
Thu Mar 22 04:15:51 2007
@@ -130,7 +130,7 @@
             }
             configSpecString = tokenizer.nextToken();
         }
-        logger.info( "viewName = '" + viewName + "' ; configSpec = '" + configSpecString
+ "'" );
+        logger.debug( "viewName = '" + viewName + "' ; configSpec = '" + configSpecString
+ "'" );
         if ( !configSpecString.startsWith( "load " ) )
         {
             configSpec = createConfigSpecFile( configSpecString );



Mime
View raw message