build.xml
changeset 16110 bc914387cb25
parent 15690 cd0c49fbd501
child 16111 8f43187f575a
equal deleted inserted replaced
16109:3d0c875831e5 16110:bc914387cb25
    10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
    10 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
    11 * License for the specific  language  governing  rights  and  limitations
    11 * License for the specific  language  governing  rights  and  limitations
    12 * under the License.
    12 * under the License.
    13 * The Original Code is Openbravo ERP.
    13 * The Original Code is Openbravo ERP.
    14 * The Initial Developer of the Original Code is Openbravo SLU
    14 * The Initial Developer of the Original Code is Openbravo SLU
    15 * All portions are Copyright (C) 2001-2011 Openbravo SLU
    15 * All portions are Copyright (C) 2001-2012 Openbravo SLU
    16 * All Rights Reserved.
    16 * All Rights Reserved.
    17 * Contributor(s):  ______________________________________.
    17 * Contributor(s):  ______________________________________.
    18 ************************************************************************
    18 ************************************************************************
    19 -->
    19 -->
    20 <!--
    20 <!--
   672 
   672 
   673   <target name="uninstallWebService" depends="init">
   673   <target name="uninstallWebService" depends="init">
   674     <ant dir="${base.src}" target="uninstallWebService" inheritAll="true" inheritRefs="true" />
   674     <ant dir="${base.src}" target="uninstallWebService" inheritAll="true" inheritRefs="true" />
   675   </target>
   675   </target>
   676 
   676 
   677   <target name="install.source" depends="init, create.database, wad.lib, trl.lib, compile.complete.deploy">
   677   <target name="install.source" depends="init, cleanSubfolders, create.database, wad.lib, trl.lib, compile.complete.deploy">
   678     <echo message="applying modules" />    
   678     <echo message="applying modules" />    
   679     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
   679     <antcall inheritall="true" inheritrefs="true" target="apply.module" />
   680 
   680 
   681     <antcall target="import.sample.data" />
   681     <antcall target="import.sample.data" />
   682     <antcall target="load.logoimages" />
   682     <antcall target="load.logoimages" />
   687 		<antcall target="validate.database" />
   687 		<antcall target="validate.database" />
   688 		<antcall target="validate.modules" />
   688 		<antcall target="validate.modules" />
   689 		-->
   689 		-->
   690   </target>
   690   </target>
   691 
   691 
   692   <target name="eclipse.install.source" depends="init, create.database">
   692   <target name="eclipse.install.source" depends="init, cleanSubfolders, create.database">
   693     <fail unless="eclipse.running" message="eclipse.* tasks must be executed inside Eclipse" />
   693     <fail unless="eclipse.running" message="eclipse.* tasks must be executed inside Eclipse" />
   694     <echo message="Building OpenbravoCore project..." level="info" />
   694     <echo message="Building OpenbravoCore project..." level="info" />
   695     <eclipse.incrementalBuild project="OpenbravoCore" kind="full"/>
   695     <eclipse.incrementalBuild project="OpenbravoCore" kind="full"/>
   696     <antcall target="eclipse.wad.lib"/>
   696     <antcall target="eclipse.wad.lib"/>
   697     <antcall target="eclipse.trl.lib"/>
   697     <antcall target="eclipse.trl.lib"/>
  1134     <taskdef name="showclassicwindows" classname="org.openbravo.client.application.WindowsInClassicModeTask">
  1134     <taskdef name="showclassicwindows" classname="org.openbravo.client.application.WindowsInClassicModeTask">
  1135       <classpath refid="project.class.path" />
  1135       <classpath refid="project.class.path" />
  1136     </taskdef>
  1136     </taskdef>
  1137     <showclassicwindows userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties"/>
  1137     <showclassicwindows userId="0" adminMode="true" propertiesFile="${base.config}/Openbravo.properties"/>
  1138   </target>
  1138   </target>
       
  1139   
       
  1140   <target name="cleanSubfolders" depends="init">
       
  1141       <ant dir="${base.src.core}" target="clean" inheritAll="true" inheritRefs="true" />
       
  1142       <ant dir="${base.src.trl}" target="clean" inheritAll="true" inheritRefs="true" />
       
  1143       <ant dir="${base.src.wad}" target="clean" inheritAll="true" inheritRefs="true" />
       
  1144     </target>
       
  1145   
  1139 </project>
  1146 </project>