/
gant.xml
60 lines (56 loc) · 2.14 KB
/
gant.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<project name="Test gant invocation from Ant script" default="doGant">
<dirname property="build.dir" file="${ant.file}"/>
<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">
<include name="*.jar"/>
</fileset>
<fileset dir="${project.home}/build/kotlinc/lib" erroronmissingdir="false">
<include name="kotlin-runtime.jar"/>
</fileset>
<fileset dir="${project.home}/build/kotlinc/plugin/Kotlin/lib" erroronmissingdir="false">
<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="asm-commons.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"/>
<include name="jsr166e.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>