forked from pentaho/pentaho-kettle
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodule_pdi.xml
60 lines (44 loc) · 2.38 KB
/
module_pdi.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="module_pdi" default="compile.module.pdi">
<dirname property="module.pdi.basedir" file="${ant.file.module_pdi}"/>
<property name="module.jdk.home.pdi" value="${project.jdk.home}"/>
<property name="module.jdk.bin.pdi" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.pdi" value="${project.jdk.classpath}"/>
<property name="compiler.args.pdi" value="-encoding UTF-8 -source 1.8 -target 1.8 ${compiler.args}"/>
<property name="pdi.output.dir" value="${module.pdi.basedir}/target/classes"/>
<property name="pdi.testoutput.dir" value="${module.pdi.basedir}/target/test-classes"/>
<path id="pdi.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="pdi.module.production.classpath">
<path refid="${module.jdk.classpath.pdi}"/>
</path>
<path id="pdi.runtime.production.module.classpath">
<pathelement location="${pdi.output.dir}"/>
</path>
<path id="pdi.module.classpath">
<path refid="${module.jdk.classpath.pdi}"/>
<pathelement location="${pdi.output.dir}"/>
<path refid="library.maven:_junit:junit:4.11.classpath"/>
<path refid="library.maven:_org.hamcrest:hamcrest-core:1.3.classpath"/>
</path>
<path id="pdi.runtime.module.classpath">
<pathelement location="${pdi.testoutput.dir}"/>
<pathelement location="${pdi.output.dir}"/>
<path refid="library.maven:_junit:junit:4.11.classpath"/>
<path refid="library.maven:_org.hamcrest:hamcrest-core:1.3.classpath"/>
</path>
<patternset id="excluded.from.module.pdi">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.pdi">
<patternset refid="excluded.from.module.pdi"/>
</patternset>
<target name="compile.module.pdi" depends="compile.module.pdi.production,compile.module.pdi.tests" description="Compile module pdi"/>
<target name="compile.module.pdi.production" depends="register.custom.compilers" description="Compile module pdi; production classes"/>
<target name="compile.module.pdi.tests" depends="register.custom.compilers,compile.module.pdi.production" description="compile module pdi; test classes" unless="skip.tests"/>
<target name="clean.module.pdi" description="cleanup module">
<delete dir="${pdi.output.dir}"/>
<delete dir="${pdi.testoutput.dir}"/>
</target>
</project>