<?xml version="1.0" encoding="UTF-8"?>
<project name="autovermietung-int" default="all">
  
  
  <property file="autovermietung.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=""/>
  <property name="compiler.max.memory" value="700m"/>
  <patternset id="ignored.files">
    <exclude name="**/*.hprof/**"/>
    <exclude name="**/*.pyc/**"/>
    <exclude name="**/*.pyo/**"/>
    <exclude name="**/*.rbc/**"/>
    <exclude name="**/*.yarb/**"/>
    <exclude name="**/*~/**"/>
    <exclude name="**/.DS_Store/**"/>
    <exclude name="**/.git/**"/>
    <exclude name="**/.hg/**"/>
    <exclude name="**/.svn/**"/>
    <exclude name="**/CVS/**"/>
    <exclude name="**/__pycache__/**"/>
    <exclude name="**/_svn/**"/>
    <exclude name="**/vssver.scc/**"/>
    <exclude name="**/vssver2.scc/**"/>
  </patternset>
  <patternset id="library.patterns">
    <include name="*.war"/>
    <include name="*.swc"/>
    <include name="*.apk"/>
    <include name="*.zip"/>
    <include name="*.egg"/>
    <include name="*.ane"/>
    <include name="*.jar"/>
    <include name="*.ear"/>
    <include name="*.klib"/>
  </patternset>
  <patternset id="compiler.resources">
    <exclude name="**/?*.java"/>
    <exclude name="**/?*.form"/>
    <exclude name="**/?*.class"/>
    <exclude name="**/?*.groovy"/>
    <exclude name="**/?*.scala"/>
    <exclude name="**/?*.flex"/>
    <exclude name="**/?*.kt"/>
    <exclude name="**/?*.clj"/>
    <exclude name="**/?*.aj"/>
  </patternset>
  
  <!-- JDK definitions -->
  
  <property name="jdk.bin.11" value="${jdk.home.11}/bin"/>
  <path id="jdk.classpath.11">
    <fileset dir="${jdk.home.11}">
      <include name="../jdk-11.0.9.11-hotspot!/java.base"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.compiler"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.datatransfer"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.desktop"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.instrument"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.logging"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.management"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.management.rmi"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.naming"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.net.http"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.prefs"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.rmi"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.scripting"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.se"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.security.jgss"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.security.sasl"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.smartcardio"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.sql"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.sql.rowset"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.transaction.xa"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.xml"/>
      <include name="../jdk-11.0.9.11-hotspot!/java.xml.crypto"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.accessibility"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.aot"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.attach"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.charsets"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.compiler"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.crypto.cryptoki"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.crypto.ec"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.crypto.mscapi"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.dynalink"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.editpad"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.hotspot.agent"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.httpserver"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.ed"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.jvmstat"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.le"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.opt"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.vm.ci"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.vm.compiler"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.internal.vm.compiler.management"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jartool"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.javadoc"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jcmd"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jconsole"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jdeps"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jdi"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jdwp.agent"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jfr"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jlink"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jshell"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jsobject"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.jstatd"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.localedata"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.management"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.management.agent"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.management.jfr"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.naming.dns"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.naming.ldap"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.naming.rmi"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.net"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.pack"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.rmic"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.scripting.nashorn"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.scripting.nashorn.shell"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.sctp"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.security.auth"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.security.jgss"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.unsupported"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.unsupported.desktop"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.xml.dom"/>
      <include name="../jdk-11.0.9.11-hotspot!/jdk.zipfs"/>
    </fileset>
  </path>
  
  <property name="project.jdk.home" value="${jdk.home.11}"/>
  <property name="project.jdk.bin" value="${jdk.bin.11}"/>
  <property name="project.jdk.classpath" value="jdk.classpath.11"/>
  
  
  <!-- Project Libraries -->
  
  <path id="library.mysql-connector-java-8.0.22.classpath">
    <pathelement location="${basedir}/../../../../Downloads/mysql-connector-java-8.0.22.jar"/>
  </path>
  
  <path id="library.oszimtje.classpath">
    <pathelement location="${basedir}/../Documents/Java/oszimtJE.jar"/>
  </path>
  
  <path id="library.oszimtje1.classpath">
    <pathelement location="${basedir}/../../../../Downloads/oszimtJE.jar"/>
  </path>
  <!-- Register Custom Compiler Taskdefs -->
  <property name="javac2.home" value="${idea.home}/lib"/>
  <path id="javac2.classpath">
    <fileset dir="${javac2.home}">
      <include name="javac2.jar"/>
      <include name="jdom.jar"/>
      <include name="asm-all*.jar"/>
      <include name="forms-*.jar"/>
    </fileset>
  </path>
  <target name="register.custom.compilers">
    <taskdef name="javac2" classname="com.intellij.ant.Javac2" classpathref="javac2.classpath"/>
    <taskdef name="instrumentIdeaExtensions" classname="com.intellij.ant.InstrumentIdeaExtensions" classpathref="javac2.classpath"/>
  </target>
  
  <!-- Modules -->
  
  <import file="${basedir}/module_autovermietung-int.xml"/>
  
  <target name="init" description="Build initialization">
    <!-- Perform any build initialization in this target -->
  </target>
  
  <target name="clean" depends="clean.module.autovermietung-int" description="cleanup all"/>
  
  <target name="build.modules" depends="init, clean, compile.module.autovermietung-int" description="build all modules"/>
  
  <target name="all" depends="build.modules" description="build all"/>
</project>