continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r575214 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
Date Thu, 13 Sep 2007 08:28:28 GMT
Author: evenisse
Date: Thu Sep 13 01:28:28 2007
New Revision: 575214

URL: http://svn.apache.org/viewvc?rev=575214&view=rev
Log:
Fix typo

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java?rev=575214&r1=575213&r2=575214&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/CheckoutProjectContinuumAction.java
Thu Sep 13 01:28:28 2007
@@ -138,12 +138,13 @@
                     BuildDefinition bd = continuum.getDefaultBuildDefinition( project.getId()
);
 
                     String buildFile = "";
-                    if (ContinuumBuildExecutorConstants.MAVEN_TWO_BUILD_EXECUTOR.equals(
project.getExecutorId() ) )
+                    if ( ContinuumBuildExecutorConstants.MAVEN_TWO_BUILD_EXECUTOR.equals(
project.getExecutorId() ) )
                     {
                         buildFile = "pom.xml";
                         bd.setType( ContinuumBuildExecutorConstants.MAVEN_TWO_BUILD_EXECUTOR
);
                     }
-                    else if ( ContinuumBuildExecutorConstants.MAVEN_ONE_BUILD_EXECUTOR.equals(
project.getExecutorId() ) )
+                    else
+                    if ( ContinuumBuildExecutorConstants.MAVEN_ONE_BUILD_EXECUTOR.equals(
project.getExecutorId() ) )
                     {
                         buildFile = "project.xml";
                         bd.setType( ContinuumBuildExecutorConstants.MAVEN_ONE_BUILD_EXECUTOR
);
@@ -157,7 +158,7 @@
                     {
                         bd.setType( ContinuumBuildExecutorConstants.SHELL_BUILD_EXECUTOR
);
                     }
-                    bd.setBuildFile( relativePath + "/" + "buildFile" );
+                    bd.setBuildFile( relativePath + "/" + buildFile );
                     store.storeBuildDefinition( bd );
                 }
             }



Mime
View raw message