maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r359370 - /maven/sandbox/issue/rissue/bin/mojo/create_plugin_projects.rb
Date Wed, 28 Dec 2005 03:27:47 GMT
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



Mime
View raw message