forked from pentaho/pentaho-kettle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
65 lines (53 loc) · 2.09 KB
/
build.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
<!--===========================================================================
This is the build file for the Pentaho Data Integration (Kettle) core module.
This build file will use the subfloor.xml file as the default build
process and should only override the tasks that need to differ from
the common build file.
See common_build.xml for more details
============================================================================-->
<project name="kettle-ui-swt" basedir="." default="default">
<description>
This build file is used to create the Kettle UI module
and works with the subfloor.xml file.
</description>
<!-- The continuous target is used by CI ... this is the list of -->
<!-- tasks that the CI machine will run. -->
<!-- DO NOT change the CI machine's ant task .. change this list -->
<target name="continuous"
depends="clean-all,resolve,publish" />
<!-- Import the common_build.xml file which contains all the default tasks -->
<import file="build-res/subfloor.xml"/>
<!--
AS STATED ABOVE, THE ONLY TASKS THAT SHOULD EXIST IN THIS BUILD FILE ARE
THE TASKS THAT NEED TO DIFFER FROM THE DEFAULT IMPLEMENTATION OF THE TASKS
FOUND IN common_build.xml.
-->
<target name="default" depends="clean,init,resolve,dist"/>
<target name="create-dot-classpath" depends="init,resolve,subfloor.create-dot-classpath"/>
<target name="compile.res_copy" depends="install-antcontrib">
<if>
<available file="${res.dir}" />
<then>
<copy todir="${classes.dir}">
<fileset dir="${res.dir}" />
</copy>
</then>
</if>
<copy todir="${classes.dir}">
<fileset dir="package-res" />
</copy>
<copy todir="${classes.dir}/ui">
<fileset dir="${ui}" includes="laf.properties"/>
</copy>
<if>
<not>
<isset property="jar.include.source" />
</not>
<then>
<copy todir="${classes.dir}" flatten="false">
<fileset dir="${src.dir}" excludes="**/*.java" />
</copy>
</then>
</if>
</target>
</project>