continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r161727 - maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Mon, 18 Apr 2005 04:37:05 GMT
Author: jvanzyl
Date: Sun Apr 17 21:37:04 2005
New Revision: 161727

URL: http://svn.apache.org/viewcvs?view=rev&rev=161727
Log:
o make sure configuration is updated when updating a shell project

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?view=diff&r1=161726&r2=161727
==============================================================================
--- 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
Sun Apr 17 21:37:04 2005
@@ -553,7 +553,16 @@
     {
         updateProject( project );
 
-        updateProjectConfiguration( project.getId(), project.getConfiguration() );
+        Properties configuration = new Properties();
+
+        configuration.setProperty( ShellBuilder.CONFIGURATION_EXECUTABLE, project.getExecutable()
);
+
+        if ( project.getArguments() != null )
+        {
+            configuration.setProperty( ShellBuilder.CONFIGURATION_ARGUMENTS, project.getArguments()
);
+        }
+
+        updateProjectConfiguration( project.getId(), configuration );
     }
 
     private void updateProject( ContinuumProject project )



Mime
View raw message