464820458e
Use the system separator (':' or ';') instead of commas
#KT-16083 Fixed
23 lines
842 B
XML
Vendored
23 lines
842 B
XML
Vendored
<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"/>
|
|
<property name="temp.library.path" value="${temp}/lib"/>
|
|
<target name="build">
|
|
<mkdir dir="${temp.library.path}"/>
|
|
|
|
<kotlin2js src="${library.path}" output="${temp.library.path}/jslib-example.js" metaInfo="true"/>
|
|
|
|
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
|
<libraries>
|
|
<pathelement path="${temp.library.path}/jslib-example.meta.js"/>
|
|
</libraries>
|
|
</kotlin2js>
|
|
<copy todir="${temp}">
|
|
<fileset dir="${temp.library.path}">
|
|
<include name="**/*.js"/>
|
|
<exclude name="META-INF/**"/>
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
</project>
|