build.xml
changeset 5219 71f86f731b8a
parent 5216 2685893c3239
child 5256 7bffda1b57ed
equal deleted inserted replaced
5218:98441eb82542 5219:71f86f731b8a
   208     </fileset>
   208     </fileset>
   209   </path>
   209   </path>
   210 
   210 
   211   <taskdef resource="axis-tasks.properties" classpathref="project.class.path" />
   211   <taskdef resource="axis-tasks.properties" classpathref="project.class.path" />
   212   
   212   
   213   <taskdef name="CheckSumCondition" classname="org.openbravo.utils.CheckSumCondition">
       
   214     <classpath refid="project.class.path" />
       
   215   </taskdef>
       
   216 
       
   217   <target name="init" depends="code.rev">
   213   <target name="init" depends="code.rev">
   218     <fail if="no.java.home" message="The environment variable JAVA_HOME is not set." />
   214     <fail if="no.java.home" message="The environment variable JAVA_HOME is not set." />
   219   </target>
   215   </target>
   220 
   216 
   221   <target name="code.rev" depends="set.code.rev">
   217   <target name="code.rev" depends="set.code.rev">
   247     </condition>
   243     </condition>
   248     <antcall target="update.database.if.no.local" />
   244     <antcall target="update.database.if.no.local" />
   249     
   245     
   250     <antcall target="wad.lib" />
   246     <antcall target="wad.lib" />
   251     
   247     
       
   248     <taskdef name="CheckSumCondition" classname="org.openbravo.utils.CheckSumCondition">
       
   249       <classpath refid="project.class.path" />
       
   250     </taskdef>
       
   251     
   252     <CheckSumCondition obDir="${basedir}"
   252     <CheckSumCondition obDir="${basedir}"
   253                        type="md5.wad"
   253                        type="md5.wad"
   254                        property="test.md5.wad"/>
   254                        property="test.md5.wad"/>
   255 
   255 
   256     <condition property="new.wad">
   256     <condition property="new.wad">
   301   <target name="compile.complete.deploy">
   301   <target name="compile.complete.deploy">
   302     <antcall target="compile.complete.development" />
   302     <antcall target="compile.complete.development" />
   303     <antcall target="compile.complete.war" />
   303     <antcall target="compile.complete.war" />
   304     
   304     
   305     <!-- Calculate wad checksum to enable smartbuild-->
   305     <!-- Calculate wad checksum to enable smartbuild-->
       
   306     <taskdef name="CheckSumCondition" classname="org.openbravo.utils.CheckSumCondition">
       
   307       <classpath refid="project.class.path" />
       
   308     </taskdef>
       
   309     
   306     <CheckSumCondition obDir="${basedir}"
   310     <CheckSumCondition obDir="${basedir}"
   307                            type="md5.wad"
   311                            type="md5.wad"
   308                            property="test.md5.wad"/>
   312                            property="test.md5.wad"/>
   309   </target>
   313   </target>
   310 
   314