build.xml
changeset 903 0ce6e1b8e53f
parent 879 520f6bbb86e3
child 905 40b6c5195307
equal deleted inserted replaced
902:303bf32bbcf2 903:0ce6e1b8e53f
   134       <filterreader classname="org.apache.tools.ant.filters.HeadFilter">
   134       <filterreader classname="org.apache.tools.ant.filters.HeadFilter">
   135         <param name="skip" value="3"/>
   135         <param name="skip" value="3"/>
   136         <param name="lines" value="1"/>
   136         <param name="lines" value="1"/>
   137       </filterreader>
   137       </filterreader>
   138     </filterchain>
   138     </filterchain>
       
   139   	<filterchain>
       
   140       <filterreader classname="org.apache.tools.ant.filters.StripLineBreaks" />
       
   141     </filterchain>
   139   </loadfile>
   142   </loadfile>
   140   <property name="code.revision" value="${svn.entries}" />
   143   <condition property="code.revision" value="${svn.entries}" else ="0">
       
   144   	<and>
       
   145       <isset property="svn.entries" />
       
   146   	</and>
       
   147   </condition>    
   141  </target>
   148  </target>
   142 
   149 
   143 
   150 
   144   <target name="compile.complete" depends="init">
   151   <target name="compile.complete" depends="init">
   145     <ant dir="${base.src}" target="compile.complete" inheritAll="true" inheritRefs="true"/>
   152     <ant dir="${base.src}" target="compile.complete" inheritAll="true" inheritRefs="true"/>
   285 
   292 
   286   <target name="update.database.script" depends="init">
   293   <target name="update.database.script" depends="init">
   287     <ant dir="${base.db}" target="update.database.script" inheritAll="true" inheritRefs="true"/>
   294     <ant dir="${base.db}" target="update.database.script" inheritAll="true" inheritRefs="true"/>
   288   </target>
   295   </target>
   289 
   296 
   290   <target name="export.database" depends="init">
   297   <target name="export.database" depends="init,code.rev">
   291     <ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true"/>
   298     <ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true"/>
   292     <ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true"/>
   299     <ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true"/>
   293   </target>
   300   </target>
   294 
   301 
   295   <target name="export.database.structure" depends="init">
   302   <target name="export.database.structure" depends="init,code.rev">
   296     <ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true"/>
   303     <ant dir="${base.db}" target="export.database.structure" inheritAll="true" inheritRefs="true"/>
   297   </target>
   304   </target>
   298 
   305 
   299   <target name="export.database.data" depends="init">
   306   <target name="export.database.data" depends="init,code.rev">
   300     <ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true"/>
   307     <ant dir="${base.db}" target="export.database.data" inheritAll="true" inheritRefs="true"/>
   301   </target>
   308   </target>
   302 
   309 
   303   <target name="import.database.data" depends="init,code.rev">
   310   <target name="import.database.data" depends="init,code.rev">
   304     <ant dir="${base.db}" target="import.database.data" inheritAll="true" inheritRefs="true"/>
   311     <ant dir="${base.db}" target="import.database.data" inheritAll="true" inheritRefs="true"/>
   305   </target>
   312   </target>
   306 
   313 
   307   <target name="export.database.sampledata" depends="init">
   314   <target name="export.database.sampledata" depends="init,code.rev">
   308     <ant dir="${base.db}" target="export.database.sampledata" inheritAll="true" inheritRefs="true"/>
   315     <ant dir="${base.db}" target="export.database.sampledata" inheritAll="true" inheritRefs="true"/>
   309   </target>
   316   </target>
   310 
   317 
   311   <target name="import.database.sampledata" depends="init,code.rev">
   318   <target name="import.database.sampledata" depends="init,code.rev">
   312     <ant dir="${base.db}" target="import.database.sampledata" inheritAll="true" inheritRefs="true"/>
   319     <ant dir="${base.db}" target="import.database.sampledata" inheritAll="true" inheritRefs="true"/>
   313   </target>
   320   </target>
   314 
   321 
   315   <target name="export.database.masterdata" depends="init">
   322   <target name="export.database.masterdata" depends="init,code.rev">
   316     <ant dir="${base.db}" target="export.database.masterdata" inheritAll="true" inheritRefs="true"/>
   323     <ant dir="${base.db}" target="export.database.masterdata" inheritAll="true" inheritRefs="true"/>
   317   </target>
   324   </target>
   318 
   325 
   319   <target name="import.database.masterdata" depends="init,code.rev">
   326   <target name="import.database.masterdata" depends="init,code.rev">
   320     <ant dir="${base.db}" target="import.database.masterdata" inheritAll="true" inheritRefs="true"/>
   327     <ant dir="${base.db}" target="import.database.masterdata" inheritAll="true" inheritRefs="true"/>