Rename "import jet.*" to "import kotlin.*" on ant dist

Yet another hack for moving built-ins from package "jet" to "kotlin"
This commit is contained in:
Alexander Udalov
2014-02-20 22:14:35 +04:00
parent d9029917eb
commit 4a5823c5bb
2 changed files with 54 additions and 0 deletions
+20
View File
@@ -284,6 +284,26 @@
<arg value="core/builtins/native"/>
<arg value="core/builtins/src"/>
</java>
<if>
<isfalse value="${bootstrap.build.no.tests}"/>
<then>
<cleandir dir="${output}/renameImportJet"/>
<kotlinc output="${output}/renameImportJet">
<src path="renameImportJet.kt"/>
<classpath refid="classpath"/>
</kotlinc>
<java classname="_DefaultPackage" failonerror="true" fork="true">
<classpath>
<pathelement location="${output}/renameImportJet"/>
<path refid="classpath"/>
</classpath>
<assertions>
<enable/>
</assertions>
</java>
</then>
</if>
</target>
<macrodef name="pack_compiler">