changeset 104:8cc11b0cbbd4

add vendor to teamcity-plugin.xml
author Pavel.Sher
date Wed, 14 Apr 2010 19:18:53 +0400
parents 1b80570ddadf
children 4dad31fd8c45 8587a9c22d55
files teamcity-common.xml teamcity-plugin.xml
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/teamcity-common.xml	Mon Apr 12 12:12:40 2010 +0400
+++ b/teamcity-common.xml	Wed Apr 14 19:18:53 2010 +0400
@@ -247,9 +247,11 @@
     <echo message="Copying plugin descriptor file '${source}' to '${dest}'."/>
     <copy file="${source}" tofile="${dest}" failonerror="false"/>
 
-    <echo message="Replacing '@version@' on '${plugin.version}' in the copied plugin descriptor file."/>
+    <echo message="Replacing '@Plugin_Version@' on '${plugin.version}' in the copied plugin descriptor file."/>
     <replace file="${dest}" value="${plugin.version}">
-      <replacetoken><![CDATA[@version@]]></replacetoken>
+      <replacefilter token="@Plugin_Version@" value="${plugin.version}"/>
+      <replacefilter token="@Plugin_Vendor@" value="JetBrains, s.r.o."/>
+      <replacefilter token="@Plugin_Vendor_Url@" value="http://www.jetbrains.com"/>
     </replace>
   </target>
 
--- a/teamcity-plugin.xml	Mon Apr 12 12:12:40 2010 +0400
+++ b/teamcity-plugin.xml	Wed Apr 14 19:18:53 2010 +0400
@@ -3,8 +3,12 @@
                  xsi:noNamespaceSchemaLocation="urn:shemas-jetbrains-com:teamcity-plugin-v1-xml">
   <info>
     <name>mercurial</name>
-    <display-name>Mercurial VCS</display-name>
-    <version>@version@</version>
+    <display-name>VCS Support: Mercurial</display-name>
+    <version>@Plugin_Version@</version>
+    <vendor>
+      <name>@Plugin_Vendor@</name>
+      <url>@Plugin_Vendor_Url@</url>
+    </vendor>
   </info>
   <deployment use-separate-classloader="false"/>
 </teamcity-plugin>