You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2005/12/28 04:27:47 UTC

svn commit: r359370 - /maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb

Author: jvanzyl
Date: Tue Dec 27 19:27:46 2005
New Revision: 359370

URL: http://svn.apache.org/viewcvs?rev=359370&view=rev
Log:
o grab the pid from the created project and assign the workflow

Modified:
    maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb

Modified: maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb
URL: http://svn.apache.org/viewcvs/maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb?rev=359370&r1=359369&r2=359370&view=diff
==============================================================================
--- maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb (original)
+++ maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb Tue Dec 27 19:27:46 2005
@@ -9,6 +9,8 @@
   file.each_line do | line |
     key,name,description,url,lead,permissionScheme,notificationScheme = line.chomp.split(",")
     puts "Creating #{name} ..."
-    im.createProject( key, name, description, url, lead, permissionScheme, notificationScheme )
+    pid = im.createProject( key, name, description, url, lead, permissionScheme, notificationScheme )
+    # Setup the project with the Maven workflow
+    im.assignWorkflowScheme( pid, "10011" )    
   end
 end