build.xml
changeset 4288 1d9ad040a512
parent 4287 d3aa261a64fc
child 4845 526ac9cd1d93
equal deleted inserted replaced
4287:d3aa261a64fc 4288:1d9ad040a512
   232 
   232 
   233   <target name="smartbuild" depends="init">
   233   <target name="smartbuild" depends="init">
   234     <property name="smart.mode" value="true" />
   234     <property name="smart.mode" value="true" />
   235     <property name="onlyIfModified" value="true" />
   235     <property name="onlyIfModified" value="true" />
   236     <antcall target="core.lib" />
   236     <antcall target="core.lib" />
       
   237     
       
   238     <condition property="no.local">
       
   239       <not>
       
   240         <istrue value="${local}" />
       
   241       </not>
       
   242     </condition>
       
   243     <antcall target="update.database.if.no.local" />
       
   244     
   237     <antcall target="wad.lib" />
   245     <antcall target="wad.lib" />
   238 
   246 
   239     <checksum file="${base.src.wad}/lib/openbravo-wad.jar" algorithm="MD5" property="test.md5.wad" />
   247     <checksum file="${base.src.wad}/lib/openbravo-wad.jar" algorithm="MD5" property="test.md5.wad" />
   240 
   248 
   241     <condition property="new.wad">
   249     <condition property="new.wad">
   243         <equals arg1="${test.md5.wad}" arg2="${md5.wad}" />
   251         <equals arg1="${test.md5.wad}" arg2="${md5.wad}" />
   244       </not>
   252       </not>
   245     </condition>
   253     </condition>
   246 
   254 
   247     <antcall target="trl.lib" />
   255     <antcall target="trl.lib" />
   248 
   256     
   249 
       
   250     <condition property="no.local">
       
   251       <not>
       
   252         <istrue value="${local}" />
       
   253       </not>
       
   254     </condition>
       
   255     <antcall target="update.database.if.no.local" />
       
   256     <antcall inheritall="true" inheritrefs="true" target="generate.entities.quick" />
   257     <antcall inheritall="true" inheritrefs="true" target="generate.entities.quick" />
   257 
   258 
   258     <ant dir="${base.src}" target="smartbuild" inheritAll="true" inheritRefs="true" />
   259     <ant dir="${base.src}" target="smartbuild" inheritAll="true" inheritRefs="true" />
   259 
   260 
   260     <antcall target="build.deploy" />
   261     <antcall target="build.deploy" />