Xiaoying Gu | 682da49 | 2009-10-21 09:19:27 +0000 | [diff] [blame] | 1 | <!-- ===================================================================== --> |
| 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"/> |
Xiaoying Gu | 9f11ff1 | 2010-01-15 07:54:21 +0000 | [diff] [blame] | 54 | <copy todir="."> |
Xiaoying Gu | 1984c66 | 2009-10-29 04:53:15 +0000 | [diff] [blame] | 55 | <fileset dir="src" includes="org/**"/> |
Xiaoying Gu | 9f11ff1 | 2010-01-15 07:54:21 +0000 | [diff] [blame] | 56 | </copy> |
Xiaoying Gu | 1984c66 | 2009-10-29 04:53:15 +0000 | [diff] [blame] | 57 | |
Xiaoying Gu | 682da49 | 2009-10-21 09:19:27 +0000 | [diff] [blame] | 58 | </target> |
| 59 | |
| 60 | <!-- ===================================================================== --> |
| 61 | <!-- Steps to do after the target build.jars --> |
| 62 | <!-- Available parameters : --> |
| 63 | <!-- build.result.folder - folder to contain the build results --> |
| 64 | <!-- ===================================================================== --> |
| 65 | <target name="post.build.jars"> |
| 66 | |
| 67 | </target> |
| 68 | |
| 69 | <!-- ===================================================================== --> |
| 70 | <!-- Steps to do before the target build.sources --> |
| 71 | <!-- Available parameters : --> |
| 72 | <!-- build.result.folder - folder to contain the build results --> |
| 73 | <!-- ===================================================================== --> |
| 74 | <target name="pre.build.sources"> |
| 75 | |
| 76 | </target> |
| 77 | |
| 78 | <!-- ===================================================================== --> |
| 79 | <!-- Steps to do after the target build.sources --> |
| 80 | <!-- Available parameters : --> |
| 81 | <!-- build.result.folder - folder to contain the build results --> |
| 82 | <!-- ===================================================================== --> |
| 83 | <target name="post.build.sources"> |
| 84 | |
| 85 | </target> |
| 86 | |
| 87 | <!-- ===================================================================== --> |
| 88 | <!-- Steps to do before the compilation target <name> --> |
| 89 | <!-- Substitute "name" with the name of the compilation target, eg @dot --> |
| 90 | <!-- Available parameters : --> |
| 91 | <!-- source.foldern : n = 1 ... N, the source folders --> |
| 92 | <!-- target.folder : where the results of the compilation go --> |
| 93 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 94 | <!-- reference to the classpath structure. --> |
| 95 | <!-- ===================================================================== --> |
| 96 | <target name="pre.name"> |
| 97 | </target> |
| 98 | |
| 99 | <target name="pre.@dot"> |
| 100 | </target> |
| 101 | |
| 102 | <!-- ===================================================================== --> |
| 103 | <!-- Steps to do during the compilation target <name>, after the compile --> |
| 104 | <!-- but before jaring. Substitute "name" with the name of the compilation--> |
| 105 | <!-- target, eg @dot --> |
| 106 | <!-- Available parameters : --> |
| 107 | <!-- source.foldern : n = 1 ... N, the source folders --> |
| 108 | <!-- target.folder : where the results of the compilation go --> |
| 109 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 110 | <!-- reference to the classpath structure. --> |
| 111 | <!-- ===================================================================== --> |
| 112 | <target name="post.compile.name"> |
| 113 | </target> |
| 114 | |
| 115 | <target name="post.compile.@dot"> |
| 116 | </target> |
| 117 | |
| 118 | <!-- ===================================================================== --> |
| 119 | <!-- Steps to do after the compilation target <name> --> |
| 120 | <!-- Substitute "name" with the name of the compilation target, eg @dot --> |
| 121 | <!-- Available parameters : --> |
| 122 | <!-- jar.location - the location of the compilation results --> |
| 123 | <!-- <name>.classpath : name = name of the compilation target. A --> |
| 124 | <!-- reference to the classpath structure. --> |
| 125 | <!-- ===================================================================== --> |
| 126 | <target name="post.name"> |
| 127 | </target> |
| 128 | |
| 129 | <target name="post.@dot"> |
| 130 | </target> |
| 131 | |
| 132 | <!-- ===================================================================== --> |
| 133 | <!-- Steps to do before the target gather.bin.parts --> |
| 134 | <!-- Available parameters : --> |
| 135 | <!-- build.result.folder - folder containing the build results --> |
| 136 | <!-- target.folder - destination folder --> |
| 137 | <!-- ===================================================================== --> |
| 138 | <target name="pre.gather.bin.parts"> |
| 139 | |
| 140 | |
| 141 | </target> |
| 142 | |
| 143 | <!-- ===================================================================== --> |
| 144 | <!-- Steps to do after the target gather.bin.parts --> |
| 145 | <!-- Available parameters : --> |
| 146 | <!-- build.result.folder - folder containing the build results --> |
| 147 | <!-- target.folder - destination folder --> |
| 148 | <!-- ===================================================================== --> |
| 149 | <target name="post.gather.bin.parts"> |
| 150 | </target> |
| 151 | |
| 152 | <!-- ===================================================================== --> |
| 153 | <!-- Steps to do before the target gather.sources --> |
| 154 | <!-- Available parameters : --> |
| 155 | <!-- destination.temp.folder - destination folder --> |
| 156 | <!-- ===================================================================== --> |
| 157 | <target name="pre.gather.sources"> |
| 158 | </target> |
| 159 | |
| 160 | <!-- ===================================================================== --> |
| 161 | <!-- Steps to do after the target gather.sources --> |
| 162 | <!-- Available parameters : --> |
| 163 | <!-- destination.temp.folder - destination folder --> |
| 164 | <!-- ===================================================================== --> |
| 165 | <target name="post.gather.sources"> |
| 166 | </target> |
| 167 | |
| 168 | <!-- ===================================================================== --> |
| 169 | <!-- Steps to do before the target gather.logs --> |
| 170 | <!-- Available parameters : --> |
| 171 | <!-- destination.temp.folder - destination folder --> |
| 172 | <!-- ===================================================================== --> |
| 173 | <target name="pre.gather.logs"> |
| 174 | </target> |
| 175 | |
| 176 | <!-- ===================================================================== --> |
| 177 | <!-- Steps to do after the target gather.logs --> |
| 178 | <!-- Available parameters : --> |
| 179 | <!-- destination.temp.folder - destination folder --> |
| 180 | <!-- ===================================================================== --> |
| 181 | <target name="post.gather.logs"> |
| 182 | </target> |
| 183 | |
| 184 | <!-- ===================================================================== --> |
| 185 | <!-- Steps to do before the target clean --> |
| 186 | <!-- Available parameters : --> |
| 187 | <!-- destination.temp.folder - destination folder --> |
| 188 | <!-- ===================================================================== --> |
| 189 | <target name="pre.clean"> |
| 190 | </target> |
| 191 | |
| 192 | <!-- ===================================================================== --> |
| 193 | <!-- Steps to do after the target clean --> |
| 194 | <!-- Available parameters : --> |
| 195 | <!-- plugin.destination - final destination of the build --> |
| 196 | <!-- build.result.folder - results of the compilation --> |
| 197 | <!-- temp.folder - temporary folder --> |
| 198 | <!-- ===================================================================== --> |
| 199 | <target name="post.clean"> |
| 200 | </target> |
| 201 | </project> |