Remove obsolete dependencies from student and educational-core
[idea/community.git] / build / gant.xml
1 <project name="Test gant invocation from Ant script" default="doGant" xmlns:if="ant:if">
2   <dirname property="build.dir" file="${ant.file}"/>
3   <property name="include.kotlin.jars.to.classpath" value="true"/>
4   <property name="project.home" value="${build.dir}/.."/>
5   <property name="gant.home" value="${project.home}/build/lib/gant"/>
6   <property name="idea.lib" value="${project.home}/lib"/>
7
8   <condition property="gant.target" value="default">
9     <not>
10       <isset property="gant.target"/>
11     </not>
12   </condition>
13
14   <path id="gant.classpath">
15     <fileset dir="${gant.home}/lib">
16       <include name="*.jar"/>
17     </fileset>
18     <fileset dir="${project.home}/build/lib/jps">
19       <include name="*.jar"/>
20     </fileset>
21     <pathelement path="${project.home}/build/groovy"/>
22     <fileset file="${project.home}/jps/lib/optimizedFileManager.jar"/>
23     <fileset dir="${project.home}/build/kotlinc/jps" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
24       <include name="*.jar"/>
25     </fileset>
26     <fileset dir="${project.home}/build/kotlinc/lib" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
27       <include name="kotlin-runtime.jar"/>
28     </fileset>
29     <fileset dir="${project.home}/build/kotlinc/plugin/Kotlin/lib" erroronmissingdir="false" if:true="${include.kotlin.jars.to.classpath}">
30       <include name="kotlin-plugin.jar"/>
31     </fileset>
32     <fileset dir="${idea.lib}">
33        <include name="jdom.jar"/>
34        <include name="log4j.jar"/>
35        <include name="trove4j.jar"/>
36        <include name="groovy-all-*.jar"/>
37        <include name="protobuf*.jar"/>
38        <include name="netty*.jar"/>
39        <include name="asm-all.jar"/>
40        <include name="asm-commons.jar"/>
41        <include name="jgoodies-forms.jar"/>
42        <include name="guava*.jar"/>
43        <include name="picocontainer.jar"/>
44        <include name="jna.jar"/>
45        <include name="jna-platform.jar"/>
46        <include name="oromatcher.jar"/>
47        <include name="snappy-in-java-*.jar"/>
48        <include name="cli-parser-*.jar"/>
49        <include name="nanoxml-*.jar"/>
50     </fileset>
51   </path>
52
53   <taskdef name="gant" classname="org.jetbrains.jps.gant.GantWithClasspathTask">
54     <classpath refid="gant.classpath"/>
55   </taskdef>
56
57   <target name="doGant">
58     <gant file="${gant.script}" target="${gant.target}"/>
59   </target>
60 </project>