Get full/core versions of IDEA using update_dependencies.xml. Don't use plugin SDK anymore.

This commit is contained in:
Maxim Shafirov
2012-01-20 19:17:32 +04:00
parent 8ec8fa47a4
commit f541cce098
13 changed files with 96 additions and 8 deletions
+34
View File
@@ -0,0 +1,34 @@
<project name="Update Dependencies" default="update">
<property name="build.zip" value="ideaIC-112.SNAPSHOT.win.zip"/>
<target name="update">
<execute_update/>
</target>
<target name="jb_update">
<execute_update teamcity="http://buildserver.labs.intellij.net" teamcity.build="bt662"/>
</target>
<macrodef name="execute_update">
<attribute name="teamcity" default="http://teamcity.jetbrains.com"/>
<attribute name="teamcity.build" default="bt343"/>
<sequential>
<property name="core" value="ideaSDK/core"/>
<property name="tc" value="@{teamcity}/guestAuth/repository/download/@{teamcity.build}/.lastSuccessful"/>
<delete dir="ideaSDK" failonerror="false"/>
<mkdir dir="${core}"/>
<get src="${tc}/core/intellij-core.jar" dest="${core}"/>
<get src="${tc}/core/annotations.jar" dest="${core}"/>
<get src="${tc}/core/asm.jar" dest="${core}"/>
<get src="${tc}/core/asm-commons.jar" dest="${core}"/>
<get src="${tc}/core/cli-10.jar" dest="${core}"/>
<get src="${tc}/core/guava-r09.jar" dest="${core}"/>
<get src="${tc}/core/picocontainer.jar" dest="${core}"/>
<get src="${tc}/core/trove4j.jar" dest="${core}"/>
<get src="${tc}/${build.zip}" dest="ideaSDK" />
<unzip src="ideaSDK/${build.zip}" dest="ideaSDK"/>
<delete file="ideaSDK/${build.zip}"/>
</sequential>
</macrodef>
</project>