Changeset 1476
- Timestamp:
- 08/29/08 15:07:18 (3 years ago)
- Files:
-
- jmatter-complet/branches/RM-JIBX/AppBrowser/build.xml (modified) (9 diffs)
- jmatter-complet/branches/RM-JIBX/demo-apps/ContactMgr/build.xml (modified) (6 diffs)
- jmatter-complet/branches/RM-JIBX/demo-apps/CustomUI/build.xml (modified) (7 diffs)
- jmatter-complet/branches/RM-JIBX/demo-apps/IssueMgr/build.xml (modified) (7 diffs)
- jmatter-complet/branches/RM-JIBX/demo-apps/MovieLib/build.xml (modified) (7 diffs)
- jmatter-complet/branches/RM-JIBX/demo-apps/MyTunes/build.xml (modified) (8 diffs)
- jmatter-complet/branches/RM-JIBX/demo-apps/Self/build.xml (modified) (7 diffs)
- jmatter-complet/branches/RM-JIBX/test-app/build.xml (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
jmatter-complet/branches/RM-JIBX/AppBrowser/build.xml
r1420 r1476 100 100 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 101 101 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 102 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />102 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 103 103 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 104 104 </copy> … … 110 110 111 111 <target name="compile-framework"> 112 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />112 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 113 113 </target> 114 114 … … 158 158 <target name="schema-x" depends="genhbm"> 159 159 <echo message="performing a schema ${arg}" /> 160 <java fork="true" classpathref="class.path" 160 <java fork="true" classpathref="class.path" failonerror="true" 161 161 classname="com.u2d.persist.HibernatePersistor"> 162 162 <arg value="${arg}" /> … … 184 184 </target> 185 185 186 <target name="genhbm" depends=" bind" description="generate hbm.xml files">186 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 187 187 <java classpathref="class.path" dir="${build.classes.dir}" 188 188 fork="true" classname="com.u2d.persist.HBMGenerator" /> 189 189 </target> 190 190 191 192 <!-- JiBX - related -->193 194 <!-- JiBX binding compiler task definition -->195 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">196 <classpath>197 <pathelement location="${lib.tools.dir}/bcel.jar" />198 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />199 <pathelement location="${lib.dir}/jibx-run.jar" />200 <pathelement location="${lib.dir}/xpp3.jar" />201 </classpath>202 </taskdef>203 204 <!-- Run JiBX binding compiler -->205 <target name="bind" depends="compile" description="run JiBX binding compiler">206 <!-- turn this off; if there's nothing to bind jibx will instead thrown an207 error; when need to write jibx binding files for new types, uncomment this.208 <bind binding="resources/binding.xml">209 <classpathset dir="${build.classes.dir}" />210 <classpathset dir="${lib.dir}/jmatter.jar" />211 <classpathset dir="${lib.dir}/hibernate3.jar" />212 <classpathset dir="${lib.dir}/jibx-run.jar" />213 </bind> -->214 </target>215 191 216 192 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 246 222 </target> 247 223 248 <target name="find-drvname">249 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"250 classpathref="libtools.path" />251 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>252 <echo message="jdbcdrivername is ${jdbcdrivername}" />253 </target>224 <target name="find-drvname"> 225 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 226 classpathref="libtools.path" /> 227 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 228 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 229 </target> 254 230 255 231 <target name="copylibs" depends="find-drvname"> … … 258 234 <copy todir="${target.dir}" flatten="true"> 259 235 <fileset dir="${lib.dir}" 260 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />236 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 261 237 <fileset dir="${lib.dir}" 262 238 includes="jdbc/${jdbcdrivername}" /> … … 279 255 </target> 280 256 281 282 257 <!-- targets pertaining to junit testing --> 283 258 … … 302 277 </target> 303 278 304 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">279 <target name="run-a-test" depends="compile-tests" description="run a test"> 305 280 <junit fork="true" haltonfailure="true" printsummary="true"> 306 281 <classpath refid="test.classpath" /> … … 312 287 </target> 313 288 314 <target name="run-test" description="run a test class" depends="compile-tests ,bind">289 <target name="run-test" description="run a test class" depends="compile-tests"> 315 290 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 316 291 </target> jmatter-complet/branches/RM-JIBX/demo-apps/ContactMgr/build.xml
r1419 r1476 98 98 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 99 99 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 100 <fileset dir="${src.dir}" includes="**/*.xml " />100 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 101 101 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 102 102 </copy> … … 108 108 109 109 <target name="compile-framework"> 110 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />110 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 111 111 </target> 112 112 … … 204 204 </target> 205 205 206 <target name="genhbm" depends=" bind" description="generate hbm.xml files">206 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 207 207 <java classpathref="class.path" dir="${build.classes.dir}" 208 208 fork="true" classname="com.u2d.persist.HBMGenerator" /> 209 209 </target> 210 210 211 212 <!-- JiBX - related -->213 214 <!-- JiBX binding compiler task definition -->215 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">216 <classpath>217 <pathelement location="${lib.tools.dir}/bcel.jar" />218 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />219 <pathelement location="${lib.dir}/jibx-run.jar" />220 <pathelement location="${lib.dir}/xpp3.jar" />221 </classpath>222 </taskdef>223 224 <!-- Run JiBX binding compiler -->225 <target name="bind" depends="compile" description="run JiBX binding compiler">226 <!-- turn this off; if there's nothing to bind jibx will instead thrown an227 error; when need to write jibx binding files for new types, uncomment this.228 <bind binding="resources/binding.xml">229 <classpathset dir="${build.classes.dir}" />230 <classpathset dir="${lib.dir}/jmatter.jar" />231 <classpathset dir="${lib.dir}/hibernate3.jar" />232 <classpathset dir="${lib.dir}/jibx-run.jar" />233 </bind> -->234 </target>235 211 236 212 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 278 254 <copy todir="${target.dir}" flatten="true"> 279 255 <fileset dir="${lib.dir}" 280 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />256 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 281 257 <fileset dir="${lib.dir}" 282 258 includes="jdbc/${jdbcdrivername}" /> … … 321 297 </target> 322 298 323 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">299 <target name="run-a-test" depends="compile-tests" description="run a test"> 324 300 <junit fork="true" haltonfailure="true" printsummary="true"> 325 301 <classpath refid="test.classpath" /> … … 331 307 </target> 332 308 333 <target name="run-test" description="run a test class" depends="compile-tests ,bind">309 <target name="run-test" description="run a test class" depends="compile-tests"> 334 310 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 335 311 </target> jmatter-complet/branches/RM-JIBX/demo-apps/CustomUI/build.xml
r1419 r1476 88 88 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 89 89 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 91 91 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 92 92 </copy> … … 98 98 99 99 <target name="compile-framework"> 100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 101 101 </target> 102 102 … … 171 171 </target> 172 172 173 <target name="genhbm" depends=" bind" description="generate hbm.xml files">173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 174 174 <java classpathref="class.path" dir="${build.classes.dir}" 175 175 fork="true" classname="com.u2d.persist.HBMGenerator" /> 176 176 </target> 177 177 178 179 <!-- JiBX - related -->180 181 <!-- JiBX binding compiler task definition -->182 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">183 <classpath>184 <pathelement location="${lib.tools.dir}/bcel.jar" />185 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />186 <pathelement location="${lib.dir}/jibx-run.jar" />187 <pathelement location="${lib.dir}/xpp3.jar" />188 </classpath>189 </taskdef>190 191 <!-- Run JiBX binding compiler -->192 <target name="bind" depends="compile" description="run JiBX binding compiler">193 <!-- turn this off; if there's nothing to bind jibx will instead thrown an194 error; when need to write jibx binding files for new types, uncomment this.195 <bind binding="resources/binding.xml">196 <classpathset dir="${build.classes.dir}" />197 <classpathset dir="${lib.dir}/jmatter.jar" />198 <classpathset dir="${lib.dir}/hibernate3.jar" />199 <classpathset dir="${lib.dir}/jibx-run.jar" />200 </bind> -->201 </target>202 178 203 179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 233 209 </target> 234 210 235 <target name="find-drvname">236 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"237 classpathref="libtools.path" />238 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>239 <echo message="jdbcdrivername is ${jdbcdrivername}" />240 </target>211 <target name="find-drvname"> 212 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 213 classpathref="libtools.path" /> 214 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 215 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 216 </target> 241 217 242 218 <target name="copylibs" depends="find-drvname"> … … 245 221 <copy todir="${target.dir}" flatten="true"> 246 222 <fileset dir="${lib.dir}" 247 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />223 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 248 224 <fileset dir="${lib.dir}" 249 225 includes="jdbc/${jdbcdrivername}" /> … … 273 249 </target> 274 250 275 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">251 <target name="run-a-test" depends="compile-tests" description="run a test"> 276 252 <junit fork="true" haltonfailure="true" printsummary="true"> 277 253 <classpath refid="test.classpath" /> … … 283 259 </target> 284 260 285 <target name="run-test" description="run a test class" depends="compile-tests ,bind">261 <target name="run-test" description="run a test class" depends="compile-tests"> 286 262 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 287 263 </target> jmatter-complet/branches/RM-JIBX/demo-apps/IssueMgr/build.xml
r1419 r1476 88 88 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 89 89 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 91 91 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 92 92 </copy> … … 98 98 99 99 <target name="compile-framework"> 100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 101 101 </target> 102 102 … … 171 171 </target> 172 172 173 <target name="genhbm" depends=" bind" description="generate hbm.xml files">173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 174 174 <java classpathref="class.path" dir="${build.classes.dir}" 175 175 fork="true" classname="com.u2d.persist.HBMGenerator" /> 176 176 </target> 177 177 178 179 <!-- JiBX - related -->180 181 <!-- JiBX binding compiler task definition -->182 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">183 <classpath>184 <pathelement location="${lib.tools.dir}/bcel.jar" />185 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />186 <pathelement location="${lib.dir}/jibx-run.jar" />187 <pathelement location="${lib.dir}/xpp3.jar" />188 </classpath>189 </taskdef>190 191 <!-- Run JiBX binding compiler -->192 <target name="bind" depends="compile" description="run JiBX binding compiler">193 <!-- turn this off; if there's nothing to bind jibx will instead thrown an194 error; when need to write jibx binding files for new types, uncomment this.195 <bind binding="resources/binding.xml">196 <classpathset dir="${build.classes.dir}" />197 <classpathset dir="${lib.dir}/jmatter.jar" />198 <classpathset dir="${lib.dir}/hibernate3.jar" />199 <classpathset dir="${lib.dir}/jibx-run.jar" />200 </bind> -->201 </target>202 178 203 179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 233 209 </target> 234 210 235 <target name="find-drvname">236 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"237 classpathref="libtools.path" />238 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>239 <echo message="jdbcdrivername is ${jdbcdrivername}" />240 </target>211 <target name="find-drvname"> 212 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 213 classpathref="libtools.path" /> 214 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 215 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 216 </target> 241 217 242 218 <target name="copylibs" depends="find-drvname"> … … 245 221 <copy todir="${target.dir}" flatten="true"> 246 222 <fileset dir="${lib.dir}" 247 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />223 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 248 224 <fileset dir="${lib.dir}" 249 225 includes="jdbc/${jdbcdrivername}" /> … … 273 249 </target> 274 250 275 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">251 <target name="run-a-test" depends="compile-tests" description="run a test"> 276 252 <junit fork="true" haltonfailure="true" printsummary="true"> 277 253 <classpath refid="test.classpath" /> … … 283 259 </target> 284 260 285 <target name="run-test" description="run a test class" depends="compile-tests ,bind">261 <target name="run-test" description="run a test class" depends="compile-tests"> 286 262 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 287 263 </target> jmatter-complet/branches/RM-JIBX/demo-apps/MovieLib/build.xml
r1419 r1476 88 88 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 89 89 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 91 91 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 92 92 </copy> … … 98 98 99 99 <target name="compile-framework"> 100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 101 101 </target> 102 102 … … 171 171 </target> 172 172 173 <target name="genhbm" depends=" bind" description="generate hbm.xml files">173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 174 174 <java classpathref="class.path" dir="${build.classes.dir}" 175 175 fork="true" classname="com.u2d.persist.HBMGenerator" /> 176 176 </target> 177 177 178 179 <!-- JiBX - related -->180 181 <!-- JiBX binding compiler task definition -->182 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">183 <classpath>184 <pathelement location="${lib.tools.dir}/bcel.jar" />185 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />186 <pathelement location="${lib.dir}/jibx-run.jar" />187 <pathelement location="${lib.dir}/xpp3.jar" />188 </classpath>189 </taskdef>190 191 <!-- Run JiBX binding compiler -->192 <target name="bind" depends="compile" description="run JiBX binding compiler">193 <!-- turn this off; if there's nothing to bind jibx will instead thrown an194 error; when need to write jibx binding files for new types, uncomment this.195 <bind binding="resources/binding.xml">196 <classpathset dir="${build.classes.dir}" />197 <classpathset dir="${lib.dir}/jmatter.jar" />198 <classpathset dir="${lib.dir}/hibernate3.jar" />199 <classpathset dir="${lib.dir}/jibx-run.jar" />200 </bind> -->201 </target>202 178 203 179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 233 209 </target> 234 210 235 <target name="find-drvname">236 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"237 classpathref="libtools.path" />238 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>239 <echo message="jdbcdrivername is ${jdbcdrivername}" />240 </target>211 <target name="find-drvname"> 212 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 213 classpathref="libtools.path" /> 214 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 215 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 216 </target> 241 217 242 218 <target name="copylibs" depends="find-drvname"> … … 245 221 <copy todir="${target.dir}" flatten="true"> 246 222 <fileset dir="${lib.dir}" 247 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />223 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 248 224 <fileset dir="${lib.dir}" 249 225 includes="jdbc/${jdbcdrivername}" /> … … 273 249 </target> 274 250 275 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">251 <target name="run-a-test" depends="compile-tests" description="run a test"> 276 252 <junit fork="true" haltonfailure="true" printsummary="true"> 277 253 <classpath refid="test.classpath" /> … … 283 259 </target> 284 260 285 <target name="run-test" description="run a test class" depends="compile-tests ,bind">261 <target name="run-test" description="run a test class" depends="compile-tests"> 286 262 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 287 263 </target> jmatter-complet/branches/RM-JIBX/demo-apps/MyTunes/build.xml
r1419 r1476 89 89 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 90 90 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 91 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />91 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 92 92 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 93 93 </copy> … … 99 99 100 100 <target name="compile-framework"> 101 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />101 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 102 102 </target> 103 103 … … 174 174 </target> 175 175 176 <target name="genhbm" depends=" bind" description="generate hbm.xml files">176 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 177 177 <java classpathref="class.path" dir="${build.classes.dir}" 178 178 fork="true" classname="com.u2d.persist.HBMGenerator" /> 179 179 </target> 180 180 181 182 <!-- JiBX - related -->183 184 <!-- JiBX binding compiler task definition -->185 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">186 <classpath>187 <pathelement location="${lib.tools.dir}/bcel.jar" />188 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />189 <pathelement location="${lib.dir}/jibx-run.jar" />190 <pathelement location="${lib.dir}/xpp3.jar" />191 </classpath>192 </taskdef>193 194 <!-- Run JiBX binding compiler -->195 <target name="bind" depends="compile" description="run JiBX binding compiler">196 <!-- turn this off; if there's nothing to bind jibx will instead thrown an197 error; when need to write jibx binding files for new types, uncomment this.198 <bind binding="resources/binding.xml">199 <classpathset dir="${build.classes.dir}" />200 <classpathset dir="${lib.dir}/jmatter.jar" />201 <classpathset dir="${lib.dir}/hibernate3.jar" />202 <classpathset dir="${lib.dir}/jibx-run.jar" />203 </bind> -->204 </target>205 181 206 182 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 236 212 </target> 237 213 238 <target name="find-drvname">239 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"240 classpathref="libtools.path" />241 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>242 <echo message="jdbcdrivername is ${jdbcdrivername}" />243 </target>214 <target name="find-drvname"> 215 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 216 classpathref="libtools.path" /> 217 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 218 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 219 </target> 244 220 245 221 <target name="copylibs" depends="find-drvname"> … … 248 224 <copy todir="${target.dir}" flatten="true"> 249 225 <fileset dir="${lib.dir}" 250 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />226 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 251 227 <fileset dir="${lib.dir}" 252 228 includes="jdbc/${jdbcdrivername}" /> … … 269 245 </target> 270 246 271 272 247 <!-- targets pertaining to junit testing --> 273 248 … … 292 267 </target> 293 268 294 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">269 <target name="run-a-test" depends="compile-tests" description="run a test"> 295 270 <junit fork="true" haltonfailure="true" printsummary="true"> 296 271 <classpath refid="test.classpath" /> … … 302 277 </target> 303 278 304 <target name="run-test" description="run a test class" depends="compile-tests ,bind">279 <target name="run-test" description="run a test class" depends="compile-tests"> 305 280 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 306 281 </target> jmatter-complet/branches/RM-JIBX/demo-apps/Self/build.xml
r1419 r1476 88 88 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 89 89 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />90 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 91 91 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 92 92 </copy> … … 98 98 99 99 <target name="compile-framework"> 100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />100 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 101 101 </target> 102 102 … … 171 171 </target> 172 172 173 <target name="genhbm" depends=" bind" description="generate hbm.xml files">173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 174 174 <java classpathref="class.path" dir="${build.classes.dir}" 175 175 fork="true" classname="com.u2d.persist.HBMGenerator" /> 176 176 </target> 177 177 178 179 <!-- JiBX - related -->180 181 <!-- JiBX binding compiler task definition -->182 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">183 <classpath>184 <pathelement location="${lib.tools.dir}/bcel.jar" />185 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />186 <pathelement location="${lib.dir}/jibx-run.jar" />187 <pathelement location="${lib.dir}/xpp3.jar" />188 </classpath>189 </taskdef>190 191 <!-- Run JiBX binding compiler -->192 <target name="bind" depends="compile" description="run JiBX binding compiler">193 <!-- turn this off; if there's nothing to bind jibx will instead thrown an194 error; when need to write jibx binding files for new types, uncomment this.195 <bind binding="resources/binding.xml">196 <classpathset dir="${build.classes.dir}" />197 <classpathset dir="${lib.dir}/jmatter.jar" />198 <classpathset dir="${lib.dir}/hibernate3.jar" />199 <classpathset dir="${lib.dir}/jibx-run.jar" />200 </bind> -->201 </target>202 178 203 179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 233 209 </target> 234 210 235 <target name="find-drvname">236 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"237 classpathref="libtools.path" />238 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>239 <echo message="jdbcdrivername is ${jdbcdrivername}" />240 </target>211 <target name="find-drvname"> 212 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 213 classpathref="libtools.path" /> 214 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 215 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 216 </target> 241 217 242 218 <target name="copylibs" depends="find-drvname"> … … 245 221 <copy todir="${target.dir}" flatten="true"> 246 222 <fileset dir="${lib.dir}" 247 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />223 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 248 224 <fileset dir="${lib.dir}" 249 225 includes="jdbc/${jdbcdrivername}" /> … … 273 249 </target> 274 250 275 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">251 <target name="run-a-test" depends="compile-tests" description="run a test"> 276 252 <junit fork="true" haltonfailure="true" printsummary="true"> 277 253 <classpath refid="test.classpath" /> … … 283 259 </target> 284 260 285 <target name="run-test" description="run a test class" depends="compile-tests ,bind">261 <target name="run-test" description="run a test class" depends="compile-tests"> 286 262 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 287 263 </target> jmatter-complet/branches/RM-JIBX/test-app/build.xml
r1420 r1476 85 85 <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 86 86 <!-- <fileset dir="resources" includes="log4j.properties" /> --> 87 <fileset dir="${src.dir}" includes="**/*.xml,**/*.j asper,**/*.jfrm" />87 <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 88 88 <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" /> <!-- any images referenced by jfree report xmls --> 89 89 </copy> … … 95 95 96 96 <target name="compile-framework"> 97 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target=" bind" />97 <ant antfile="${framework.dir}/build.xml" inheritAll="false" target="compile" /> 98 98 </target> 99 99 … … 139 139 <target name="schema-x" depends="genhbm"> 140 140 <echo message="performing a schema ${arg}" /> 141 <java fork="true" classpathref="class.path" 141 <java fork="true" classpathref="class.path" failonerror="true" 142 142 classname="com.u2d.persist.HibernatePersistor"> 143 143 <arg value="${arg}" /> … … 158 158 </target> 159 159 160 <target name="genhbm" depends=" bind" description="generate hbm.xml files">160 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 161 161 <java classpathref="class.path" dir="${build.classes.dir}" 162 162 fork="true" classname="com.u2d.persist.HBMGenerator" /> 163 163 </target> 164 164 165 166 <!-- JiBX - related -->167 168 <!-- JiBX binding compiler task definition -->169 <taskdef name="bind" classname="org.jibx.binding.ant.CompileTask">170 <classpath>171 <pathelement location="${lib.tools.dir}/bcel.jar" />172 <pathelement location="${lib.tools.dir}/jibx-bind.jar" />173 <pathelement location="${lib.dir}/jibx-run.jar" />174 <pathelement location="${lib.dir}/xpp3.jar" />175 </classpath>176 </taskdef>177 178 <!-- Run JiBX binding compiler -->179 <target name="bind" depends="compile" description="run JiBX binding compiler">180 <!-- turn this off; if there's nothing to bind jibx will instead thrown an181 error; when need to write jibx binding files for new types, uncomment this.182 <bind binding="resources/binding.xml">183 <classpathset dir="${build.classes.dir}" />184 <classpathset dir="${lib.dir}/jmatter.jar" />185 <classpathset dir="${lib.dir}/hibernate3.jar" />186 <classpathset dir="${lib.dir}/jibx-run.jar" />187 </bind> -->188 </target>189 165 190 166 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> … … 209 185 props="resources/jws/dynamic/project.properties" 210 186 jarbasepath="${jws-dist.dir}" 211 excludejars=" ${jar.file}"187 excludejars="swingvm.jar" 212 188 tofile="${jws-dist.dir}/project.jnlp" /> 213 189 … … 220 196 </target> 221 197 222 <target name="find-drvname">223 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter"224 classpathref="libtools.path" />225 <jdbcdriversetter basepath="${lib.dir}/jdbc"/>226 <echo message="jdbcdrivername is ${jdbcdrivername}" />227 </target>198 <target name="find-drvname"> 199 <taskdef name="jdbcdriversetter" classname="com.u2d.tools.DriverPropertySetter" 200 classpathref="libtools.path" /> 201 <jdbcdriversetter basepath="${lib.dir}/jdbc"/> 202 <echo message="jdbcdrivername is ${jdbcdrivername}" /> 203 </target> 228 204 229 205 <target name="copylibs" depends="find-drvname"> … … 232 208 <copy todir="${target.dir}" flatten="true"> 233 209 <fileset dir="${lib.dir}" 234 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar, ${vmname}.jar,${vmname}/*.jar" />210 includes="*.jar,hb/*.jar,jfree/*.jar,spring/*.jar,jasper/*.jar,${vmname}.jar,${vmname}/*.jar" /> 235 211 <fileset dir="${lib.dir}" 236 212 includes="jdbc/${jdbcdrivername}" /> … … 260 236 </target> 261 237 262 <target name="run-a-test" depends="compile-tests ,bind" description="run a test">238 <target name="run-a-test" depends="compile-tests" description="run a test"> 263 239 <junit fork="true" haltonfailure="true" printsummary="true"> 264 240 <classpath refid="test.classpath" /> … … 270 246 </target> 271 247 272 <target name="run-test" description="run a test class" depends="compile-tests ,bind">248 <target name="run-test" description="run a test class" depends="compile-tests"> 273 249 <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 274 250 </target>
