blob: 5878d0c2ada97db8cd2d1aea84f4f6b8e16f31bd [file] [log] [blame]
Xiaoying Gubd119a92009-10-21 08:21:00 +00001<!-- ===================================================================== -->
2<!-- Custom targets called from a project's generated build.xml -->
3<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
4<!-- ===================================================================== -->
5<project name="Build specific targets and properties" default="noDefault">
6
7 <!-- ===================================================================== -->
8 <!-- Default target -->
9 <!-- ===================================================================== -->
10 <target name="noDefault">
11 <echo message="This file must be called with explicit targets" />
12 </target>
13 <!-- ===================================================================== -->
14 <!-- Steps to do before the target build.jars -->
15 <!-- Available parameters : -->
16 <!-- build.result.folder - folder to contain the build results -->
17 <!-- ===================================================================== -->
18 <target name="pre.viewer.jar">
19
20 <property name="basedir" location="." />
21 <property name="birt.dir" value="birt" />
22 <property name="build.result.folder" value="${basedir}" />
23
24 <mkdir dir="${build.result.folder}/viewerservletssrc"/>
25 <copy todir="${build.result.folder}/viewerservletssrc" overwrite="true">
26 <fileset dir="${birt.dir}/WEB-INF/classes/" includes="**/*.java" />
27 </copy>
28 </target>
29
30 <target name="pre.build.jars">
31 <!--Execute native2ascii for *.msg files-->
32 <property name="dir.src" value="src"/>
33
34 <native2ascii encoding="Cp1252"
35 src="."
36 dest="."
37 ext=".properties"
38 includes="**/*_de_DE.msg, **/*_fr_FR.msg, **/*_es_ES.msg"/>
39 <native2ascii encoding="GBK"
40 src="."
41 dest="."
42 ext=".properties"
43 includes="**/*_zh_CN.msg"/>
44 <native2ascii encoding="SJIS"
45 src="."
46 dest="."
47 ext=".properties"
48 includes="**/*_ja_JP.msg"/>
49 <native2ascii encoding="MS949"
50 src="."
51 dest="."
52 ext=".properties"
53 includes="**/*_ko_KR.msg"/>
54
Xiaoying Gub1b0df22010-01-15 07:17:15 +000055 <copy todir=".">
Xiaoying Gu6d098632009-10-29 04:38:26 +000056 <fileset dir="src" includes="org/**"/>
Xiaoying Gub1b0df22010-01-15 07:17:15 +000057 </copy>
Xiaoying Gu6d098632009-10-29 04:38:26 +000058
Xiaoying Gubd119a92009-10-21 08:21:00 +000059 </target>
60
61 <!-- ===================================================================== -->
62 <!-- Steps to do after the target build.jars -->
63 <!-- Available parameters : -->
64 <!-- build.result.folder - folder to contain the build results -->
65 <!-- ===================================================================== -->
66 <target name="post.build.jars">
67
68 </target>
69
70 <!-- ===================================================================== -->
71 <!-- Steps to do before the target build.sources -->
72 <!-- Available parameters : -->
73 <!-- build.result.folder - folder to contain the build results -->
74 <!-- ===================================================================== -->
75 <target name="pre.build.sources">
76
77 </target>
78
79 <!-- ===================================================================== -->
80 <!-- Steps to do after the target build.sources -->
81 <!-- Available parameters : -->
82 <!-- build.result.folder - folder to contain the build results -->
83 <!-- ===================================================================== -->
84 <target name="post.build.sources">
85
86 </target>
87
88 <!-- ===================================================================== -->
89 <!-- Steps to do before the compilation target <name> -->
90 <!-- Substitute "name" with the name of the compilation target, eg @dot -->
91 <!-- Available parameters : -->
92 <!-- source.foldern : n = 1 ... N, the source folders -->
93 <!-- target.folder : where the results of the compilation go -->
94 <!-- <name>.classpath : name = name of the compilation target. A -->
95 <!-- reference to the classpath structure. -->
96 <!-- ===================================================================== -->
97 <target name="pre.name">
98 </target>
99
100 <target name="pre.@dot">
101 </target>
102
103 <!-- ===================================================================== -->
104 <!-- Steps to do during the compilation target <name>, after the compile -->
105 <!-- but before jaring. Substitute "name" with the name of the compilation-->
106 <!-- target, eg @dot -->
107 <!-- Available parameters : -->
108 <!-- source.foldern : n = 1 ... N, the source folders -->
109 <!-- target.folder : where the results of the compilation go -->
110 <!-- <name>.classpath : name = name of the compilation target. A -->
111 <!-- reference to the classpath structure. -->
112 <!-- ===================================================================== -->
113 <target name="post.compile.name">
114 </target>
115
116 <target name="post.compile.@dot">
117 </target>
118
119 <!-- ===================================================================== -->
120 <!-- Steps to do after the compilation target <name> -->
121 <!-- Substitute "name" with the name of the compilation target, eg @dot -->
122 <!-- Available parameters : -->
123 <!-- jar.location - the location of the compilation results -->
124 <!-- <name>.classpath : name = name of the compilation target. A -->
125 <!-- reference to the classpath structure. -->
126 <!-- ===================================================================== -->
127 <target name="post.name">
128 </target>
129
130 <target name="post.@dot">
131 </target>
132
133 <!-- ===================================================================== -->
134 <!-- Steps to do before the target gather.bin.parts -->
135 <!-- Available parameters : -->
136 <!-- build.result.folder - folder containing the build results -->
137 <!-- target.folder - destination folder -->
138 <!-- ===================================================================== -->
139 <target name="pre.gather.bin.parts">
140
141
142 </target>
143
144 <!-- ===================================================================== -->
145 <!-- Steps to do after the target gather.bin.parts -->
146 <!-- Available parameters : -->
147 <!-- build.result.folder - folder containing the build results -->
148 <!-- target.folder - destination folder -->
149 <!-- ===================================================================== -->
150 <target name="post.gather.bin.parts">
151 </target>
152
153 <!-- ===================================================================== -->
154 <!-- Steps to do before the target gather.sources -->
155 <!-- Available parameters : -->
156 <!-- destination.temp.folder - destination folder -->
157 <!-- ===================================================================== -->
158 <target name="pre.gather.sources">
159 </target>
160
161 <!-- ===================================================================== -->
162 <!-- Steps to do after the target gather.sources -->
163 <!-- Available parameters : -->
164 <!-- destination.temp.folder - destination folder -->
165 <!-- ===================================================================== -->
166 <target name="post.gather.sources">
167 </target>
168
169 <!-- ===================================================================== -->
170 <!-- Steps to do before the target gather.logs -->
171 <!-- Available parameters : -->
172 <!-- destination.temp.folder - destination folder -->
173 <!-- ===================================================================== -->
174 <target name="pre.gather.logs">
175 </target>
176
177 <!-- ===================================================================== -->
178 <!-- Steps to do after the target gather.logs -->
179 <!-- Available parameters : -->
180 <!-- destination.temp.folder - destination folder -->
181 <!-- ===================================================================== -->
182 <target name="post.gather.logs">
183 </target>
184
185 <!-- ===================================================================== -->
186 <!-- Steps to do before the target clean -->
187 <!-- Available parameters : -->
188 <!-- destination.temp.folder - destination folder -->
189 <!-- ===================================================================== -->
190 <target name="pre.clean">
191 </target>
192
193 <!-- ===================================================================== -->
194 <!-- Steps to do after the target clean -->
195 <!-- Available parameters : -->
196 <!-- plugin.destination - final destination of the build -->
197 <!-- build.result.folder - results of the compilation -->
198 <!-- temp.folder - temporary folder -->
199 <!-- ===================================================================== -->
200 <target name="post.clean">
201 </target>
202</project>