Using properties for dependency build id's

This commit is contained in:
Andrey Breslav
2013-05-22 15:30:02 +04:00
parent 530dc1ca95
commit 68b0aa0eb2
+5 -2
View File
@@ -1,16 +1,19 @@
<project name="Update Dependencies" default="update"> <project name="Update Dependencies" default="update">
<property name="jb.buildserver.build.id" value="1887851"/>
<property name="public.buildserver.build.id" value="83166"/>
<property name="idea.sdk.fetch.needed" value="true"/> <property name="idea.sdk.fetch.needed" value="true"/>
<target name="update" depends="fetch-third-party"> <target name="update" depends="fetch-third-party">
<execute_update <execute_update
base.url="http://teamcity.jetbrains.com/guestAuth/repository/download/bt410/83110:id" base.url="http://teamcity.jetbrains.com/guestAuth/repository/download/bt410/${public.buildserver.build.id}:id"
build.zip="ideaIC-130.SNAPSHOT.win.zip" build.zip="ideaIC-130.SNAPSHOT.win.zip"
/> />
</target> </target>
<target name="jb_update" depends="fetch-third-party"> <target name="jb_update" depends="fetch-third-party">
<execute_update <execute_update
base.url="http://buildserver.labs.intellij.net/guestAuth/repository/download/bt3498/1885470:id" base.url="http://buildserver.labs.intellij.net/guestAuth/repository/download/bt3498/${jb.buildserver.build.id}:id"
build.zip="ideaIC-130.SNAPSHOT.win.zip" build.zip="ideaIC-130.SNAPSHOT.win.zip"
/> />
</target> </target>