forked from LeeRisk/MultiTypeTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
module_mutitypetemplates.xml
97 lines (77 loc) · 4.65 KB
/
module_mutitypetemplates.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_mutitypetemplates" default="compile.module.mutitypetemplates">
<dirname property="module.mutitypetemplates.basedir" file="${ant.file.module_mutitypetemplates}"/>
<property name="module.jdk.home.mutitypetemplates" value="${project.jdk.home}"/>
<property name="module.jdk.bin.mutitypetemplates" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.mutitypetemplates" value="${project.jdk.classpath}"/>
<property name="compiler.args.mutitypetemplates" value="-encoding UTF-8 -source 1.6 -target 1.6 ${compiler.args}"/>
<property name="mutitypetemplates.output.dir" value="${module.mutitypetemplates.basedir}/out/production/MutiTypeTemplates"/>
<property name="mutitypetemplates.testoutput.dir" value="${module.mutitypetemplates.basedir}/out/test/MutiTypeTemplates"/>
<path id="mutitypetemplates.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="mutitypetemplates.module.production.classpath">
<path refid="${module.jdk.classpath.mutitypetemplates}"/>
</path>
<path id="mutitypetemplates.runtime.production.module.classpath">
<pathelement location="${mutitypetemplates.output.dir}"/>
</path>
<path id="mutitypetemplates.module.classpath">
<path refid="${module.jdk.classpath.mutitypetemplates}"/>
<pathelement location="${mutitypetemplates.output.dir}"/>
</path>
<path id="mutitypetemplates.runtime.module.classpath">
<pathelement location="${mutitypetemplates.testoutput.dir}"/>
<pathelement location="${mutitypetemplates.output.dir}"/>
</path>
<patternset id="excluded.from.module.mutitypetemplates">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.mutitypetemplates">
<patternset refid="excluded.from.module.mutitypetemplates"/>
</patternset>
<path id="mutitypetemplates.module.sourcepath">
<dirset dir="${module.mutitypetemplates.basedir}">
<include name="src"/>
<include name="resources"/>
</dirset>
</path>
<target name="compile.module.mutitypetemplates" depends="compile.module.mutitypetemplates.production,compile.module.mutitypetemplates.tests" description="Compile module MutiTypeTemplates"/>
<target name="compile.module.mutitypetemplates.production" depends="register.custom.compilers" description="Compile module MutiTypeTemplates; production classes">
<mkdir dir="${mutitypetemplates.output.dir}"/>
<javac2 destdir="${mutitypetemplates.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.mutitypetemplates}/javac">
<compilerarg line="${compiler.args.mutitypetemplates}"/>
<bootclasspath refid="mutitypetemplates.module.bootclasspath"/>
<classpath refid="mutitypetemplates.module.production.classpath"/>
<src refid="mutitypetemplates.module.sourcepath"/>
<patternset refid="excluded.from.compilation.mutitypetemplates"/>
</javac2>
<copy todir="${mutitypetemplates.output.dir}">
<fileset dir="${module.mutitypetemplates.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
<fileset dir="${module.mutitypetemplates.basedir}/resources">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.mutitypetemplates.tests" depends="register.custom.compilers,compile.module.mutitypetemplates.production" description="compile module MutiTypeTemplates; test classes" unless="skip.tests"/>
<target name="clean.module.mutitypetemplates" description="cleanup module">
<delete dir="${mutitypetemplates.output.dir}"/>
<delete dir="${mutitypetemplates.testoutput.dir}"/>
</target>
<property name="mutitypetemplates.plugin.path.jar" value="${module.mutitypetemplates.basedir}/MutiTypeTemplates.jar"/>
<!-- Build archive for plugin 'MutiTypeTemplates' -->
<target name="plugin.build.jar.mutitypetemplates" depends="compile.module.mutitypetemplates" description="Build plugin archive for module 'MutiTypeTemplates'">
<jar destfile="${mutitypetemplates.plugin.path.jar}" duplicate="preserve">
<zipfileset dir="${module.mutitypetemplates.basedir}/out/production/MutiTypeTemplates"/>
<zipfileset file="${module.mutitypetemplates.basedir}/resources/META-INF/plugin.xml" prefix="META-INF"/>
<manifest>
<attribute name="Created-By" value="IntelliJ IDEA"/>
<attribute name="Manifest-Version" value="1.0"/>
</manifest>
</jar>
</target>
</project>