continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r320951 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Fri, 14 Oct 2005 00:16:51 GMT
Author: evenisse
Date: Thu Oct 13 17:16:50 2005
New Revision: 320951

URL: http://svn.apache.org/viewcvs?rev=320951&view=rev
Log:
[CONTINUUM-355] Fix configuration update

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

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=320951&r1=320950&r2=320951&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Thu Oct 13 17:16:50 2005
@@ -1069,7 +1069,7 @@
                 configurationService.setGuestAccountEnabled( false );
             }
 
-            if ( configuration.get( "conf.workingDirectory" ) == null )
+            if ( configuration.get( "conf.workingDirectory" ) != null )
             {
                 configurationService.setWorkingDirectory( configurationService.getFile( (String)
configuration.get( "conf.workingDirectory" ) ) );
             }
@@ -1078,7 +1078,7 @@
                 throw new ContinuumException( "working directory can't be null" );
             }
 
-            if ( configuration.get( "conf.buildOutputDirectory" ) == null )
+            if ( configuration.get( "conf.buildOutputDirectory" ) != null )
             {
                 configurationService.setBuildOutputDirectory( configurationService.getFile(
(String) configuration.get( "conf.buildOutputDirectory" ) ) );
             }
@@ -1087,7 +1087,7 @@
                 throw new ContinuumException( "build output directory can't be null" );
             }
 
-            if ( configuration.get( "conf.url" ) == null )
+            if ( configuration.get( "conf.url" ) != null )
             {
                 configurationService.setUrl( (String) configuration.get( "conf.url" ) );
             }



Mime
View raw message