author RM packaging bot <>
Fri, 18 Sep 2015 16:37:57 +0000
changeset 27602 9f3453d4f213
parent 27152 749f6786ae20
permissions -rw-r--r--
CI: update AD_MODULE to version 27601
<?xml version="1.0" encoding="UTF-8" ?>
* Copyright (C) 2001-2015 Openbravo S.L.U.
* Licensed under the Apache Software License version 2.0
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to  in writing,  software  distributed
* under the License is distributed  on  an  "AS IS"  BASIS,  WITHOUT  WARRANTIES  OR
* CONDITIONS OF ANY KIND, either  express  or  implied.  See  the  License  for  the
* specific language governing permissions and limitations under the License.
<project default="jar" basedir="." name="dbmanager">

  <property name="build.db.classes" value="${basedir}/build/classes" />
  <property name="build.db.lib" value="${basedir}/build/lib" />
  <property name="build.db.src" value="${basedir}/src" />

  <path id="db.class.path">
    <fileset dir="${basedir}/database/lib">
      <include name="**/*.jar" />

  <target name="clean">
    <delete dir="${build.db.classes}" failonerror="false" includeemptydirs="true" />
    <delete dir="${build.db.lib}" failonerror="false" includeemptydirs="true" />

  <target name="compile">
    <mkdir dir="${build.db.classes}" />
    <mkdir dir="${build.db.lib}" />
    <javac srcdir="${build.db.src}" destdir="${build.db.classes}" deprecation="on" encoding="UTF-8" fork="true" debug="true" debuglevel="lines,vars,source" includeantruntime="false">
      <classpath refid="db.class.path" />
    <copy todir="${build.db.classes}">
      <fileset dir="${build.db.src}" excludes="**/*.java,**/*.form" />

  <target name="jar" depends="compile">
    <jar destfile="${build.db.lib}/dbmanager.jar">
      <fileset dir="${build.db.classes}" />
        <attribute name="Built-By" value="Openbravo S.L.U." />