Files
kotlin-fork/compiler/testData/integration/ant/js/simpleWithStdlibAndAnotherLib/build.xml
T
Alexander Udalov fad40ac11e Rename package jet -> kotlin in ant
org.jetbrains.jet.buildtools.ant -> org.jetbrains.kotlin.ant

The old antlib.xml is kept for migration purposes
2015-01-03 15:16:17 +03:00

18 lines
611 B
XML

<project name="Ant Task Test" default="build">
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
<property name="library.path" value="${test.data}/jslib-example.jar"/>
<target name="build">
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
<library>
<pathelement path="${library.path}"/>
</library>
</kotlin2js>
<unzip src="${library.path}" dest="${temp}">
<patternset>
<include name="*.js"/>
<exclude name="META-INF/**"/>
</patternset>
</unzip>
</target>
</project>