Create repository for openapi.jar and idea_rt.jar on teamcity to avoid full idea download

This commit is contained in:
Nikolay Krasko
2016-04-05 16:33:32 +03:00
parent 187c0d4dd0
commit f648fddb84
2 changed files with 8 additions and 9 deletions
+2 -2
View File
@@ -50,7 +50,7 @@
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../../dependencies/idea/idea-15-for-tests/lib/idea_rt.jar!/" />
<root url="jar://$MODULE_DIR$/../../dependencies/idea/idea-for-compiler-test/idea_rt.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
@@ -59,7 +59,7 @@
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../../dependencies/idea/idea-15-for-tests/lib/openapi.jar!/" />
<root url="jar://$MODULE_DIR$/../../dependencies/idea/idea-for-compiler-test/openapi.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
+6 -7
View File
@@ -748,13 +748,12 @@
<mkdir dir="@{download.dir}"/>
<!-- For running compiler tests with Java 1.6 -->
<get src="@{base.repository.url}/ideaIC/15.0.5/ideaIC-15.0.5.zip" dest="@{download.dir}/ideaIC-15.0.5.zip" usetimestamp="true"/>
<unzip src="@{download.dir}/ideaIC-15.0.5.zip" dest="@{download.dir}/idea-15-for-tests">
<patternset>
<include name="**/lib/openapi.jar"/>
<include name="**/lib/idea_rt.jar"/>
</patternset>
</unzip>
<mkdir dir="@{download.dir}/idea-for-compiler-test"/>
<local name="idea.for.compiler.testing.base.url"/>
<property name="idea.for.compiler.testing.base.url"
value="https://teamcity.jetbrains.com/guestAuth/repository/download/IntelliJIdeaCe_OpenapiJar/idea-15.0.5"/>
<get src="${idea.for.compiler.testing.base.url}/idea_rt.jar" dest="@{download.dir}/idea-for-compiler-test/idea_rt.jar" usetimestamp="true"/>
<get src="${idea.for.compiler.testing.base.url}/openapi.jar" dest="@{download.dir}/idea-for-compiler-test/openapi.jar" usetimestamp="true"/>
<property name="idea.id" value="idea${sdk.version.prefix}"/>