build.xml
changeset 7520 896cbca4578c
parent 7519 432ccd399d73
child 7523 647c337ada59
equal deleted inserted replaced
7519:432ccd399d73 7520:896cbca4578c
   328   <target name="compile" depends="init">
   328   <target name="compile" depends="init">
   329     <ant dir="${base.src}" target="compile" inheritAll="true" inheritRefs="true" />
   329     <ant dir="${base.src}" target="compile" inheritAll="true" inheritRefs="true" />
   330   </target>
   330   </target>
   331 
   331 
   332   <target name="buildvalidation" depends="init, core.lib">
   332   <target name="buildvalidation" depends="init, core.lib">
       
   333     <updatesystemstatus v="RB10"/> 
   333     <ant dir="src-util/buildvalidation" target="buildvalidation" inheritAll="true" inheritRefs="true" />
   334     <ant dir="src-util/buildvalidation" target="buildvalidation" inheritAll="true" inheritRefs="true" />
   334   </target>
   335   </target>
   335   
   336   
   336   <target name="compile.buildvalidation" depends="init, core.lib">
   337   <target name="compile.buildvalidation" depends="init, core.lib">
   337     <ant dir="src-util/buildvalidation" target="compile" inheritAll="true" inheritRefs="true" />
   338     <ant dir="src-util/buildvalidation" target="compile" inheritAll="true" inheritRefs="true" />
   592     <ant dir="${base.db}" antfile="build-create.xml" target="create.database" inheritAll="true" inheritRefs="true" />
   593     <ant dir="${base.db}" antfile="build-create.xml" target="create.database" inheritAll="true" inheritRefs="true" />
   593     <antcall target="db.apply.modules.sampledata" />
   594     <antcall target="db.apply.modules.sampledata" />
   594   </target>
   595   </target>
   595 
   596 
   596   <target name="update.database" depends="init, core.lib, database.lib, buildvalidation">
   597   <target name="update.database" depends="init, core.lib, database.lib, buildvalidation">
       
   598     <updatesystemstatus v="RB21"/>
   597     <ant dir="${base.db}" target="update.database.java" inheritAll="true" inheritRefs="true" />
   599     <ant dir="${base.db}" target="update.database.java" inheritAll="true" inheritRefs="true" />
       
   600     <antcall target="generate.entities.quick" />
       
   601   </target>
       
   602 
       
   603   <target name="update.database.mod" depends="init, core.lib, database.lib, buildvalidation">
   598     <updatesystemstatus v="RB21"/>
   604     <updatesystemstatus v="RB21"/>
   599     <antcall target="generate.entities.quick" />
       
   600   </target>
       
   601 
       
   602   <target name="update.database.mod" depends="init, core.lib, database.lib, buildvalidation">
       
   603     <ant dir="${base.db}" target="update.database.mod.java" inheritAll="true" inheritRefs="true" />
   605     <ant dir="${base.db}" target="update.database.mod.java" inheritAll="true" inheritRefs="true" />
   604   </target>
   606   </target>
   605 
   607 
   606   <target name="create.database.script" depends="init, core.lib">
   608   <target name="create.database.script" depends="init, core.lib">
   607     <ant dir="${base.db}" target="create.database.script" inheritAll="true" inheritRefs="true" />
   609     <ant dir="${base.db}" target="create.database.script" inheritAll="true" inheritRefs="true" />
   630     <antcall target="load.logoimages" />
   632     <antcall target="load.logoimages" />
   631   </target>
   633   </target>
   632 
   634 
   633 
   635 
   634   <target name="apply.modules" depends="update.database.mod">
   636   <target name="apply.modules" depends="update.database.mod">
   635     <updatesystemstatus v="RB21"/>
       
   636 
       
   637     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
       
   638 
   637 
   639     <condition property="apply.modules.complete.compilation.var">
   638     <condition property="apply.modules.complete.compilation.var">
   640       <istrue value="${apply.modules.complete.compilation}"  />
   639       <istrue value="${apply.modules.complete.compilation}"  />
   641     </condition>
   640     </condition>
   642     
   641     
   643     <condition property="apply.modules.simple.compilation.var">
   642     <condition property="apply.modules.simple.compilation.var">
   644       <isfalse value="${apply.modules.complete.compilation.var}" />
   643       <isfalse value="${apply.modules.complete.compilation.var}" />
   645     </condition>
   644     </condition>
   646     
   645 
       
   646     <updatesystemstatus v="RB22"/>
   647     <antcall target="apply.modules.compile"/>
   647     <antcall target="apply.modules.compile"/>
       
   648 
       
   649     <updatesystemstatus v="RB23"/>
       
   650     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
   648     <ant dir="${base.db}" target="setApplied" inheritAll="true" inheritRefs="true" />
   651     <ant dir="${base.db}" target="setApplied" inheritAll="true" inheritRefs="true" />
   649      
   652 
       
   653     <updatesystemstatus v="RB31"/> 
       
   654       <updatesystemstatus v="RB32"/> 
   650   </target>
   655   </target>
   651   
   656   
   652   <target name="apply.module.forked">
   657   <target name="apply.module.forked">
   653     <!-- 
   658     <!-- 
   654     Note: set reinitializeModel to false because otherwise the dal is re-initialized with classes and a model
   659     Note: set reinitializeModel to false because otherwise the dal is re-initialized with classes and a model