<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="auftragseingang" default="all">


  <property file="auftragseingang.properties"/>
  <!-- Uncomment the following property if no tests compilation is needed -->
  <!--
  <property name="skip.tests" value="true"/>
   -->

  <!-- Compiler options -->

  <property name="compiler.debug" value="on"/>
  <property name="compiler.generate.no.warnings" value="off"/>
  <property name="compiler.args" value="-Xlint:unchecked"/>
  <property name="compiler.max.memory" value="128m"/>
  <patternset id="ignored.files">
    <exclude name="**/CVS/**"/>
    <exclude name="**/SCCS/**"/>
    <exclude name="**/RCS/**"/>
    <exclude name="**/rcs/**"/>
    <exclude name="**/.DS_Store/**"/>
    <exclude name="**/.svn/**"/>
    <exclude name="**/vssver.scc/**"/>
    <exclude name="**/vssver2.scc/**"/>
    <exclude name="**/.sbas/**"/>
    <exclude name="**/.IJI.*/**"/>
  </patternset>
  <patternset id="compiler.excluded">
    <exclude name="D:/Projekte/Auftragseingang/trunk/Server/logbuch/tsrc/**"/>
    <exclude name="D:/Projekte/Auftragseingang/trunk/Server/kernel/tsrc/**"/>
  </patternset>
  <patternset id="compiler.resources">
    <include name="**/?*.properties"/>
    <include name="**/?*.xml"/>
    <include name="**/?*.gif"/>
    <include name="**/?*.png"/>
    <include name="**/?*.jpeg"/>
    <include name="**/?*.jpg"/>
    <include name="**/?*.html"/>
    <include name="**/?*.dtd"/>
    <include name="**/?*.tld"/>
    <include name="**/?*.hs"/>
    <include name="**/DOCS"/>
    <include name="**/DOCS.TAB"/>
    <include name="**/OFFSETS"/>
    <include name="**/POSITIONS"/>
    <include name="**/SCHEMA"/>
    <include name="**/TMAP"/>
    <include name="**/?*.jhm"/>
  </patternset>


  <!-- Project Libraries -->

  <path id="library.commons-collections-3.2.classpath">
    <pathelement location="${basedir}/libraries/commons-collections/commons-collections-3.2.jar"/>
  </path>

  <path id="library.commons-configuration-1.3.classpath">
    <pathelement location="${basedir}/libraries/commons-configuration/commons-configuration-1.3.jar"/>
  </path>

  <path id="library.commons-lang-2.2.classpath">
    <pathelement location="${basedir}/libraries/commons-lang/commons-lang-2.2.jar"/>
  </path>

  <path id="library.commons-logging-1.1.classpath">
    <pathelement location="${basedir}/libraries/commons-logging/commons-logging-1.1.jar"/>
  </path>

  <path id="library.commons-net-1.4.1.classpath">
    <pathelement location="${basedir}/libraries/commons-net/commons-net-1.4.1.jar"/>
  </path>

  <path id="library.poi-2.5.1.classpath">
    <pathelement location="${basedir}/libraries/poi/poi-2.5.1-final-20040804.jar"/>
  </path>

  <path id="library.log4j-1.2.14.classpath">
    <pathelement location="${basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar"/>
  </path>

  <path id="library.junit-4.1.classpath">
    <pathelement location="${basedir}/libraries/junit/junit-4.1.jar"/>
  </path>

  <path id="library.hibernate3.classpath">
    <pathelement location="${basedir}/libraries/hibernate/hibernate3.jar"/>
    <pathelement location="${basedir}/libraries/hibernate/lib/asm-attrs.jar"/>
    <pathelement location="${basedir}/libraries/hibernate/lib/asm.jar"/>
    <pathelement location="${basedir}/libraries/hibernate/lib/cglib-2.1.3.jar"/>
  </path>

  <path id="library.swingx-2006_10_27.classpath">
    <pathelement location="${basedir}/libraries/swingx/swingx-2006_10_27.jar"/>
  </path>

  <path id="library.binding-1.3.0.classpath">
    <pathelement location="${basedir}/libraries/binding/binding-1.3.0.jar"/>
  </path>

  <path id="library.forms-1.0.7.classpath">
    <pathelement location="${basedir}/libraries/forms/forms-1.0.7.jar"/>
  </path>

  <path id="library.looks-2.1.2.classpath">
    <pathelement location="${basedir}/libraries/looks/looks-2.1.2.jar"/>
  </path>

  <path id="library.validation-1.3.1.classpath">
    <pathelement location="${basedir}/libraries/validation/validation-1.3.1.jar"/>
  </path>

  <path id="library.dom4j-1.6.1.classpath">
    <pathelement location="${basedir}/libraries/dom4j/dom4j-1.6.1.jar"/>
  </path>

  <path id="library.weblogic-9.1.classpath">
    <pathelement location="${basedir}/libraries/weblogic/weblogic.jar"/>
  </path>

  <path id="library.apache-ant.classpath">
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-antlr.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-apache-bcel.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-apache-bsf.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-apache-log4j.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-apache-oro.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-apache-regexp.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-apache-resolver.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-commons-logging.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-commons-net.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-jai.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-javamail.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-jdepend.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-jmf.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-jsch.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-junit.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-launcher.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-netrexx.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-nodeps.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-starteam.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-stylebook.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-swing.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-testutil.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-trax.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant-weblogic.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/ant.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/xercesImpl.jar"/>
    <pathelement location="${basedir}/libraries/apache-ant/lib/xml-apis.jar"/>
  </path>

  <path id="library.jaxb.classpath">
    <pathelement location="${basedir}/libraries/jaxb/lib/activation.jar"/>
    <pathelement location="${basedir}/libraries/jaxb/lib/jaxb-api.jar"/>
    <pathelement location="${basedir}/libraries/jaxb/lib/jaxb-impl.jar"/>
    <pathelement location="${basedir}/libraries/jaxb/lib/jaxb-xjc.jar"/>
    <pathelement location="${basedir}/libraries/jaxb/lib/jaxb1-impl.jar"/>
    <pathelement location="${basedir}/libraries/jaxb/lib/jsr173_1.0_api.jar"/>
  </path>

  <path id="library.javahelp.classpath">
    <pathelement location="${basedir}/libraries/javahelp/jhall.jar"/>
  </path>

  <path id="library.ui-designer.classpath">
    <pathelement location="${basedir}/libraries/idea/asm-commons.jar"/>
    <pathelement location="${basedir}/libraries/idea/asm.jar"/>
    <pathelement location="${basedir}/libraries/idea/javac2.jar"/>
    <pathelement location="${basedir}/libraries/idea/jdom.jar"/>
  </path>

  <path id="library.jdbc.classpath">
    <pathelement location="${basedir}/libraries/jdbc/ojdbc14.jar"/>
  </path>


  <!-- Application Server Libraries -->

  <!-- Modules -->


  <!-- Module Exception -->

  <dirname property="module.exception.basedir" file="${ant.file}"/>



  <property name="compiler.args.exception" value="${compiler.args}"/>

  <property name="exception.output.dir" value="${module.exception.basedir}/classes/production/Exception"/>
  <property name="exception.testoutput.dir" value="${module.exception.basedir}/classes/test/Exception"/>

  <path id="exception.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="exception.module.classpath"/>


  <patternset id="excluded.from.module.exception">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.exception">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.exception"/>
  </patternset>

  <path id="exception.module.sourcepath">
    <dirset dir="${module.exception.basedir}/Common/exception">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.exception" depends="compile.module.exception.production,compile.module.exception.tests" description="Compile module Exception"/>

  <target name="compile.module.exception.production" description="Compile module Exception; production classes">
    <mkdir dir="${exception.output.dir}"/>
    <javac destdir="${exception.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.exception}"/>
      <bootclasspath refid="exception.module.bootclasspath"/>
      <classpath refid="exception.module.classpath"/>
      <src refid="exception.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.exception"/>
    </javac>

    <copy todir="${exception.output.dir}">
      <fileset dir="${module.exception.basedir}/Common/exception/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.exception"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.exception.tests" depends="compile.module.exception.production" description="compile module Exception; test classes" unless="skip.tests"/>

  <target name="clean.module.exception" description="cleanup module">
    <delete dir="${exception.output.dir}"/>
    <delete dir="${exception.testoutput.dir}"/>
  </target>


  <!-- Module BusinessObjects -->

  <dirname property="module.businessobjects.basedir" file="${ant.file}"/>



  <property name="compiler.args.businessobjects" value="${compiler.args}"/>

  <property name="businessobjects.output.dir" value="${module.businessobjects.basedir}/classes/production/BusinessObjects"/>
  <property name="businessobjects.testoutput.dir" value="${module.businessobjects.basedir}/classes/test/BusinessObjects"/>

  <path id="businessobjects.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="businessobjects.module.classpath">
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.commons-lang-2.2.classpath"/>
    <path refid="library.jaxb.classpath"/>
  </path>


  <patternset id="excluded.from.module.businessobjects">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.businessobjects">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.businessobjects"/>
  </patternset>

  <path id="businessobjects.module.sourcepath">
    <dirset dir="${module.businessobjects.basedir}/Common/businessobjects">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.businessobjects" depends="compile.module.businessobjects.production,compile.module.businessobjects.tests" description="Compile module BusinessObjects"/>

  <target name="compile.module.businessobjects.production" description="Compile module BusinessObjects; production classes">
    <mkdir dir="${businessobjects.output.dir}"/>
    <javac destdir="${businessobjects.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.businessobjects}"/>
      <bootclasspath refid="businessobjects.module.bootclasspath"/>
      <classpath refid="businessobjects.module.classpath"/>
      <src refid="businessobjects.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.businessobjects"/>
    </javac>

    <copy todir="${businessobjects.output.dir}">
      <fileset dir="${module.businessobjects.basedir}/Common/businessobjects/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.businessobjects"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.businessobjects.tests" depends="compile.module.businessobjects.production" description="compile module BusinessObjects; test classes" unless="skip.tests"/>

  <target name="clean.module.businessobjects" description="cleanup module">
    <delete dir="${businessobjects.output.dir}"/>
    <delete dir="${businessobjects.testoutput.dir}"/>
  </target>


  <!-- Module DAO -->

  <dirname property="module.dao.basedir" file="${ant.file}"/>



  <property name="compiler.args.dao" value="${compiler.args}"/>

  <property name="dao.output.dir" value="${module.dao.basedir}/classes/production/DAO"/>
  <property name="dao.testoutput.dir" value="${module.dao.basedir}/classes/test/DAO"/>

  <path id="dao.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="dao.module.classpath">
    <path refid="library.hibernate3.classpath"/>
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.commons-collections-3.2.classpath"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
    <path refid="library.junit-4.1.classpath"/>
    <path refid="library.dom4j-1.6.1.classpath"/>
    <path refid="library.weblogic-9.1.classpath"/>
    <path refid="library.jdbc.classpath"/>
  </path>


  <patternset id="excluded.from.module.dao">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.dao">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.dao"/>
  </patternset>

  <path id="dao.module.sourcepath">
    <dirset dir="${module.dao.basedir}/Common/DAO">
      <include name="src"/>
    </dirset>
  </path>

  <path id="dao.module.test.sourcepath">
    <dirset dir="${module.dao.basedir}/Common/DAO">
      <include name="tsrc"/>
    </dirset>
  </path>


  <target name="compile.module.dao" depends="compile.module.dao.production,compile.module.dao.tests" description="Compile module DAO"/>

  <target name="compile.module.dao.production" depends="compile.module.businessobjects" description="Compile module DAO; production classes">
    <mkdir dir="${dao.output.dir}"/>
    <javac destdir="${dao.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.dao}"/>
      <bootclasspath refid="dao.module.bootclasspath"/>
      <classpath refid="dao.module.classpath"/>
      <src refid="dao.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.dao"/>
    </javac>

    <copy todir="${dao.output.dir}">
      <fileset dir="${module.dao.basedir}/Common/DAO/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.dao"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.dao.tests" depends="compile.module.dao.production" description="compile module DAO; test classes" unless="skip.tests">
    <mkdir dir="${dao.testoutput.dir}"/>
    <javac destdir="${dao.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.dao}"/>
      <classpath refid="dao.module.classpath"/>
      <classpath location="${dao.output.dir}"/>
      <src refid="dao.module.test.sourcepath"/>
      <patternset refid="excluded.from.compilation.dao"/>
    </javac>

    <copy todir="${dao.testoutput.dir}">
      <fileset dir="${module.dao.basedir}/Common/DAO/tsrc">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.dao"/>
      </fileset>
    </copy>
  </target>

  <target name="clean.module.dao" description="cleanup module">
    <delete dir="${dao.output.dir}"/>
    <delete dir="${dao.testoutput.dir}"/>
  </target>


  <!-- Module Utilities -->

  <dirname property="module.utilities.basedir" file="${ant.file}"/>



  <property name="compiler.args.utilities" value="${compiler.args}"/>

  <property name="utilities.output.dir" value="${module.utilities.basedir}/classes/production/Utilities"/>
  <property name="utilities.testoutput.dir" value="${module.utilities.basedir}/classes/test/Utilities"/>

  <path id="utilities.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="utilities.module.classpath">
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.jaxb.classpath"/>
  </path>


  <patternset id="excluded.from.module.utilities">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.utilities">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.utilities"/>
  </patternset>

  <path id="utilities.module.sourcepath">
    <dirset dir="${module.utilities.basedir}/Common/utilities">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.utilities" depends="compile.module.utilities.production,compile.module.utilities.tests" description="Compile module Utilities"/>

  <target name="compile.module.utilities.production" description="Compile module Utilities; production classes">
    <mkdir dir="${utilities.output.dir}"/>
    <javac destdir="${utilities.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.utilities}"/>
      <bootclasspath refid="utilities.module.bootclasspath"/>
      <classpath refid="utilities.module.classpath"/>
      <src refid="utilities.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.utilities"/>
    </javac>

    <copy todir="${utilities.output.dir}">
      <fileset dir="${module.utilities.basedir}/Common/utilities/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.utilities"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.utilities.tests" depends="compile.module.utilities.production" description="compile module Utilities; test classes" unless="skip.tests"/>

  <target name="clean.module.utilities" description="cleanup module">
    <delete dir="${utilities.output.dir}"/>
    <delete dir="${utilities.testoutput.dir}"/>
  </target>


  <!-- Module Servicelocator -->

  <dirname property="module.servicelocator.basedir" file="${ant.file}"/>



  <property name="compiler.args.servicelocator" value="${compiler.args}"/>

  <property name="servicelocator.output.dir" value="${module.servicelocator.basedir}/classes/production/Servicelocator"/>
  <property name="servicelocator.testoutput.dir" value="${module.servicelocator.basedir}/classes/test/Servicelocator"/>

  <path id="servicelocator.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="servicelocator.module.classpath">
    <path refid="library.log4j-1.2.14.classpath"/>
    <path refid="library.weblogic-9.1.classpath"/>
  </path>


  <patternset id="excluded.from.module.servicelocator">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.servicelocator">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.servicelocator"/>
  </patternset>

  <path id="servicelocator.module.sourcepath">
    <dirset dir="${module.servicelocator.basedir}/Common/servicelocator">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.servicelocator" depends="compile.module.servicelocator.production,compile.module.servicelocator.tests" description="Compile module Servicelocator"/>

  <target name="compile.module.servicelocator.production" description="Compile module Servicelocator; production classes">
    <mkdir dir="${servicelocator.output.dir}"/>
    <javac destdir="${servicelocator.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.servicelocator}"/>
      <bootclasspath refid="servicelocator.module.bootclasspath"/>
      <classpath refid="servicelocator.module.classpath"/>
      <src refid="servicelocator.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.servicelocator"/>
    </javac>

    <copy todir="${servicelocator.output.dir}">
      <fileset dir="${module.servicelocator.basedir}/Common/servicelocator/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.servicelocator"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.servicelocator.tests" depends="compile.module.servicelocator.production" description="compile module Servicelocator; test classes" unless="skip.tests"/>

  <target name="clean.module.servicelocator" description="cleanup module">
    <delete dir="${servicelocator.output.dir}"/>
    <delete dir="${servicelocator.testoutput.dir}"/>
  </target>


  <!-- Module Benutzerverwaltung -->

  <dirname property="module.benutzerverwaltung.basedir" file="${ant.file}"/>



  <property name="compiler.args.benutzerverwaltung" value="${compiler.args}"/>

  <property name="benutzerverwaltung.output.dir" value="${module.benutzerverwaltung.basedir}/classes/production/Benutzerverwaltung"/>
  <property name="benutzerverwaltung.testoutput.dir" value="${module.benutzerverwaltung.basedir}/classes/test/Benutzerverwaltung"/>

  <path id="benutzerverwaltung.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="benutzerverwaltung.module.classpath">
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.log4j-1.2.14.classpath"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <path refid="library.weblogic-9.1.classpath"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
  </path>


  <patternset id="excluded.from.module.benutzerverwaltung">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.benutzerverwaltung">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.benutzerverwaltung"/>
  </patternset>

  <path id="benutzerverwaltung.module.sourcepath">
    <dirset dir="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.benutzerverwaltung" depends="compile.module.benutzerverwaltung.production,compile.module.benutzerverwaltung.tests" description="Compile module Benutzerverwaltung"/>

  <target name="compile.module.benutzerverwaltung.production" depends="compile.module.servicelocator,compile.module.businessobjects" description="Compile module Benutzerverwaltung; production classes">
    <mkdir dir="${benutzerverwaltung.output.dir}"/>
    <javac destdir="${benutzerverwaltung.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.benutzerverwaltung}"/>
      <bootclasspath refid="benutzerverwaltung.module.bootclasspath"/>
      <classpath refid="benutzerverwaltung.module.classpath"/>
      <src refid="benutzerverwaltung.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.benutzerverwaltung"/>
    </javac>

    <copy todir="${benutzerverwaltung.output.dir}">
      <fileset dir="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.benutzerverwaltung"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.benutzerverwaltung.tests" depends="compile.module.benutzerverwaltung.production" description="compile module Benutzerverwaltung; test classes" unless="skip.tests"/>

  <target name="clean.module.benutzerverwaltung" description="cleanup module">
    <delete dir="${benutzerverwaltung.output.dir}"/>
    <delete dir="${benutzerverwaltung.testoutput.dir}"/>
  </target>

  <property name="benutzerverwaltung.path.jar" value="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung/dist/Benutzerverwaltung.jar"/>
  <target name="j2ee.build.benutzerverwaltung" depends="compile.module.benutzerverwaltung, compile.module.businessobjects, compile.module.servicelocator" description="Build configured Java EE directories and archives for module 'Benutzerverwaltung'">
    <antcall target="j2ee.build.jar.benutzerverwaltung">
      <param name="j2ee.path.jar" value="${benutzerverwaltung.path.jar}"/>
    </antcall>
  </target>

  <!-- Call the target to build exploded directory for module 'Benutzerverwaltung'.
       Path to the exploded directory is specified by parameter 'j2ee.dir.exploded' -->
  <target name="j2ee.build.exploded.benutzerverwaltung" description="Build exploded directory for module 'Benutzerverwaltung'">
    <copy file="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung/META-INF/weblogic-ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/weblogic-ejb-jar.xml"/>
    <copy file="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung/META-INF/ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/ejb-jar.xml"/>
    <copy todir="${j2ee.dir.exploded}/">
      <fileset dir="${module.benutzerverwaltung.basedir}/classes/production/Benutzerverwaltung"/>
    </copy>
  </target>

  <!-- Call the target to build jar archive for module 'Benutzerverwaltung'.
       Path to the archive file is specified by parameter 'j2ee.path.jar' -->
  <target name="j2ee.build.jar.benutzerverwaltung" description="Build Java EE archive for module 'Benutzerverwaltung'">
    <dirname property="jar.dir" file="${j2ee.path.jar}"/>
    <mkdir dir="${jar.dir}"/>
    <jar destfile="${j2ee.path.jar}" duplicate="preserve">
      <manifest>
        <attribute name="Class-Path" value="commons-lang-2.2.jar commons-logging-1.1.jar log4j-1.2.14.jar BusinessObjects.jar Servicelocator.jar"/>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <zipfileset dir="${module.benutzerverwaltung.basedir}/classes/production/Benutzerverwaltung" prefix=""/>
      <zipfileset file="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung/META-INF/ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.benutzerverwaltung.basedir}/Server/benutzerverwaltung/META-INF/weblogic-ejb-jar.xml" prefix="META-INF"/>
    </jar>
    <copy file="${module.benutzerverwaltung.basedir}/libraries/commons-lang/commons-lang-2.2.jar" tofile="${j2ee.path.jar}/../commons-lang-2.2.jar"/>
    <copy file="${module.benutzerverwaltung.basedir}/libraries/commons-logging/commons-logging-1.1.jar" tofile="${j2ee.path.jar}/../commons-logging-1.1.jar"/>
    <copy file="${module.benutzerverwaltung.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" tofile="${j2ee.path.jar}/../log4j-1.2.14.jar"/>
    <dirname property="jar.dir2" file="${j2ee.path.jar}/../BusinessObjects.jar"/>
    <mkdir dir="${jar.dir2}"/>
    <jar destfile="${j2ee.path.jar}/../BusinessObjects.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.businessobjects.basedir}/classes/production/BusinessObjects"/>
    </jar>
    <dirname property="jar.dir3" file="${j2ee.path.jar}/../Servicelocator.jar"/>
    <mkdir dir="${jar.dir3}"/>
    <jar destfile="${j2ee.path.jar}/../Servicelocator.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.servicelocator.basedir}/classes/production/Servicelocator"/>
    </jar>
  </target>


  <!-- Module message -->

  <dirname property="module.message.basedir" file="${ant.file}"/>



  <property name="compiler.args.message" value="${compiler.args}"/>

  <property name="message.output.dir" value="${module.message.basedir}/classes/production/message"/>
  <property name="message.testoutput.dir" value="${module.message.basedir}/classes/test/message"/>

  <path id="message.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="message.module.classpath">
    <path refid="library.commons-logging-1.1.classpath"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <path refid="library.weblogic-9.1.classpath"/>
  </path>


  <patternset id="excluded.from.module.message">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.message">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.message"/>
  </patternset>

  <path id="message.module.sourcepath">
    <dirset dir="${module.message.basedir}/Common/message">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.message" depends="compile.module.message.production,compile.module.message.tests" description="Compile module message"/>

  <target name="compile.module.message.production" depends="compile.module.servicelocator" description="Compile module message; production classes">
    <mkdir dir="${message.output.dir}"/>
    <javac destdir="${message.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.message}"/>
      <bootclasspath refid="message.module.bootclasspath"/>
      <classpath refid="message.module.classpath"/>
      <src refid="message.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.message"/>
    </javac>

    <copy todir="${message.output.dir}">
      <fileset dir="${module.message.basedir}/Common/message/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.message"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.message.tests" depends="compile.module.message.production" description="compile module message; test classes" unless="skip.tests"/>

  <target name="clean.module.message" description="cleanup module">
    <delete dir="${message.output.dir}"/>
    <delete dir="${message.testoutput.dir}"/>
  </target>


  <!-- Module Kernel -->

  <dirname property="module.kernel.basedir" file="${ant.file}"/>



  <property name="compiler.args.kernel" value="${compiler.args}"/>

  <property name="kernel.output.dir" value="${module.kernel.basedir}/classes/production/Kernel"/>
  <property name="kernel.testoutput.dir" value="${module.kernel.basedir}/classes/test/Kernel"/>

  <path id="kernel.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="kernel.module.classpath">
    <path refid="library.log4j-1.2.14.classpath"/>
    <path refid="library.commons-logging-1.1.classpath"/>
    <pathelement location="${exception.output.dir}"/>
    <pathelement location="${exception.testoutput.dir}"/>
    <path refid="library.hibernate3.classpath"/>
    <pathelement location="${dao.output.dir}"/>
    <pathelement location="${dao.testoutput.dir}"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
    <path refid="library.dom4j-1.6.1.classpath"/>
    <path refid="library.junit-4.1.classpath"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <path refid="library.weblogic-9.1.classpath"/>
    <path refid="library.jaxb.classpath"/>
    <pathelement location="${utilities.output.dir}"/>
    <pathelement location="${utilities.testoutput.dir}"/>
    <pathelement location="${message.output.dir}"/>
    <pathelement location="${message.testoutput.dir}"/>
  </path>


  <patternset id="excluded.from.module.kernel">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.kernel">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.kernel"/>
  </patternset>

  <path id="kernel.module.sourcepath">
    <dirset dir="${module.kernel.basedir}/Server/kernel">
      <include name="src"/>
    </dirset>
  </path>

  <path id="kernel.module.test.sourcepath">
    <dirset dir="${module.kernel.basedir}/Server/kernel">
      <include name="tsrc"/>
    </dirset>
  </path>


  <target name="compile.module.kernel" depends="compile.module.kernel.production,compile.module.kernel.tests" description="Compile module Kernel"/>

  <target name="compile.module.kernel.production" depends="compile.module.exception,compile.module.dao,compile.module.businessobjects,compile.module.servicelocator,compile.module.utilities,compile.module.message" description="Compile module Kernel; production classes">
    <mkdir dir="${kernel.output.dir}"/>
    <javac destdir="${kernel.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.kernel}"/>
      <bootclasspath refid="kernel.module.bootclasspath"/>
      <classpath refid="kernel.module.classpath"/>
      <src refid="kernel.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.kernel"/>
    </javac>

    <copy todir="${kernel.output.dir}">
      <fileset dir="${module.kernel.basedir}/Server/kernel/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.kernel"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.kernel.tests" depends="compile.module.kernel.production" description="compile module Kernel; test classes" unless="skip.tests">
    <mkdir dir="${kernel.testoutput.dir}"/>
    <javac destdir="${kernel.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.kernel}"/>
      <classpath refid="kernel.module.classpath"/>
      <classpath location="${kernel.output.dir}"/>
      <src refid="kernel.module.test.sourcepath"/>
      <patternset refid="excluded.from.compilation.kernel"/>
    </javac>

    <copy todir="${kernel.testoutput.dir}">
      <fileset dir="${module.kernel.basedir}/Server/kernel/tsrc">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.kernel"/>
      </fileset>
    </copy>
  </target>

  <target name="clean.module.kernel" description="cleanup module">
    <delete dir="${kernel.output.dir}"/>
    <delete dir="${kernel.testoutput.dir}"/>
  </target>

  <property name="kernel.path.jar" value="${module.kernel.basedir}/Server/kernel/dist/Kernel.jar"/>
  <target name="j2ee.build.kernel" depends="compile.module.kernel, compile.module.businessobjects, compile.module.dao, compile.module.exception, compile.module.message, compile.module.servicelocator, compile.module.utilities" description="Build configured Java EE directories and archives for module 'Kernel'">
    <antcall target="j2ee.build.jar.kernel">
      <param name="j2ee.path.jar" value="${kernel.path.jar}"/>
    </antcall>
  </target>

  <!-- Call the target to build exploded directory for module 'Kernel'.
       Path to the exploded directory is specified by parameter 'j2ee.dir.exploded' -->
  <target name="j2ee.build.exploded.kernel" description="Build exploded directory for module 'Kernel'">
    <copy file="${module.kernel.basedir}/Server/kernel/conf/pluginConfigurations.xml" tofile="${j2ee.dir.exploded}/conf/pluginConfigurations.xml"/>
    <copy file="${module.kernel.basedir}/Server/kernel/conf/log4j.xml" tofile="${j2ee.dir.exploded}/conf/log4j.xml"/>
    <copy file="${module.kernel.basedir}/Server/kernel/META-INF/weblogic-ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/weblogic-ejb-jar.xml"/>
    <copy file="${module.kernel.basedir}/Server/kernel/META-INF/ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/ejb-jar.xml"/>
    <copy todir="${j2ee.dir.exploded}/">
      <fileset dir="${module.kernel.basedir}/classes/production/Kernel"/>
    </copy>
  </target>

  <!-- Call the target to build jar archive for module 'Kernel'.
       Path to the archive file is specified by parameter 'j2ee.path.jar' -->
  <target name="j2ee.build.jar.kernel" description="Build Java EE archive for module 'Kernel'">
    <dirname property="jar.dir" file="${j2ee.path.jar}"/>
    <mkdir dir="${jar.dir}"/>
    <jar destfile="${j2ee.path.jar}" duplicate="preserve">
      <manifest>
        <attribute name="Class-Path" value="commons-collections-3.2.jar commons-logging-1.1.jar dom4j-1.6.1.jar hibernate3.jar asm-attrs.jar asm.jar cglib-2.1.3.jar activation.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jaxb1-impl.jar jsr173_1.0_api.jar junit-4.1.jar log4j-1.2.14.jar BusinessObjects.jar DAO.jar Exception.jar message.jar Servicelocator.jar Utilities.jar"/>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <zipfileset dir="${module.kernel.basedir}/classes/production/Kernel" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/Server/kernel/META-INF/ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.kernel.basedir}/Server/kernel/META-INF/weblogic-ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.kernel.basedir}/Server/kernel/conf/log4j.xml" prefix="conf"/>
      <zipfileset file="${module.kernel.basedir}/Server/kernel/conf/pluginConfigurations.xml" prefix="conf"/>
    </jar>
    <copy file="${module.kernel.basedir}/libraries/commons-collections/commons-collections-3.2.jar" tofile="${j2ee.path.jar}/../commons-collections-3.2.jar"/>
    <copy file="${module.kernel.basedir}/libraries/commons-logging/commons-logging-1.1.jar" tofile="${j2ee.path.jar}/../commons-logging-1.1.jar"/>
    <copy file="${module.kernel.basedir}/libraries/dom4j/dom4j-1.6.1.jar" tofile="${j2ee.path.jar}/../dom4j-1.6.1.jar"/>
    <copy file="${module.kernel.basedir}/libraries/hibernate/hibernate3.jar" tofile="${j2ee.path.jar}/../hibernate3.jar"/>
    <copy file="${module.kernel.basedir}/libraries/hibernate/lib/asm-attrs.jar" tofile="${j2ee.path.jar}/../asm-attrs.jar"/>
    <copy file="${module.kernel.basedir}/libraries/hibernate/lib/asm.jar" tofile="${j2ee.path.jar}/../asm.jar"/>
    <copy file="${module.kernel.basedir}/libraries/hibernate/lib/cglib-2.1.3.jar" tofile="${j2ee.path.jar}/../cglib-2.1.3.jar"/>
    <copy file="${module.kernel.basedir}/libraries/jaxb/lib/activation.jar" tofile="${j2ee.path.jar}/../activation.jar"/>
    <copy file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb-api.jar" tofile="${j2ee.path.jar}/../jaxb-api.jar"/>
    <copy file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb-impl.jar" tofile="${j2ee.path.jar}/../jaxb-impl.jar"/>
    <copy file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb-xjc.jar" tofile="${j2ee.path.jar}/../jaxb-xjc.jar"/>
    <copy file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb1-impl.jar" tofile="${j2ee.path.jar}/../jaxb1-impl.jar"/>
    <copy file="${module.kernel.basedir}/libraries/jaxb/lib/jsr173_1.0_api.jar" tofile="${j2ee.path.jar}/../jsr173_1.0_api.jar"/>
    <copy file="${module.kernel.basedir}/libraries/junit/junit-4.1.jar" tofile="${j2ee.path.jar}/../junit-4.1.jar"/>
    <copy file="${module.kernel.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" tofile="${j2ee.path.jar}/../log4j-1.2.14.jar"/>
    <dirname property="jar.dir2" file="${j2ee.path.jar}/../BusinessObjects.jar"/>
    <mkdir dir="${jar.dir2}"/>
    <jar destfile="${j2ee.path.jar}/../BusinessObjects.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.businessobjects.basedir}/classes/production/BusinessObjects"/>
    </jar>
    <dirname property="jar.dir3" file="${j2ee.path.jar}/../DAO.jar"/>
    <mkdir dir="${jar.dir3}"/>
    <jar destfile="${j2ee.path.jar}/../DAO.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.dao.basedir}/classes/production/DAO"/>
    </jar>
    <dirname property="jar.dir4" file="${j2ee.path.jar}/../Exception.jar"/>
    <mkdir dir="${jar.dir4}"/>
    <jar destfile="${j2ee.path.jar}/../Exception.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.exception.basedir}/classes/production/Exception"/>
    </jar>
    <dirname property="jar.dir5" file="${j2ee.path.jar}/../message.jar"/>
    <mkdir dir="${jar.dir5}"/>
    <jar destfile="${j2ee.path.jar}/../message.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.message.basedir}/classes/production/message"/>
    </jar>
    <dirname property="jar.dir6" file="${j2ee.path.jar}/../Servicelocator.jar"/>
    <mkdir dir="${jar.dir6}"/>
    <jar destfile="${j2ee.path.jar}/../Servicelocator.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.servicelocator.basedir}/classes/production/Servicelocator"/>
    </jar>
    <dirname property="jar.dir7" file="${j2ee.path.jar}/../Utilities.jar"/>
    <mkdir dir="${jar.dir7}"/>
    <jar destfile="${j2ee.path.jar}/../Utilities.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.utilities.basedir}/classes/production/Utilities"/>
    </jar>
  </target>


  <!-- Module Logbuch -->

  <dirname property="module.logbuch.basedir" file="${ant.file}"/>



  <property name="compiler.args.logbuch" value="${compiler.args}"/>

  <property name="logbuch.output.dir" value="${module.logbuch.basedir}/classes/production/Logbuch"/>
  <property name="logbuch.testoutput.dir" value="${module.logbuch.basedir}/classes/test/Logbuch"/>

  <path id="logbuch.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="logbuch.module.classpath">
    <path refid="library.weblogic-9.1.classpath"/>
    <path refid="library.commons-logging-1.1.classpath"/>
    <pathelement location="${dao.output.dir}"/>
    <pathelement location="${dao.testoutput.dir}"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
    <pathelement location="${exception.output.dir}"/>
    <pathelement location="${exception.testoutput.dir}"/>
    <path refid="library.junit-4.1.classpath"/>
    <pathelement location="${message.output.dir}"/>
    <pathelement location="${message.testoutput.dir}"/>
  </path>


  <patternset id="excluded.from.module.logbuch">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.logbuch">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.logbuch"/>
  </patternset>

  <path id="logbuch.module.sourcepath">
    <dirset dir="${module.logbuch.basedir}/Server/logbuch">
      <include name="src"/>
    </dirset>
  </path>

  <path id="logbuch.module.test.sourcepath">
    <dirset dir="${module.logbuch.basedir}/Server/logbuch">
      <include name="tsrc"/>
    </dirset>
  </path>


  <target name="compile.module.logbuch" depends="compile.module.logbuch.production,compile.module.logbuch.tests" description="Compile module Logbuch"/>

  <target name="compile.module.logbuch.production" depends="compile.module.dao,compile.module.servicelocator,compile.module.businessobjects,compile.module.exception,compile.module.message" description="Compile module Logbuch; production classes">
    <mkdir dir="${logbuch.output.dir}"/>
    <javac destdir="${logbuch.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.logbuch}"/>
      <bootclasspath refid="logbuch.module.bootclasspath"/>
      <classpath refid="logbuch.module.classpath"/>
      <src refid="logbuch.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.logbuch"/>
    </javac>

    <copy todir="${logbuch.output.dir}">
      <fileset dir="${module.logbuch.basedir}/Server/logbuch/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.logbuch"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.logbuch.tests" depends="compile.module.logbuch.production" description="compile module Logbuch; test classes" unless="skip.tests">
    <mkdir dir="${logbuch.testoutput.dir}"/>
    <javac destdir="${logbuch.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.logbuch}"/>
      <classpath refid="logbuch.module.classpath"/>
      <classpath location="${logbuch.output.dir}"/>
      <src refid="logbuch.module.test.sourcepath"/>
      <patternset refid="excluded.from.compilation.logbuch"/>
    </javac>

    <copy todir="${logbuch.testoutput.dir}">
      <fileset dir="${module.logbuch.basedir}/Server/logbuch/tsrc">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.logbuch"/>
      </fileset>
    </copy>
  </target>

  <target name="clean.module.logbuch" description="cleanup module">
    <delete dir="${logbuch.output.dir}"/>
    <delete dir="${logbuch.testoutput.dir}"/>
  </target>

  <property name="logbuch.path.jar" value="${module.logbuch.basedir}/Server/logbuch/Logbuch.jar"/>
  <target name="j2ee.build.logbuch" depends="compile.module.logbuch, compile.module.businessobjects, compile.module.dao, compile.module.exception, compile.module.message, compile.module.servicelocator" description="Build configured Java EE directories and archives for module 'Logbuch'">
    <antcall target="j2ee.build.jar.logbuch">
      <param name="j2ee.path.jar" value="${logbuch.path.jar}"/>
    </antcall>
  </target>

  <!-- Call the target to build exploded directory for module 'Logbuch'.
       Path to the exploded directory is specified by parameter 'j2ee.dir.exploded' -->
  <target name="j2ee.build.exploded.logbuch" description="Build exploded directory for module 'Logbuch'">
    <copy file="${module.logbuch.basedir}/Server/logbuch/META-INF/weblogic-ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/weblogic-ejb-jar.xml"/>
    <copy file="${module.logbuch.basedir}/Server/logbuch/META-INF/ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/ejb-jar.xml"/>
    <copy todir="${j2ee.dir.exploded}/">
      <fileset dir="${module.logbuch.basedir}/classes/production/Logbuch"/>
    </copy>
  </target>

  <!-- Call the target to build jar archive for module 'Logbuch'.
       Path to the archive file is specified by parameter 'j2ee.path.jar' -->
  <target name="j2ee.build.jar.logbuch" description="Build Java EE archive for module 'Logbuch'">
    <dirname property="jar.dir" file="${j2ee.path.jar}"/>
    <mkdir dir="${jar.dir}"/>
    <jar destfile="${j2ee.path.jar}" duplicate="preserve">
      <manifest>
        <attribute name="Class-Path" value="commons-collections-3.2.jar commons-logging-1.1.jar hibernate3.jar asm-attrs.jar asm.jar cglib-2.1.3.jar junit-4.1.jar log4j-1.2.14.jar BusinessObjects.jar DAO.jar Exception.jar message.jar Servicelocator.jar"/>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <zipfileset dir="${module.logbuch.basedir}/classes/production/Logbuch" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/Server/logbuch/META-INF/ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.logbuch.basedir}/Server/logbuch/META-INF/weblogic-ejb-jar.xml" prefix="META-INF"/>
    </jar>
    <copy file="${module.logbuch.basedir}/libraries/commons-collections/commons-collections-3.2.jar" tofile="${j2ee.path.jar}/../commons-collections-3.2.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/commons-logging/commons-logging-1.1.jar" tofile="${j2ee.path.jar}/../commons-logging-1.1.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/hibernate/hibernate3.jar" tofile="${j2ee.path.jar}/../hibernate3.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/hibernate/lib/asm-attrs.jar" tofile="${j2ee.path.jar}/../asm-attrs.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/hibernate/lib/asm.jar" tofile="${j2ee.path.jar}/../asm.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/hibernate/lib/cglib-2.1.3.jar" tofile="${j2ee.path.jar}/../cglib-2.1.3.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/junit/junit-4.1.jar" tofile="${j2ee.path.jar}/../junit-4.1.jar"/>
    <copy file="${module.logbuch.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" tofile="${j2ee.path.jar}/../log4j-1.2.14.jar"/>
    <dirname property="jar.dir2" file="${j2ee.path.jar}/../BusinessObjects.jar"/>
    <mkdir dir="${jar.dir2}"/>
    <jar destfile="${j2ee.path.jar}/../BusinessObjects.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.businessobjects.basedir}/classes/production/BusinessObjects"/>
    </jar>
    <dirname property="jar.dir3" file="${j2ee.path.jar}/../DAO.jar"/>
    <mkdir dir="${jar.dir3}"/>
    <jar destfile="${j2ee.path.jar}/../DAO.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.dao.basedir}/classes/production/DAO"/>
    </jar>
    <dirname property="jar.dir4" file="${j2ee.path.jar}/../Exception.jar"/>
    <mkdir dir="${jar.dir4}"/>
    <jar destfile="${j2ee.path.jar}/../Exception.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.exception.basedir}/classes/production/Exception"/>
    </jar>
    <dirname property="jar.dir5" file="${j2ee.path.jar}/../message.jar"/>
    <mkdir dir="${jar.dir5}"/>
    <jar destfile="${j2ee.path.jar}/../message.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.message.basedir}/classes/production/message"/>
    </jar>
    <dirname property="jar.dir6" file="${j2ee.path.jar}/../Servicelocator.jar"/>
    <mkdir dir="${jar.dir6}"/>
    <jar destfile="${j2ee.path.jar}/../Servicelocator.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.servicelocator.basedir}/classes/production/Servicelocator"/>
    </jar>
  </target>


  <!-- Module PluginCommon -->

  <dirname property="module.plugincommon.basedir" file="${ant.file}"/>



  <property name="compiler.args.plugincommon" value="${compiler.args}"/>

  <property name="plugincommon.output.dir" value="${module.plugincommon.basedir}/classes/production/PluginCommon"/>
  <property name="plugincommon.testoutput.dir" value="${module.plugincommon.basedir}/classes/test/PluginCommon"/>

  <path id="plugincommon.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="plugincommon.module.classpath">
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.weblogic-9.1.classpath"/>
    <pathelement location="${kernel.output.dir}"/>
    <pathelement location="${kernel.testoutput.dir}"/>
    <pathelement location="${message.output.dir}"/>
    <pathelement location="${message.testoutput.dir}"/>
    <pathelement location="${logbuch.output.dir}"/>
    <pathelement location="${logbuch.testoutput.dir}"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
    <path refid="library.poi-2.5.1.classpath"/>
    <path refid="library.apache-ant.classpath"/>
    <path refid="library.log4j-1.2.14.classpath"/>
    <pathelement location="${exception.output.dir}"/>
    <pathelement location="${exception.testoutput.dir}"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <path refid="library.jaxb.classpath"/>
    <pathelement location="${dao.output.dir}"/>
    <pathelement location="${dao.testoutput.dir}"/>
    <pathelement location="${utilities.output.dir}"/>
    <pathelement location="${utilities.testoutput.dir}"/>
  </path>


  <patternset id="excluded.from.module.plugincommon">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.plugincommon">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.plugincommon"/>
  </patternset>

  <path id="plugincommon.module.sourcepath">
    <dirset dir="${module.plugincommon.basedir}/Server/plugins/common">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.plugincommon" depends="compile.module.plugincommon.production,compile.module.plugincommon.tests" description="Compile module PluginCommon"/>

  <target name="compile.module.plugincommon.production" depends="compile.module.kernel,compile.module.message,compile.module.logbuch,compile.module.businessobjects,compile.module.exception,compile.module.servicelocator,compile.module.dao,compile.module.utilities" description="Compile module PluginCommon; production classes">
    <mkdir dir="${plugincommon.output.dir}"/>
    <javac destdir="${plugincommon.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.plugincommon}"/>
      <bootclasspath refid="plugincommon.module.bootclasspath"/>
      <classpath refid="plugincommon.module.classpath"/>
      <src refid="plugincommon.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.plugincommon"/>
    </javac>

    <copy todir="${plugincommon.output.dir}">
      <fileset dir="${module.plugincommon.basedir}/Server/plugins/common/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.plugincommon"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.plugincommon.tests" depends="compile.module.plugincommon.production" description="compile module PluginCommon; test classes" unless="skip.tests"/>

  <target name="clean.module.plugincommon" description="cleanup module">
    <delete dir="${plugincommon.output.dir}"/>
    <delete dir="${plugincommon.testoutput.dir}"/>
  </target>


  <!-- Module UgrVPO -->

  <dirname property="module.ugrvpo.basedir" file="${ant.file}"/>



  <property name="compiler.args.ugrvpo" value="${compiler.args}"/>

  <property name="ugrvpo.output.dir" value="${module.ugrvpo.basedir}/classes/production/UgrVPO"/>
  <property name="ugrvpo.testoutput.dir" value="${module.ugrvpo.basedir}/classes/test/UgrVPO"/>

  <path id="ugrvpo.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="ugrvpo.module.classpath">
    <path refid="library.apache-ant.classpath"/>
    <path refid="library.weblogic-9.1.classpath"/>
    <pathelement location="${plugincommon.output.dir}"/>
    <pathelement location="${plugincommon.testoutput.dir}"/>
    <path refid="library.commons-logging-1.1.classpath"/>
    <pathelement location="${message.output.dir}"/>
    <pathelement location="${message.testoutput.dir}"/>
    <pathelement location="${dao.output.dir}"/>
    <pathelement location="${dao.testoutput.dir}"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
    <path refid="library.poi-2.5.1.classpath"/>
    <pathelement location="${exception.output.dir}"/>
    <pathelement location="${exception.testoutput.dir}"/>
    <path refid="library.hibernate3.classpath"/>
    <pathelement location="${logbuch.output.dir}"/>
    <pathelement location="${logbuch.testoutput.dir}"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <path refid="library.junit-4.1.classpath"/>
    <path refid="library.log4j-1.2.14.classpath"/>
    <path refid="library.jaxb.classpath"/>
    <pathelement location="${utilities.output.dir}"/>
    <pathelement location="${utilities.testoutput.dir}"/>
    <path refid="library.commons-net-1.4.1.classpath"/>
  </path>


  <patternset id="excluded.from.module.ugrvpo">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.ugrvpo">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.ugrvpo"/>
  </patternset>

  <path id="ugrvpo.module.sourcepath">
    <dirset dir="${module.ugrvpo.basedir}/Server/plugins/UgrVPO">
      <include name="src"/>
    </dirset>
  </path>

  <path id="ugrvpo.module.test.sourcepath">
    <dirset dir="${module.ugrvpo.basedir}/Server/plugins/UgrVPO">
      <include name="tsrc"/>
    </dirset>
  </path>


  <target name="compile.module.ugrvpo" depends="compile.module.ugrvpo.production,compile.module.ugrvpo.tests" description="Compile module UgrVPO"/>

  <target name="compile.module.ugrvpo.production" depends="compile.module.plugincommon,compile.module.message,compile.module.dao,compile.module.businessobjects,compile.module.exception,compile.module.logbuch,compile.module.servicelocator,compile.module.utilities" description="Compile module UgrVPO; production classes">
    <mkdir dir="${ugrvpo.output.dir}"/>
    <javac destdir="${ugrvpo.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.ugrvpo}"/>
      <bootclasspath refid="ugrvpo.module.bootclasspath"/>
      <classpath refid="ugrvpo.module.classpath"/>
      <src refid="ugrvpo.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.ugrvpo"/>
    </javac>

    <copy todir="${ugrvpo.output.dir}">
      <fileset dir="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.ugrvpo"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.ugrvpo.tests" depends="compile.module.ugrvpo.production" description="compile module UgrVPO; test classes" unless="skip.tests">
    <mkdir dir="${ugrvpo.testoutput.dir}"/>
    <javac destdir="${ugrvpo.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.ugrvpo}"/>
      <classpath refid="ugrvpo.module.classpath"/>
      <classpath location="${ugrvpo.output.dir}"/>
      <src refid="ugrvpo.module.test.sourcepath"/>
      <patternset refid="excluded.from.compilation.ugrvpo"/>
    </javac>

    <copy todir="${ugrvpo.testoutput.dir}">
      <fileset dir="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/tsrc">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.ugrvpo"/>
      </fileset>
    </copy>
  </target>

  <target name="clean.module.ugrvpo" description="cleanup module">
    <delete dir="${ugrvpo.output.dir}"/>
    <delete dir="${ugrvpo.testoutput.dir}"/>
  </target>

  <property name="ugrvpo.path.jar" value="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/UgrVPO.jar"/>
  <target name="j2ee.build.ugrvpo" depends="compile.module.ugrvpo, compile.module.businessobjects, compile.module.dao, compile.module.exception, compile.module.message, compile.module.plugincommon, compile.module.servicelocator, compile.module.utilities" description="Build configured Java EE directories and archives for module 'UgrVPO'">
    <antcall target="j2ee.build.jar.ugrvpo">
      <param name="j2ee.path.jar" value="${ugrvpo.path.jar}"/>
    </antcall>
  </target>

  <!-- Call the target to build exploded directory for module 'UgrVPO'.
       Path to the exploded directory is specified by parameter 'j2ee.dir.exploded' -->
  <target name="j2ee.build.exploded.ugrvpo" description="Build exploded directory for module 'UgrVPO'">
    <copy file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/conf/ugrvpoImportProperties.xml" tofile="${j2ee.dir.exploded}/conf/ugrvpoImportProperties.xml"/>
    <copy file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/conf/processorConfiguration.xml" tofile="${j2ee.dir.exploded}/conf/processorConfiguration.xml"/>
    <copy file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/META-INF/weblogic-ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/weblogic-ejb-jar.xml"/>
    <copy file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/META-INF/ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/ejb-jar.xml"/>
    <copy todir="${j2ee.dir.exploded}/">
      <fileset dir="${module.ugrvpo.basedir}/classes/production/UgrVPO"/>
    </copy>
  </target>

  <!-- Call the target to build jar archive for module 'UgrVPO'.
       Path to the archive file is specified by parameter 'j2ee.path.jar' -->
  <target name="j2ee.build.jar.ugrvpo" description="Build Java EE archive for module 'UgrVPO'">
    <dirname property="jar.dir" file="${j2ee.path.jar}"/>
    <mkdir dir="${jar.dir}"/>
    <jar destfile="${j2ee.path.jar}" duplicate="preserve">
      <manifest>
        <attribute name="Class-Path" value="ant-antlr.jar ant-apache-bcel.jar ant-apache-bsf.jar ant-apache-log4j.jar ant-apache-oro.jar ant-apache-regexp.jar ant-apache-resolver.jar ant-commons-logging.jar ant-commons-net.jar ant-jai.jar ant-javamail.jar ant-jdepend.jar ant-jmf.jar ant-jsch.jar ant-junit.jar ant-launcher.jar ant-netrexx.jar ant-nodeps.jar ant-starteam.jar ant-stylebook.jar ant-swing.jar ant-testutil.jar ant-trax.jar ant-weblogic.jar ant.jar xercesImpl.jar xml-apis.jar commons-collections-3.2.jar commons-logging-1.1.jar commons-net-1.4.1.jar dom4j-1.6.1.jar hibernate3.jar asm-attrs.jar asm.jar cglib-2.1.3.jar activation.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jaxb1-impl.jar jsr173_1.0_api.jar junit-4.1.jar log4j-1.2.14.jar poi-2.5.1-final-20040804.jar BusinessObjects.jar DAO.jar Exception.jar message.jar PluginCommon.jar Servicelocator.jar Utilities.jar"/>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <zipfileset dir="${module.ugrvpo.basedir}/classes/production/UgrVPO" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/META-INF/ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/META-INF/weblogic-ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/conf/processorConfiguration.xml" prefix="conf"/>
      <zipfileset file="${module.ugrvpo.basedir}/Server/plugins/UgrVPO/conf/ugrvpoImportProperties.xml" prefix="conf"/>
    </jar>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-antlr.jar" tofile="${j2ee.path.jar}/../ant-antlr.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-bcel.jar" tofile="${j2ee.path.jar}/../ant-apache-bcel.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-bsf.jar" tofile="${j2ee.path.jar}/../ant-apache-bsf.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-log4j.jar" tofile="${j2ee.path.jar}/../ant-apache-log4j.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-oro.jar" tofile="${j2ee.path.jar}/../ant-apache-oro.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-regexp.jar" tofile="${j2ee.path.jar}/../ant-apache-regexp.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-resolver.jar" tofile="${j2ee.path.jar}/../ant-apache-resolver.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-commons-logging.jar" tofile="${j2ee.path.jar}/../ant-commons-logging.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-commons-net.jar" tofile="${j2ee.path.jar}/../ant-commons-net.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jai.jar" tofile="${j2ee.path.jar}/../ant-jai.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-javamail.jar" tofile="${j2ee.path.jar}/../ant-javamail.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jdepend.jar" tofile="${j2ee.path.jar}/../ant-jdepend.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jmf.jar" tofile="${j2ee.path.jar}/../ant-jmf.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jsch.jar" tofile="${j2ee.path.jar}/../ant-jsch.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-junit.jar" tofile="${j2ee.path.jar}/../ant-junit.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-launcher.jar" tofile="${j2ee.path.jar}/../ant-launcher.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-netrexx.jar" tofile="${j2ee.path.jar}/../ant-netrexx.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-nodeps.jar" tofile="${j2ee.path.jar}/../ant-nodeps.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-starteam.jar" tofile="${j2ee.path.jar}/../ant-starteam.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-stylebook.jar" tofile="${j2ee.path.jar}/../ant-stylebook.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-swing.jar" tofile="${j2ee.path.jar}/../ant-swing.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-testutil.jar" tofile="${j2ee.path.jar}/../ant-testutil.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-trax.jar" tofile="${j2ee.path.jar}/../ant-trax.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-weblogic.jar" tofile="${j2ee.path.jar}/../ant-weblogic.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant.jar" tofile="${j2ee.path.jar}/../ant.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/xercesImpl.jar" tofile="${j2ee.path.jar}/../xercesImpl.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/xml-apis.jar" tofile="${j2ee.path.jar}/../xml-apis.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/commons-collections/commons-collections-3.2.jar" tofile="${j2ee.path.jar}/../commons-collections-3.2.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/commons-logging/commons-logging-1.1.jar" tofile="${j2ee.path.jar}/../commons-logging-1.1.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/commons-net/commons-net-1.4.1.jar" tofile="${j2ee.path.jar}/../commons-net-1.4.1.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/dom4j/dom4j-1.6.1.jar" tofile="${j2ee.path.jar}/../dom4j-1.6.1.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/hibernate/hibernate3.jar" tofile="${j2ee.path.jar}/../hibernate3.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/hibernate/lib/asm-attrs.jar" tofile="${j2ee.path.jar}/../asm-attrs.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/hibernate/lib/asm.jar" tofile="${j2ee.path.jar}/../asm.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/hibernate/lib/cglib-2.1.3.jar" tofile="${j2ee.path.jar}/../cglib-2.1.3.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/jaxb/lib/activation.jar" tofile="${j2ee.path.jar}/../activation.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb-api.jar" tofile="${j2ee.path.jar}/../jaxb-api.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb-impl.jar" tofile="${j2ee.path.jar}/../jaxb-impl.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb-xjc.jar" tofile="${j2ee.path.jar}/../jaxb-xjc.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb1-impl.jar" tofile="${j2ee.path.jar}/../jaxb1-impl.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jsr173_1.0_api.jar" tofile="${j2ee.path.jar}/../jsr173_1.0_api.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/junit/junit-4.1.jar" tofile="${j2ee.path.jar}/../junit-4.1.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" tofile="${j2ee.path.jar}/../log4j-1.2.14.jar"/>
    <copy file="${module.ugrvpo.basedir}/libraries/poi/poi-2.5.1-final-20040804.jar" tofile="${j2ee.path.jar}/../poi-2.5.1-final-20040804.jar"/>
    <dirname property="jar.dir2" file="${j2ee.path.jar}/../BusinessObjects.jar"/>
    <mkdir dir="${jar.dir2}"/>
    <jar destfile="${j2ee.path.jar}/../BusinessObjects.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.businessobjects.basedir}/classes/production/BusinessObjects"/>
    </jar>
    <dirname property="jar.dir3" file="${j2ee.path.jar}/../DAO.jar"/>
    <mkdir dir="${jar.dir3}"/>
    <jar destfile="${j2ee.path.jar}/../DAO.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.dao.basedir}/classes/production/DAO"/>
    </jar>
    <dirname property="jar.dir4" file="${j2ee.path.jar}/../Exception.jar"/>
    <mkdir dir="${jar.dir4}"/>
    <jar destfile="${j2ee.path.jar}/../Exception.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.exception.basedir}/classes/production/Exception"/>
    </jar>
    <dirname property="jar.dir5" file="${j2ee.path.jar}/../message.jar"/>
    <mkdir dir="${jar.dir5}"/>
    <jar destfile="${j2ee.path.jar}/../message.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.message.basedir}/classes/production/message"/>
    </jar>
    <dirname property="jar.dir6" file="${j2ee.path.jar}/../PluginCommon.jar"/>
    <mkdir dir="${jar.dir6}"/>
    <jar destfile="${j2ee.path.jar}/../PluginCommon.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.plugincommon.basedir}/classes/production/PluginCommon"/>
    </jar>
    <dirname property="jar.dir7" file="${j2ee.path.jar}/../Servicelocator.jar"/>
    <mkdir dir="${jar.dir7}"/>
    <jar destfile="${j2ee.path.jar}/../Servicelocator.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.servicelocator.basedir}/classes/production/Servicelocator"/>
    </jar>
    <dirname property="jar.dir8" file="${j2ee.path.jar}/../Utilities.jar"/>
    <mkdir dir="${jar.dir8}"/>
    <jar destfile="${j2ee.path.jar}/../Utilities.jar" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <fileset dir="${module.utilities.basedir}/classes/production/Utilities"/>
    </jar>
  </target>


  <!-- Module Client -->

  <dirname property="module.client.basedir" file="${ant.file}"/>



  <property name="compiler.args.client" value="${compiler.args}"/>

  <property name="client.output.dir" value="${module.client.basedir}/classes/production/Client"/>
  <property name="client.testoutput.dir" value="${module.client.basedir}/classes/test/Client"/>

  <path id="client.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="client.module.classpath">
    <path refid="library.commons-collections-3.2.classpath"/>
    <path refid="library.commons-configuration-1.3.classpath"/>
    <path refid="library.commons-lang-2.2.classpath"/>
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.commons-net-1.4.1.classpath"/>
    <path refid="library.log4j-1.2.14.classpath"/>
    <path refid="library.junit-4.1.classpath"/>
    <path refid="library.swingx-2006_10_27.classpath"/>
    <path refid="library.binding-1.3.0.classpath"/>
    <path refid="library.forms-1.0.7.classpath"/>
    <path refid="library.looks-2.1.2.classpath"/>
    <path refid="library.validation-1.3.1.classpath"/>
    <path refid="library.weblogic-9.1.classpath"/>
    <pathelement location="${businessobjects.output.dir}"/>
    <pathelement location="${businessobjects.testoutput.dir}"/>
    <path refid="library.javahelp.classpath"/>
    <path refid="library.ui-designer.classpath"/>
    <path refid="library.jaxb.classpath"/>
    <pathelement location="${module.client.basedir}/libraries/jnlp/javaws.jar"/>
    <pathelement location="${benutzerverwaltung.output.dir}"/>
    <pathelement location="${benutzerverwaltung.testoutput.dir}"/>
    <pathelement location="${servicelocator.output.dir}"/>
    <pathelement location="${servicelocator.testoutput.dir}"/>
    <pathelement location="${logbuch.output.dir}"/>
    <pathelement location="${logbuch.testoutput.dir}"/>
    <pathelement location="${exception.output.dir}"/>
    <pathelement location="${exception.testoutput.dir}"/>
    <pathelement location="${kernel.output.dir}"/>
    <pathelement location="${kernel.testoutput.dir}"/>
  </path>


  <patternset id="excluded.from.module.client">
    <patternset refid="ignored.files"/>
    <exclude name="resources/help/eclipse/**"/>
    <exclude name="resources/help/latex/**"/>
  </patternset>

  <patternset id="excluded.from.compilation.client">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.client"/>
  </patternset>

  <path id="client.module.sourcepath">
    <dirset dir="${module.client.basedir}/Client">
      <include name="src"/>
    </dirset>
  </path>

  <path id="client.module.test.sourcepath">
    <dirset dir="${module.client.basedir}/Client">
      <include name="tsrc"/>
    </dirset>
  </path>


  <target name="compile.module.client" depends="compile.module.client.production,compile.module.client.tests" description="Compile module Client"/>

  <target name="compile.module.client.production" depends="compile.module.businessobjects,compile.module.benutzerverwaltung,compile.module.servicelocator,compile.module.logbuch,compile.module.exception,compile.module.kernel" description="Compile module Client; production classes">
    <mkdir dir="${client.output.dir}"/>
    <javac destdir="${client.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.client}"/>
      <bootclasspath refid="client.module.bootclasspath"/>
      <classpath refid="client.module.classpath"/>
      <src refid="client.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.client"/>
    </javac>

    <copy todir="${client.output.dir}">
      <fileset dir="${module.client.basedir}/Client/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.client"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.client.tests" depends="compile.module.client.production" description="compile module Client; test classes" unless="skip.tests">
    <mkdir dir="${client.testoutput.dir}"/>
    <javac destdir="${client.testoutput.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.client}"/>
      <classpath refid="client.module.classpath"/>
      <classpath location="${client.output.dir}"/>
      <src refid="client.module.test.sourcepath"/>
      <patternset refid="excluded.from.compilation.client"/>
    </javac>

    <copy todir="${client.testoutput.dir}">
      <fileset dir="${module.client.basedir}/Client/tsrc">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.client"/>
      </fileset>
    </copy>
  </target>

  <target name="clean.module.client" description="cleanup module">
    <delete dir="${client.output.dir}"/>
    <delete dir="${client.testoutput.dir}"/>
  </target>


  <!-- Module Beispiele -->

  <dirname property="module.beispiele.basedir" file="${ant.file}"/>



  <property name="compiler.args.beispiele" value="${compiler.args}"/>

  <property name="beispiele.output.dir" value="${module.beispiele.basedir}/classes/production/Beispiele"/>
  <property name="beispiele.testoutput.dir" value="${module.beispiele.basedir}/classes/test/Beispiele"/>

  <path id="beispiele.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="beispiele.module.classpath">
    <path refid="library.commons-collections-3.2.classpath"/>
    <path refid="library.binding-1.3.0.classpath"/>
    <path refid="library.commons-configuration-1.3.classpath"/>
    <path refid="library.commons-lang-2.2.classpath"/>
    <path refid="library.commons-logging-1.1.classpath"/>
    <path refid="library.forms-1.0.7.classpath"/>
    <path refid="library.log4j-1.2.14.classpath"/>
    <path refid="library.looks-2.1.2.classpath"/>
    <path refid="library.swingx-2006_10_27.classpath"/>
    <path refid="library.validation-1.3.1.classpath"/>
    <pathelement location="${client.output.dir}"/>
    <pathelement location="${client.testoutput.dir}"/>
    <pathelement location="${module.beispiele.basedir}/libraries/idea/asm-commons.jar"/>
    <pathelement location="${module.beispiele.basedir}/libraries/idea/asm.jar"/>
    <pathelement location="${module.beispiele.basedir}/libraries/idea/javac2.jar"/>
    <pathelement location="${module.beispiele.basedir}/libraries/idea/jdom.jar"/>
  </path>


  <patternset id="excluded.from.module.beispiele">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.beispiele">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.beispiele"/>
  </patternset>

  <path id="beispiele.module.sourcepath">
    <dirset dir="${module.beispiele.basedir}/Beispiele">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.beispiele" depends="compile.module.beispiele.production,compile.module.beispiele.tests" description="Compile module Beispiele"/>

  <target name="compile.module.beispiele.production" depends="compile.module.client" description="Compile module Beispiele; production classes">
    <mkdir dir="${beispiele.output.dir}"/>
    <javac destdir="${beispiele.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.beispiele}"/>
      <bootclasspath refid="beispiele.module.bootclasspath"/>
      <classpath refid="beispiele.module.classpath"/>
      <src refid="beispiele.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.beispiele"/>
    </javac>

    <copy todir="${beispiele.output.dir}">
      <fileset dir="${module.beispiele.basedir}/Beispiele/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.beispiele"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.beispiele.tests" depends="compile.module.beispiele.production" description="compile module Beispiele; test classes" unless="skip.tests"/>

  <target name="clean.module.beispiele" description="cleanup module">
    <delete dir="${beispiele.output.dir}"/>
    <delete dir="${beispiele.testoutput.dir}"/>
  </target>


  <!-- Module Auskunft -->

  <dirname property="module.auskunft.basedir" file="${ant.file}"/>



  <property name="compiler.args.auskunft" value="${compiler.args}"/>

  <property name="auskunft.output.dir" value="${module.auskunft.basedir}/classes/production/Auskunft"/>
  <property name="auskunft.testoutput.dir" value="${module.auskunft.basedir}/classes/test/Auskunft"/>

  <path id="auskunft.module.bootclasspath">
    <!-- Paths to be included in compilation bootclasspath -->
  </path>

  <path id="auskunft.module.classpath">
    <path refid="library.weblogic-9.1.classpath"/>
  </path>


  <patternset id="excluded.from.module.auskunft">
    <patternset refid="ignored.files"/>
  </patternset>

  <patternset id="excluded.from.compilation.auskunft">
    <patternset refid="compiler.excluded"/>
    <patternset refid="excluded.from.module.auskunft"/>
  </patternset>

  <path id="auskunft.module.sourcepath">
    <dirset dir="${module.auskunft.basedir}/Server/auskunft">
      <include name="src"/>
    </dirset>
  </path>


  <target name="compile.module.auskunft" depends="compile.module.auskunft.production,compile.module.auskunft.tests" description="Compile module Auskunft"/>

  <target name="compile.module.auskunft.production" description="Compile module Auskunft; production classes">
    <mkdir dir="${auskunft.output.dir}"/>
    <javac destdir="${auskunft.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true">
      <compilerarg line="${compiler.args.auskunft}"/>
      <bootclasspath refid="auskunft.module.bootclasspath"/>
      <classpath refid="auskunft.module.classpath"/>
      <src refid="auskunft.module.sourcepath"/>
      <patternset refid="excluded.from.compilation.auskunft"/>
    </javac>

    <copy todir="${auskunft.output.dir}">
      <fileset dir="${module.auskunft.basedir}/Server/auskunft/src">
        <patternset refid="compiler.resources"/>
        <type type="file"/>
        <patternset refid="excluded.from.compilation.auskunft"/>
      </fileset>
    </copy>
  </target>

  <target name="compile.module.auskunft.tests" depends="compile.module.auskunft.production" description="compile module Auskunft; test classes" unless="skip.tests"/>

  <target name="clean.module.auskunft" description="cleanup module">
    <delete dir="${auskunft.output.dir}"/>
    <delete dir="${auskunft.testoutput.dir}"/>
  </target>

  <property name="auskunft.path.jar" value="${module.auskunft.basedir}/Server/auskunft/Auskunft.jar"/>
  <target name="j2ee.build.auskunft" depends="compile.module.auskunft" description="Build configured Java EE directories and archives for module 'Auskunft'">
    <antcall target="j2ee.build.jar.auskunft">
      <param name="j2ee.path.jar" value="${auskunft.path.jar}"/>
    </antcall>
  </target>

  <!-- Call the target to build exploded directory for module 'Auskunft'.
       Path to the exploded directory is specified by parameter 'j2ee.dir.exploded' -->
  <target name="j2ee.build.exploded.auskunft" description="Build exploded directory for module 'Auskunft'">
    <copy file="${module.auskunft.basedir}/Server/auskunft/META-INF/weblogic-ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/weblogic-ejb-jar.xml"/>
    <copy file="${module.auskunft.basedir}/Server/auskunft/META-INF/ejb-jar.xml" tofile="${j2ee.dir.exploded}/META-INF/ejb-jar.xml"/>
    <copy todir="${j2ee.dir.exploded}/">
      <fileset dir="${module.auskunft.basedir}/classes/production/Auskunft"/>
    </copy>
  </target>

  <!-- Call the target to build jar archive for module 'Auskunft'.
       Path to the archive file is specified by parameter 'j2ee.path.jar' -->
  <target name="j2ee.build.jar.auskunft" description="Build Java EE archive for module 'Auskunft'">
    <dirname property="jar.dir" file="${j2ee.path.jar}"/>
    <mkdir dir="${jar.dir}"/>
    <jar destfile="${j2ee.path.jar}" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <zipfileset dir="${module.auskunft.basedir}/classes/production/Auskunft" prefix=""/>
      <zipfileset file="${module.auskunft.basedir}/Server/auskunft/META-INF/ejb-jar.xml" prefix="META-INF"/>
      <zipfileset file="${module.auskunft.basedir}/Server/auskunft/META-INF/weblogic-ejb-jar.xml" prefix="META-INF"/>
    </jar>
  </target>


  <!-- Module AuftragseingangApp -->

  <dirname property="module.auftragseingangapp.basedir" file="${ant.file}"/>




  <target name="compile.module.auftragseingangapp" depends="compile.module.auftragseingangapp.production,compile.module.auftragseingangapp.tests" description="Compile module AuftragseingangApp"/>

  <target name="compile.module.auftragseingangapp.production" depends="compile.module.kernel,compile.module.logbuch,compile.module.auskunft,compile.module.benutzerverwaltung,compile.module.ugrvpo" description="Compile module AuftragseingangApp; production classes"/>

  <target name="compile.module.auftragseingangapp.tests" depends="compile.module.auftragseingangapp.production" description="compile module AuftragseingangApp; test classes" unless="skip.tests"/>

  <target name="clean.module.auftragseingangapp" description="cleanup module"/>

  <property name="auftragseingangapp.path.jar" value="${module.auftragseingangapp.basedir}/AuftragseingangApp/AuftragseingangApp.ear"/>
  <target name="j2ee.build.auftragseingangapp" depends="j2ee.build.auskunft, j2ee.build.benutzerverwaltung, j2ee.build.kernel, j2ee.build.logbuch, j2ee.build.ugrvpo" description="Build configured Java EE directories and archives for module 'AuftragseingangApp'">
    <antcall target="j2ee.build.jar.auftragseingangapp">
      <param name="j2ee.path.jar" value="${auftragseingangapp.path.jar}"/>
    </antcall>
  </target>

  <!-- Call the target to build exploded directory for module 'AuftragseingangApp'.
       Path to the exploded directory is specified by parameter 'j2ee.dir.exploded' -->
  <target name="j2ee.build.exploded.auftragseingangapp" description="Build exploded directory for module 'AuftragseingangApp'">
    <copy file="${module.auftragseingangapp.basedir}/AuftragseingangApp/META-INF/weblogic-application.xml" tofile="${j2ee.dir.exploded}/META-INF/weblogic-application.xml"/>
    <copy file="${module.auftragseingangapp.basedir}/AuftragseingangApp/META-INF/application.xml" tofile="${j2ee.dir.exploded}/META-INF/application.xml"/>
    <antcall target="j2ee.build.exploded.ugrvpo">
      <param name="j2ee.dir.exploded" value="${j2ee.dir.exploded}/UgrVPO.jar"/>
    </antcall>
    <antcall target="j2ee.build.exploded.logbuch">
      <param name="j2ee.dir.exploded" value="${j2ee.dir.exploded}/Logbuch.jar"/>
    </antcall>
    <antcall target="j2ee.build.exploded.kernel">
      <param name="j2ee.dir.exploded" value="${j2ee.dir.exploded}/Kernel.jar"/>
    </antcall>
    <antcall target="j2ee.build.exploded.benutzerverwaltung">
      <param name="j2ee.dir.exploded" value="${j2ee.dir.exploded}/Benutzerverwaltung.jar"/>
    </antcall>
    <antcall target="j2ee.build.exploded.auskunft">
      <param name="j2ee.dir.exploded" value="${j2ee.dir.exploded}/Auskunft.jar"/>
    </antcall>
  </target>

  <!-- Call the target to build ear archive for module 'AuftragseingangApp'.
       Path to the archive file is specified by parameter 'j2ee.path.jar' -->
  <target name="j2ee.build.jar.auftragseingangapp" description="Build Java EE archive for module 'AuftragseingangApp'">
    <dirname property="jar.dir" file="${j2ee.path.jar}"/>
    <mkdir dir="${jar.dir}"/>
    <jar destfile="${j2ee.path.jar}" duplicate="preserve">
      <manifest>
        <attribute name="Created-By" value="IntelliJ IDEA"/>
        <attribute name="Manifest-Version" value="1.0"/>
      </manifest>
      <zipfileset file="${auskunft.path.jar}" prefix=""/>
      <zipfileset file="${module.benutzerverwaltung.basedir}/libraries/commons-lang/commons-lang-2.2.jar" prefix=""/>
      <zipfileset file="${module.benutzerverwaltung.basedir}/libraries/commons-logging/commons-logging-1.1.jar" prefix=""/>
      <zipfileset file="${module.benutzerverwaltung.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" prefix=""/>
      <zipfileset file="${benutzerverwaltung.path.jar}" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/commons-collections/commons-collections-3.2.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/commons-logging/commons-logging-1.1.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/dom4j/dom4j-1.6.1.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/hibernate/hibernate3.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/hibernate/lib/asm-attrs.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/hibernate/lib/asm.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/hibernate/lib/cglib-2.1.3.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/jaxb/lib/activation.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb-api.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb-impl.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb-xjc.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/jaxb/lib/jaxb1-impl.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/jaxb/lib/jsr173_1.0_api.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/junit/junit-4.1.jar" prefix=""/>
      <zipfileset file="${module.kernel.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" prefix=""/>
      <zipfileset file="${kernel.path.jar}" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/commons-collections/commons-collections-3.2.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/commons-logging/commons-logging-1.1.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/hibernate/hibernate3.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/hibernate/lib/asm-attrs.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/hibernate/lib/asm.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/hibernate/lib/cglib-2.1.3.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/junit/junit-4.1.jar" prefix=""/>
      <zipfileset file="${module.logbuch.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" prefix=""/>
      <zipfileset file="${logbuch.path.jar}" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-antlr.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-bcel.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-bsf.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-log4j.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-oro.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-regexp.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-apache-resolver.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-commons-logging.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-commons-net.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jai.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-javamail.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jdepend.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jmf.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-jsch.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-junit.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-launcher.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-netrexx.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-nodeps.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-starteam.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-stylebook.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-swing.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-testutil.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-trax.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant-weblogic.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/ant.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/xercesImpl.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/apache-ant/lib/xml-apis.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/commons-collections/commons-collections-3.2.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/commons-logging/commons-logging-1.1.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/commons-net/commons-net-1.4.1.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/dom4j/dom4j-1.6.1.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/hibernate/hibernate3.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/hibernate/lib/asm-attrs.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/hibernate/lib/asm.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/hibernate/lib/cglib-2.1.3.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/jaxb/lib/activation.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb-api.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb-impl.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb-xjc.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jaxb1-impl.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/jaxb/lib/jsr173_1.0_api.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/junit/junit-4.1.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/logging-log4j/dist/lib/log4j-1.2.14.jar" prefix=""/>
      <zipfileset file="${module.ugrvpo.basedir}/libraries/poi/poi-2.5.1-final-20040804.jar" prefix=""/>
      <zipfileset file="${ugrvpo.path.jar}" prefix=""/>
      <zipfileset file="${module.auftragseingangapp.basedir}/AuftragseingangApp/META-INF/application.xml" prefix="META-INF"/>
      <zipfileset file="${module.auftragseingangapp.basedir}/AuftragseingangApp/META-INF/weblogic-application.xml" prefix="META-INF"/>
    </jar>
  </target>

  <target name="init" description="Build initialization">
    <!-- Perform any build initialization in this target -->
  </target>

  <target name="clean" depends="clean.module.exception, clean.module.businessobjects, clean.module.dao, clean.module.utilities, clean.module.servicelocator, clean.module.benutzerverwaltung, clean.module.message, clean.module.kernel, clean.module.logbuch, clean.module.plugincommon, clean.module.ugrvpo, clean.module.client, clean.module.beispiele, clean.module.auskunft, clean.module.auftragseingangapp" description="cleanup all"/>

  <target name="all" depends="init, clean, compile.module.exception, compile.module.businessobjects, compile.module.dao, compile.module.utilities, compile.module.servicelocator, j2ee.build.benutzerverwaltung, compile.module.message, j2ee.build.kernel, j2ee.build.logbuch, compile.module.plugincommon, j2ee.build.ugrvpo, compile.module.client, compile.module.beispiele, j2ee.build.auskunft, j2ee.build.auftragseingangapp" description="build all"/>
</project>