continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r725978 - /continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java
Date Fri, 12 Dec 2008 12:07:14 GMT
Author: ctan
Date: Fri Dec 12 04:07:13 2008
New Revision: 725978

URL: http://svn.apache.org/viewvc?rev=725978&view=rev
Log:
fix initialization of build context

Modified:
    continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java

Modified: continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java?rev=725978&r1=725977&r2=725978&view=diff
==============================================================================
--- continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java
(original)
+++ continuum/branches/continuum-distributed-builds/continuum-builder/src/main/java/org/apache/continuum/builder/distributed/executor/DistributedBuildProjectTaskExecutor.java
Fri Dec 12 04:07:13 2008
@@ -143,12 +143,12 @@
 
                 Map context = new HashMap();
                 
-                context.put( ContinuumBuildConstant.KEY_PROJECT_GROUP_ID, new Integer( project.getProjectGroup().getId()
).toString() );
+                context.put( ContinuumBuildConstant.KEY_PROJECT_GROUP_ID, new Integer( project.getProjectGroup().getId()
) );
                 context.put( ContinuumBuildConstant.KEY_SCM_ROOT_ADDRESS, scmRootAddress
);
                 context.put( ContinuumBuildConstant.KEY_PROJECT_ID, new Integer( project.getId()
) );
                 context.put( ContinuumBuildConstant.KEY_EXECUTOR_ID, project.getExecutorId()
);
                 context.put( ContinuumBuildConstant.KEY_SCM_URL, project.getScmUrl() );
-                
+
                 if ( project.getScmUsername() == null )
                 {
                     context.put( ContinuumBuildConstant.KEY_SCM_USERNAME, "" );



Mime
View raw message