forked from biztech-it/BTable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
84 lines (77 loc) · 2.67 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<project name="BTable" basedir="." default="help">
<description>BTable</description>
<target name="help">
<echo>------------------------------------------</echo>
<echo>| BTable |</echo>
<echo>------------------------------------------</echo>
<echo>| A drill-anywhere component for CDE |</echo>
<echo>------------------------------------------</echo>
<echo>| by Biz Tech | www.biztech.it/btable |</echo>
<echo>------------------------------------------</echo>
<echo></echo>
<echo>TARGETS:</echo>
<echo></echo>
<echo>* copy-common-to-pentaho</echo>
<echo></echo>
<echo>* copy-common-to-pentaho5</echo>
<echo></echo>
<echo>* copy-common</echo>
<echo> 1) copy-common-to-pentaho</echo>
<echo> 2) copy-common-to-pentaho5</echo>
<echo></echo>
<echo>* dist-pentaho</echo>
<echo> 1) copy-common-to-pentaho</echo>
<echo> 2) BTable-pentaho/build.xml -> dist</echo>
<echo></echo>
<echo>* dist-pentaho5</echo>
<echo> 1) copy-common-to-pentaho5</echo>
<echo> 2) BTable-pentaho5/build.xml -> dist</echo>
<echo></echo>
<echo>* dist</echo>
<echo> 1) copy-common</echo>
<echo> 2) dist-pentaho</echo>
<echo> 3) dist-pentaho5</echo>
</target>
<target name="copy-common-to-pentaho">
<copy todir="BTable-pentaho" failonerror="true" overwrite="true">
<fileset dir="BTable-common">
<include name="**/*" />
</fileset>
</copy>
<copy todir="BTable-pentaho" failonerror="true" overwrite="true">
<fileset dir=".">
<include name="CHANGELOG.txt" />
<include name="LICENSE.txt" />
<include name="README.md" />
</fileset>
</copy>
</target>
<target name="copy-common-to-pentaho5">
<copy todir="BTable-pentaho5" failonerror="true" overwrite="true">
<fileset dir="BTable-common">
<include name="**/*" />
</fileset>
</copy>
<copy todir="BTable-pentaho5" failonerror="true" overwrite="true">
<fileset dir=".">
<include name="CHANGELOG.txt" />
<include name="LICENSE.txt" />
<include name="README.md" />
</fileset>
</copy>
</target>
<target name="copy-common">
<ant target="copy-common-to-pentaho" />
<ant target="copy-common-to-pentaho5" />
</target>
<target name="dist-pentaho" depends="copy-common-to-pentaho">
<ant dir="BTable-pentaho" antfile="build.xml" target="dist" inheritAll="true"/>
</target>
<target name="dist-pentaho5" depends="copy-common-to-pentaho5">
<ant dir="BTable-pentaho5" antfile="build.xml" target="dist" inheritAll="true"/>
</target>
<target name="dist" depends="copy-common">
<ant target="dist-pentaho" />
<ant target="dist-pentaho5" />
</target>
</project>