Mercurial > hg > mercurial
changeset 490:f77000a89e97
Add idea artifacts
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Thu, 04 Oct 2012 11:32:36 +0400 |
parents | 493f78cb64dd |
children | 1bdaf450055c |
files | .hgignore .idea/ant.xml .idea/artifacts/mercurial_agent_jar.xml .idea/artifacts/mercurial_common_jar.xml .idea/artifacts/mercurial_server_jar.xml .idea/artifacts/mercurial_server_tc_jar.xml .idea/artifacts/plugin.xml .idea/artifacts/zip.xml .idea/misc.xml build/ant.build.xml |
diffstat | 10 files changed, 107 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Wed Oct 03 18:08:22 2012 +0400 +++ b/.hgignore Thu Oct 04 11:32:36 2012 +0400 @@ -5,3 +5,4 @@ mercurial.properties syntax: glob .idea/workspace.xml +out \ No newline at end of file
--- a/.idea/ant.xml Wed Oct 03 18:08:22 2012 +0400 +++ b/.idea/ant.xml Thu Oct 04 11:32:36 2012 +0400 @@ -10,6 +10,14 @@ <maximumStackSize value="32" /> <properties /> </buildFile> + <buildFile url="file://$PROJECT_DIR$/build/ant.build.xml"> + <additionalClassPath /> + <antReference projectDefault="true" /> + <customJdkName value="" /> + <maximumHeapSize value="128" /> + <maximumStackSize value="2" /> + <properties /> + </buildFile> </component> </project>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.idea/artifacts/mercurial_agent_jar.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,14 @@ +<component name="ArtifactManager"> + <artifact type="jar" name="mercurial-agent.jar"> + <output-path>$PROJECT_DIR$/out/artifacts/mercurial_agent_jar</output-path> + <properties id="ant-postprocessing"> + <options enabled="true"> + <file>file://$PROJECT_DIR$/build/ant.build.xml</file> + <target>replace-tokens-in-teamcity-plugin-xml</target> + </options> + </properties> + <root id="archive" name="mercurial-agent.jar.jar"> + <element id="module-output" name="mercurial-agent" /> + </root> + </artifact> +</component> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.idea/artifacts/mercurial_common_jar.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,8 @@ +<component name="ArtifactManager"> + <artifact type="jar" name="mercurial-common.jar"> + <output-path>$PROJECT_DIR$/out/artifacts/mercurial_common_jar</output-path> + <root id="archive" name="mercurial-common.jar.jar"> + <element id="module-output" name="mercurial-common" /> + </root> + </artifact> +</component> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.idea/artifacts/mercurial_server_jar.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,8 @@ +<component name="ArtifactManager"> + <artifact type="jar" name="mercurial-server.jar"> + <output-path>$PROJECT_DIR$/out/artifacts/mercurial_server_jar</output-path> + <root id="archive" name="mercurial-server.jar.jar"> + <element id="module-output" name="mercurial-server" /> + </root> + </artifact> +</component> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.idea/artifacts/mercurial_server_tc_jar.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,8 @@ +<component name="ArtifactManager"> + <artifact type="jar" name="mercurial-server-tc.jar"> + <output-path>$PROJECT_DIR$/out/artifacts/mercurial_server_tc_jar</output-path> + <root id="archive" name="mercurial-server-tc.jar.jar"> + <element id="module-output" name="mercurial-server-tc" /> + </root> + </artifact> +</component> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.idea/artifacts/plugin.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,25 @@ +<component name="ArtifactManager"> + <artifact name="plugin"> + <output-path>$PROJECT_DIR$/out/artifacts/plugin</output-path> + <properties id="ant-postprocessing"> + <options enabled="true"> + <file>file://$PROJECT_DIR$/build/ant.build.xml</file> + <target>replace-tokens-in-teamcity-plugin-xml</target> + </options> + </properties> + <root id="root"> + <element id="directory" name="server"> + <element id="artifact" artifact-name="mercurial-server.jar" /> + <element id="artifact" artifact-name="mercurial-common.jar" /> + <element id="artifact" artifact-name="mercurial-server-tc.jar" /> + </element> + <element id="directory" name="agent"> + <element id="archive" name="mercurial.zip"> + <element id="artifact" artifact-name="mercurial-agent.jar" /> + <element id="artifact" artifact-name="mercurial-common.jar" /> + </element> + </element> + <element id="file-copy" path="$PROJECT_DIR$/teamcity-plugin.xml" /> + </root> + </artifact> +</component> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.idea/artifacts/zip.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,10 @@ +<component name="ArtifactManager"> + <artifact name="zip"> + <output-path>$PROJECT_DIR$/dist</output-path> + <root id="root"> + <element id="archive" name="mercurial.zip"> + <element id="artifact" artifact-name="plugin" /> + </element> + </root> + </artifact> +</component> \ No newline at end of file
--- a/.idea/misc.xml Wed Oct 03 18:08:22 2012 +0400 +++ b/.idea/misc.xml Thu Oct 04 11:32:36 2012 +0400 @@ -3,6 +3,7 @@ <component name="EntryPointsManager"> <entry_points version="2.0" /> </component> + <component name="IdProvider" IDEtalkID="C52C76224CD45BEC1DC62428B699D800" /> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK" /> </project>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/ant.build.xml Thu Oct 04 11:32:36 2012 +0400 @@ -0,0 +1,24 @@ +<project name="build hooks" default="replace-tokens-in-teamcity-plugin-xml" basedir="."> + + + <target name="replace-tokens-in-teamcity-plugin-xml"> + <property name="home" value="${artifact.output.path}"/> + + <echo message="replacing tokens in teamcity-plugin.xml file under ${home}"/> + + <condition property="build.number" value="snapshot" else="${build.number}"> + <not> + <isset property="build.number"/> + </not> + </condition> + + <echo message="Setting version to: ${build.number}"/> + <!-- update all references in teamcity-plugin.xml files --> + <replace dir="${home}" summary="true"> + <include name="**/teamcity-plugin.xml"/> + + <replacefilter token="@Plugin_Version@" value="${build.number}"/> + </replace> + </target> + +</project>