Changeset 1476

Show
Ignore:
Timestamp:
08/29/08 15:07:18 (3 years ago)
Author:
eitan
Message:

oops, forgot to retrofit demo app build files (and appbrowser's)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • jmatter-complet/branches/RM-JIBX/AppBrowser/build.xml

    r1420 r1476  
    100100      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    101101      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    102       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     102      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    103103      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    104104   </copy> 
     
    110110  
    111111 <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" /> 
    113113 </target> 
    114114 
     
    158158 <target name="schema-x" depends="genhbm"> 
    159159    <echo message="performing a schema ${arg}" /> 
    160     <java fork="true" classpathref="class.path"  
     160    <java fork="true" classpathref="class.path" failonerror="true" 
    161161       classname="com.u2d.persist.HibernatePersistor"> 
    162162      <arg value="${arg}" /> 
     
    184184 </target> 
    185185  
    186  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     186 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    187187   <java classpathref="class.path" dir="${build.classes.dir}" 
    188188         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    189189 </target> 
    190190 
    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 an 
    207         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> 
    215191 
    216192 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    246222 </target> 
    247223    
    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> 
    254230    
    255231 <target name="copylibs" depends="find-drvname"> 
     
    258234    <copy todir="${target.dir}" flatten="true"> 
    259235       <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" /> 
    261237       <fileset dir="${lib.dir}" 
    262238                includes="jdbc/${jdbcdrivername}" /> 
     
    279255 </target> 
    280256 
    281  
    282257 <!-- targets pertaining to junit testing --> 
    283258 
     
    302277 </target> 
    303278 
    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"> 
    305280    <junit fork="true" haltonfailure="true" printsummary="true"> 
    306281       <classpath refid="test.classpath" /> 
     
    312287 </target> 
    313288 
    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"> 
    315290   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    316291 </target> 
  • jmatter-complet/branches/RM-JIBX/demo-apps/ContactMgr/build.xml

    r1419 r1476  
    9898      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    9999      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    100       <fileset dir="${src.dir}" includes="**/*.xml" /> 
     100      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    101101      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    102102   </copy> 
     
    108108  
    109109 <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" /> 
    111111 </target> 
    112112 
     
    204204 </target> 
    205205  
    206  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     206 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    207207   <java classpathref="class.path" dir="${build.classes.dir}" 
    208208         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    209209 </target> 
    210210 
    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 an 
    227         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> 
    235211 
    236212 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    278254    <copy todir="${target.dir}" flatten="true"> 
    279255       <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" /> 
    281257       <fileset dir="${lib.dir}" 
    282258                includes="jdbc/${jdbcdrivername}" /> 
     
    321297 </target> 
    322298 
    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"> 
    324300    <junit fork="true" haltonfailure="true" printsummary="true"> 
    325301       <classpath refid="test.classpath" /> 
     
    331307 </target> 
    332308 
    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"> 
    334310   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    335311 </target> 
  • jmatter-complet/branches/RM-JIBX/demo-apps/CustomUI/build.xml

    r1419 r1476  
    8888      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    8989      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    90       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     90      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    9191      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    9292   </copy> 
     
    9898  
    9999 <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" /> 
    101101 </target> 
    102102 
     
    171171 </target> 
    172172  
    173  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    174174   <java classpathref="class.path" dir="${build.classes.dir}" 
    175175         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    176176 </target> 
    177177 
    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 an 
    194         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> 
    202178 
    203179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    233209 </target> 
    234210    
    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> 
    241217    
    242218 <target name="copylibs" depends="find-drvname"> 
     
    245221    <copy todir="${target.dir}" flatten="true"> 
    246222       <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" /> 
    248224       <fileset dir="${lib.dir}" 
    249225                includes="jdbc/${jdbcdrivername}" /> 
     
    273249 </target> 
    274250 
    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"> 
    276252    <junit fork="true" haltonfailure="true" printsummary="true"> 
    277253       <classpath refid="test.classpath" /> 
     
    283259 </target> 
    284260 
    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"> 
    286262   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    287263 </target> 
  • jmatter-complet/branches/RM-JIBX/demo-apps/IssueMgr/build.xml

    r1419 r1476  
    8888      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    8989      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    90       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     90      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    9191      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    9292   </copy> 
     
    9898  
    9999 <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" /> 
    101101 </target> 
    102102 
     
    171171 </target> 
    172172  
    173  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    174174   <java classpathref="class.path" dir="${build.classes.dir}" 
    175175         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    176176 </target> 
    177177 
    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 an 
    194         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> 
    202178 
    203179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    233209 </target> 
    234210    
    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> 
    241217    
    242218 <target name="copylibs" depends="find-drvname"> 
     
    245221    <copy todir="${target.dir}" flatten="true"> 
    246222       <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" /> 
    248224       <fileset dir="${lib.dir}" 
    249225                includes="jdbc/${jdbcdrivername}" /> 
     
    273249 </target> 
    274250 
    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"> 
    276252    <junit fork="true" haltonfailure="true" printsummary="true"> 
    277253       <classpath refid="test.classpath" /> 
     
    283259 </target> 
    284260 
    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"> 
    286262   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    287263 </target> 
  • jmatter-complet/branches/RM-JIBX/demo-apps/MovieLib/build.xml

    r1419 r1476  
    8888      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    8989      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    90       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     90      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    9191      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    9292   </copy> 
     
    9898  
    9999 <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" /> 
    101101 </target> 
    102102 
     
    171171 </target> 
    172172  
    173  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    174174   <java classpathref="class.path" dir="${build.classes.dir}" 
    175175         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    176176 </target> 
    177177 
    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 an 
    194         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> 
    202178 
    203179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    233209 </target> 
    234210    
    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> 
    241217    
    242218 <target name="copylibs" depends="find-drvname"> 
     
    245221    <copy todir="${target.dir}" flatten="true"> 
    246222       <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" /> 
    248224       <fileset dir="${lib.dir}" 
    249225                includes="jdbc/${jdbcdrivername}" /> 
     
    273249 </target> 
    274250 
    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"> 
    276252    <junit fork="true" haltonfailure="true" printsummary="true"> 
    277253       <classpath refid="test.classpath" /> 
     
    283259 </target> 
    284260 
    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"> 
    286262   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    287263 </target> 
  • jmatter-complet/branches/RM-JIBX/demo-apps/MyTunes/build.xml

    r1419 r1476  
    8989      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    9090      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    91       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     91      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    9292      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    9393   </copy> 
     
    9999  
    100100 <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" /> 
    102102 </target> 
    103103 
     
    174174 </target> 
    175175  
    176  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     176 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    177177   <java classpathref="class.path" dir="${build.classes.dir}" 
    178178         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    179179 </target> 
    180180 
    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 an 
    197         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> 
    205181 
    206182 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    236212 </target> 
    237213    
    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> 
    244220    
    245221 <target name="copylibs" depends="find-drvname"> 
     
    248224    <copy todir="${target.dir}" flatten="true"> 
    249225       <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" /> 
    251227       <fileset dir="${lib.dir}" 
    252228                includes="jdbc/${jdbcdrivername}" /> 
     
    269245 </target> 
    270246 
    271  
    272247 <!-- targets pertaining to junit testing --> 
    273248 
     
    292267 </target> 
    293268 
    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"> 
    295270    <junit fork="true" haltonfailure="true" printsummary="true"> 
    296271       <classpath refid="test.classpath" /> 
     
    302277 </target> 
    303278 
    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"> 
    305280   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    306281 </target> 
  • jmatter-complet/branches/RM-JIBX/demo-apps/Self/build.xml

    r1419 r1476  
    8888      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    8989      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    90       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     90      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    9191      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    9292   </copy> 
     
    9898  
    9999 <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" /> 
    101101 </target> 
    102102 
     
    171171 </target> 
    172172  
    173  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     173 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    174174   <java classpathref="class.path" dir="${build.classes.dir}" 
    175175         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    176176 </target> 
    177177 
    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 an 
    194         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> 
    202178 
    203179 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    233209 </target> 
    234210    
    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> 
    241217    
    242218 <target name="copylibs" depends="find-drvname"> 
     
    245221    <copy todir="${target.dir}" flatten="true"> 
    246222       <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" /> 
    248224       <fileset dir="${lib.dir}" 
    249225                includes="jdbc/${jdbcdrivername}" /> 
     
    273249 </target> 
    274250 
    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"> 
    276252    <junit fork="true" haltonfailure="true" printsummary="true"> 
    277253       <classpath refid="test.classpath" /> 
     
    283259 </target> 
    284260 
    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"> 
    286262   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    287263 </target> 
  • jmatter-complet/branches/RM-JIBX/test-app/build.xml

    r1420 r1476  
    8585      <fileset dir="resources/data" includes="*.xml,*.json" /> <!-- codes files --> 
    8686      <!-- <fileset dir="resources" includes="log4j.properties" /> --> 
    87       <fileset dir="${src.dir}" includes="**/*.xml,**/*.jasper,**/*.jfrm" /> 
     87      <fileset dir="${src.dir}" includes="**/*.xml,**/*.json,**/*.jasper,**/*.jfrm" /> 
    8888      <fileset dir="${src.dir}" includes="**/*.gif,**/*.png" />  <!-- any images referenced by jfree report xmls --> 
    8989   </copy> 
     
    9595  
    9696 <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" /> 
    9898 </target> 
    9999 
     
    139139 <target name="schema-x" depends="genhbm"> 
    140140    <echo message="performing a schema ${arg}" /> 
    141     <java fork="true" classpathref="class.path"  
     141    <java fork="true" classpathref="class.path" failonerror="true" 
    142142       classname="com.u2d.persist.HibernatePersistor"> 
    143143      <arg value="${arg}" /> 
     
    158158 </target> 
    159159  
    160  <target name="genhbm" depends="bind" description="generate hbm.xml files"> 
     160 <target name="genhbm" depends="compile" description="generate hbm.xml files"> 
    161161   <java classpathref="class.path" dir="${build.classes.dir}" 
    162162         fork="true" classname="com.u2d.persist.HBMGenerator" /> 
    163163 </target> 
    164164 
    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 an 
    181         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> 
    189165 
    190166 <target name="hbm-practice" description="run hbm practice tool" depends="genhbm"> 
     
    209185              props="resources/jws/dynamic/project.properties" 
    210186              jarbasepath="${jws-dist.dir}" 
    211               excludejars="${jar.file}
     187              excludejars="swingvm.jar
    212188              tofile="${jws-dist.dir}/project.jnlp" /> 
    213189 
     
    220196 </target> 
    221197    
    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> 
    228204    
    229205 <target name="copylibs" depends="find-drvname"> 
     
    232208    <copy todir="${target.dir}" flatten="true"> 
    233209       <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" /> 
    235211       <fileset dir="${lib.dir}" 
    236212                includes="jdbc/${jdbcdrivername}" /> 
     
    260236 </target> 
    261237 
    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"> 
    263239    <junit fork="true" haltonfailure="true" printsummary="true"> 
    264240       <classpath refid="test.classpath" /> 
     
    270246 </target> 
    271247 
    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"> 
    273249   <java classname="${main.class}" classpathref="test.classpath" fork="true" /> 
    274250 </target>