continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r494081 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
Date Mon, 08 Jan 2007 14:43:42 GMT
Author: evenisse
Date: Mon Jan  8 06:43:42 2007
New Revision: 494081

URL: http://svn.apache.org/viewvc?view=rev&rev=494081
Log:
Don't set the deploymentRepositoryDirectory if it's empty

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java?view=diff&rev=494081&r1=494080&r2=494081
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ConfigurationAction.java
Mon Jan  8 06:43:42 2007
@@ -105,7 +105,10 @@
 
             configuration.setBuildOutputDirectory( new File( buildOutputDirectory ) );
 
-            configuration.setDeploymentRepositoryDirectory( new File( deploymentRepositoryDirectory
) );
+            if ( StringUtils.isNotEmpty( deploymentRepositoryDirectory ) )
+            {
+                configuration.setDeploymentRepositoryDirectory( new File( deploymentRepositoryDirectory
) );
+            }
 
             configuration.setUrl( baseUrl );
 



Mime
View raw message