mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
60 lines
2.3 KiB
XML
60 lines
2.3 KiB
XML
<project name="Test gant invocation from Ant script" default="doGant" xmlns:if="ant:if">
|
|
<dirname property="build.dir" file="${ant.file}"/>
|
|
<property name="include.kotlin.jars.to.classpath" value="true"/>
|
|
<property name="project.home" value="${build.dir}/.."/>
|
|
<property name="gant.home" value="${project.home}/build/lib/gant"/>
|
|
<property name="idea.lib" value="${project.home}/lib"/>
|
|
|
|
<condition property="gant.target" value="default">
|
|
<not>
|
|
<isset property="gant.target"/>
|
|
</not>
|
|
</condition>
|
|
|
|
<path id="gant.classpath">
|
|
<fileset dir="${gant.home}/lib">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
<fileset dir="${project.home}/build/lib/jps">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
<pathelement path="${project.home}/build/groovy"/>
|
|
<fileset file="${project.home}/jps/lib/optimizedFileManager.jar"/>
|
|
<fileset dir="${project.home}/build/kotlinc/jps" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
<fileset dir="${project.home}/build/kotlinc/lib" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
|
|
<include name="kotlin-runtime.jar"/>
|
|
</fileset>
|
|
<fileset dir="${project.home}/build/kotlinc/plugin/Kotlin/lib" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
|
|
<include name="kotlin-plugin.jar"/>
|
|
</fileset>
|
|
<fileset dir="${idea.lib}">
|
|
<include name="jdom.jar"/>
|
|
<include name="log4j.jar"/>
|
|
<include name="trove4j.jar"/>
|
|
<include name="groovy-all-*.jar"/>
|
|
<include name="protobuf*.jar"/>
|
|
<include name="netty*.jar"/>
|
|
<include name="asm-all.jar"/>
|
|
<include name="jgoodies-forms.jar"/>
|
|
<include name="guava*.jar"/>
|
|
<include name="picocontainer.jar"/>
|
|
<include name="jna.jar"/>
|
|
<include name="jna-platform.jar"/>
|
|
<include name="oromatcher.jar"/>
|
|
<include name="snappy-in-java-*.jar"/>
|
|
<include name="cli-parser-*.jar"/>
|
|
<include name="nanoxml-*.jar"/>
|
|
</fileset>
|
|
</path>
|
|
|
|
<taskdef name="gant" classname="org.jetbrains.jps.gant.GantWithClasspathTask">
|
|
<classpath refid="gant.classpath"/>
|
|
</taskdef>
|
|
|
|
<target name="doGant">
|
|
<gant file="${gant.script}" target="${gant.target}"/>
|
|
</target>
|
|
</project>
|