<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -64,10 +64,19 @@ target(processAuth:&quot;Prompts user for login details to create authentication mana
                 usr = usr+&quot;.default&quot;
                 psw = psw+&quot;.default&quot;
             }
-            ant.input(message:&quot;Please enter your SVN username:&quot;, addproperty:usr)
-            ant.input(message:&quot;Please enter your SVN password:&quot;, addproperty:psw)
-            def username = ant.antProject.getProperty(usr)
-            def password = ant.antProject.getProperty(psw)
+
+			def (username, password) = [argsMap.username, argsMap.password]
+			
+			if (!username) {
+				ant.input(message:&quot;Please enter your SVN username:&quot;, addproperty:usr)
+				username = ant.antProject.getProperty(usr)
+			}
+			
+			if (!password) {
+				ant.input(message:&quot;Please enter your SVN password:&quot;, addproperty:psw)
+	            password = ant.antProject.getProperty(psw)
+			}
+						
             authManager = SVNWCUtil.createDefaultAuthenticationManager( username , password )
 	        authManagerMap.put(authKey,authManager)
         }
@@ -106,6 +115,10 @@ target(releasePlugin: &quot;The implementation target&quot;) {
     }
     processAuth()
 
+	if (argsMap.message) {
+		commitMessage = argsMap.message
+	}
+	
     if(argsMap.repository) {
       configureRepositoryForName(argsMap.repository, &quot;distribution&quot;)
     }
@@ -238,7 +251,7 @@ target(modifyOrCreatePluginList:&quot;Updates the remote plugin.xml descriptor or cre
 
         def publisher = new DefaultPluginPublisher(remoteRevision, pluginSVN)
         def updatedList = publisher.publishRelease(pluginName, new FileSystemResource(pluginsListFile), !skipLatest)
-        pluginsListFile.withWriter { w -&gt;
+        pluginsListFile.withWriter(&quot;UTF-8&quot;) { w -&gt;
             publisher.writePluginList(updatedList, w)    
         }
     }
@@ -487,9 +500,6 @@ target(tagPluginRelease:&quot;Tags a plugin-in with the LATEST_RELEASE tag and versio
     // Get remote URL for this working copy.
     def wcClient = new SVNWCClient((ISVNAuthenticationManager) authManager, null)
     def copyFromUrl = trunk
-    if (new File(grailsSettings.baseDir, &quot;.svn&quot;).exists()) {
-        copyFromUrl = wcClient.doInfo(new File(&quot;.&quot;), SVNRevision.WORKING).URL
-    }
 
     // First tag this release with the version number.
     try {</diff>
      <filename>grails/scripts/ReleasePlugin.groovy</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e5505ac0dde8cfbd8b9c3f72d9780bb3690efdde</id>
    </parent>
    <parent>
      <id>35185f406048a97d440d0b8e64d1d9285c481d48</id>
    </parent>
  </parents>
  <author>
    <name>Graeme Rocher</name>
    <email>graeme.rocher@gmail.com</email>
  </author>
  <url>http://github.com/grails/grails/commit/d45a150533103ff77ce539f7d700ac1579d42d2d</url>
  <id>d45a150533103ff77ce539f7d700ac1579d42d2d</id>
  <committed-date>2009-11-10T04:58:21-08:00</committed-date>
  <authored-date>2009-11-10T04:58:21-08:00</authored-date>
  <message>Merge commit 'lukedaley/release-plugin-fixes-take-2'</message>
  <tree>5a834942202a8cb860537e25578321698f211419</tree>
  <committer>
    <name>Graeme Rocher</name>
    <email>graeme.rocher@gmail.com</email>
  </committer>
</commit>
