build.xml
changeset 5618 277ab38775ac
parent 5617 e8ba7fe80521
child 5624 9f8fa491a5ff
equal deleted inserted replaced
5617:e8ba7fe80521 5618:277ab38775ac
   199   
   199   
   200   <macrodef name="updatesystemstatus">
   200   <macrodef name="updatesystemstatus">
   201      <attribute name="v" default="NOT SET"/>
   201      <attribute name="v" default="NOT SET"/>
   202      <sequential>
   202      <sequential>
   203        <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
   203        <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
   204                           <classpath> <fileset dir="${base.lib}"> <include name="**/*.jar"> </include> </fileset> </classpath>
   204          <classpath> <fileset dir="${base.lib}"> <include name="**/*.jar"> </include> </fileset> </classpath>
   205                           <transaction> UPDATE ad_system_info SET system_status='@{v}' ;
   205          <transaction> UPDATE ad_system_info SET system_status='@{v}' ;
   206                             DELETE FROM ad_error_log where system_status=(select system_status from ad_system_info)</transaction>
   206                        DELETE FROM ad_error_log where system_status=(select system_status from ad_system_info)
       
   207          </transaction>
   207        </sql>
   208        </sql>
   208      </sequential>
   209      </sequential>
   209   </macrodef>
   210   </macrodef>
   210   
   211   
   211   <taskdef resource="axis-tasks.properties" classpathref="project.class.path" />
   212   <taskdef resource="axis-tasks.properties" classpathref="project.class.path" />