build.xml
changeset 24247 a0955a83d426
parent 20766 091b2c16deaf
child 24401 5e4ddc5f2219
child 25334 c473996c9241
equal deleted inserted replaced
24246:a007832a5c77 24247:a0955a83d426
    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-2013 Openbravo SLU
    15 * All portions are Copyright (C) 2001-2014 Openbravo SLU
    16 * All Rights Reserved.
    16 * All Rights Reserved.
    17 * Contributor(s):  ______________________________________.
    17 * Contributor(s):  ______________________________________.
    18 ************************************************************************
    18 ************************************************************************
    19 -->
    19 -->
    20 <!--
    20 <!--
   248     <fileset dir="${build.wad.lib}">
   248     <fileset dir="${build.wad.lib}">
   249       <include name="openbravo-wad.jar" />
   249       <include name="openbravo-wad.jar" />
   250     </fileset>
   250     </fileset>
   251     <fileset dir="${base.lib}">
   251     <fileset dir="${base.lib}">
   252       <include name="**/*.jar" />
   252       <include name="**/*.jar" />
       
   253       <exclude name="**/test/*.jar" />
   253     </fileset>
   254     </fileset>
   254     <fileset dir="${base.db}/lib/">
   255     <fileset dir="${base.db}/lib/">
   255       <include name="**/*.jar" />
   256       <include name="**/*.jar" />
   256     </fileset>
   257     </fileset>
   257     <fileset dir="${base.modules}">
   258     <fileset dir="${base.modules}">
   258       <include name="*/lib/**" />
   259       <include name="*/lib/**" />
       
   260        <exclude name="**/test/*.jar" />
   259     </fileset>
   261     </fileset>
   260   </path>
   262   </path>
   261 
   263 
   262   <!-- This classpath is needed only for the compile.apply.module task-->
   264   <!-- This classpath is needed only for the compile.apply.module task-->
   263   <path id="apply.module.compile.classpath">
   265   <path id="apply.module.compile.classpath">
   573   <!-- build-internal forking helper -->
   575   <!-- build-internal forking helper -->
   574   <target name="generate.entities.quick.forked">
   576   <target name="generate.entities.quick.forked">
   575     <ant dir="${base.src}" target="generate.entities.quick.forked" inheritAll="true" inheritRefs="true" />
   577     <ant dir="${base.src}" target="generate.entities.quick.forked" inheritAll="true" inheritRefs="true" />
   576   </target>
   578   </target>
   577 
   579 
       
   580   <target name="compile.test" depends="init">
       
   581     <ant dir="${base.src.test}" target="compile.test" inheritAll="true" inheritRefs="true" />
       
   582   </target>
       
   583   
   578   <target name="run.tests" depends="init">
   584   <target name="run.tests" depends="init">
   579     <ant dir="${base.src}" target="run.tests" inheritAll="true" inheritRefs="true" />
   585     <ant dir="${base.src.test}" target="run.tests" inheritAll="true" inheritRefs="true" />
   580   </target>
   586   </target>
   581 
   587 
   582   <target name="run.all.tests" depends="init">
   588   <target name="run.all.tests" depends="init">
   583     <ant dir="${base.src}" target="run.all.tests" inheritAll="true" inheritRefs="true" />
   589     <ant dir="${base.src.test}" target="run.all.tests" inheritAll="true" inheritRefs="true" />
   584   </target>
   590   </target>
   585 
   591 
   586   <target name="run.webservice.tests" depends="init">
   592   <target name="run.webservice.tests" depends="init">
   587       <ant dir="${base.src}" target="run.webservice.tests" inheritAll="true" inheritRefs="true" />
   593       <ant dir="${base.src.test}" target="run.webservice.tests" inheritAll="true" inheritRefs="true" />
   588   </target>
   594   </target>
   589 
   595 
   590   <target name="run.quick.tests" depends="init">
   596   <target name="run.quick.tests" depends="init">
   591     <ant dir="${base.src}" target="run.quick.tests" inheritAll="true" inheritRefs="true" />
   597     <ant dir="${base.src.test}" target="run.quick.tests" inheritAll="true" inheritRefs="true" />
   592   </target>
   598   </target>
   593 
   599 
   594   <target name="run.api.test.javascript">
   600   <target name="run.api.test.javascript">
   595     <ant dir="${base.src}" target="run.api.test.javascript" inheritAll="true" inheritRefs="true" />
   601     <ant dir="${base.src}" target="run.api.test.javascript" inheritAll="true" inheritRefs="true" />
   596   </target>
   602   </target>