<?xml version="1.0"?>
<!DOCTYPE configuration SYSTEM "dtd/Configuration.dtd">
<configuration name="KernelTasks" version="1.0" os="WIN">
  <package name="com.sap.sdt.tools" version="1.0"/>

  <task name="COPY_BINARIES" type="fs">
    <copy toDir="$(TARGET_DIR)" overwrite="true" id="CopyBinaries">
      <fileset dir="$(SOURCE_DIR)/kernel">
        <include name="*"/>
      </fileset>
    </copy>
  </task>

  <task name="RENAME_SAPEVENTS_DLL" type="fs">
   	<if test="$FILE_EXISTS($(TARGET_DIR)/sapevents.dll) == true">
        <delete skipError="true">
          <fileset dir="$(TARGET_DIR)">
               <include name="sapevents.dll.tmp"/>
               <include name="sapevents.dll_*.tmp"/>
          </fileset>
        </delete>
        <move file="$(TARGET_DIR)/sapevents.dll" toFile="$GET_TEMPORARY_FILE_NAME($(TARGET_DIR)/sapevents.dll)" overwrite="true"/>
    </if>
  </task>
  
</configuration>
