<?xml version="1.0" encoding="UTF-8"?>
<project name="TemperatureConverter" default="cobolbuild" basedir="." xmlns:ac="antlib:net.sf.antcontrib">
	<taskdef resource="com/microfocus/ant/antlib.xml"/>
	<!--  ***********************************  -->
	<!--  * General property initialisation *  -->
	<!--  ***********************************  -->
	<property environment="env"/>
	<property name="TemperatureConverter" value="${basedir}"/>
	<property name="cfg" value="New_Configuration"/>
	<property name="cfgtarget" value="cfg.${cfg}"/>
	<property name="forceCompile" value="true"/>
	<property name="buildThreadCount" value="1"/>
	<property name="useDirectiveSet" value="false"/>
	<property name="connectionName" value=""/>
	<property name="projectName" value=""/>
	<property name="pathVar.PROJECT_LOC" value="${basedir}"/>
	<property name="pathVar.WORKSPACE_LOC" value="${env.WORKSPACE_LOC}"/>
	<property name="pathVar.ECLIPSE_HOME" value="${env.ECLIPSE_HOME}"/>
	<property name="pathVar.PARENT_LOC" value="${env.PARENT_LOC}"/>
	<property name="failOnError" value="false"/>
	<property name="cobolFailOnError" value="${failOnError}"/>
	<property name="TESTCOVER_VALUE_ON" value="TESTCOVER"/>
	<property name="TESTCOVER_VALUE_OFF" value="NOTESTCOVER"/>
	<target name="printLocations">
		<echo message="Project Location: &apos;project.TemperatureConverter&apos;=${TemperatureConverter}"/>
		<echo message="Project Location: &apos;pathVar.PROJECT_LOC&apos;=${pathVar.PROJECT_LOC}"/>
		<echo message="Project Location: &apos;pathVar.WORKSPACE_LOC&apos;=${pathVar.WORKSPACE_LOC}"/>
		<echo message="Project Location: &apos;pathVar.ECLIPSE_HOME&apos;=${pathVar.ECLIPSE_HOME}"/>
		<echo message="Project Location: &apos;pathVar.PARENT_LOC&apos;=${pathVar.PARENT_LOC}"/>
	</target>
	<!--  ******************************  -->
	<!--  * OS-specific initialisation *  -->
	<!--  ******************************  -->
	<property name="pathVar.javaHome" value="C:/Program Files/Java/jdk1.8.0_144"/>
	<condition property="windows">
		<os family="windows"/>
	</condition>
	<condition property="unix">
		<os family="unix"/>
	</condition>
	<ac:if>
		<isset property="windows"/>
		<then>
			<property name="equalsInDir" value="="/>
			<property name="pathVar.pS" value=";"/>
			<property name="shell" value="cmd"/>
			<property name="shell.ext" value=".bat"/>
			<property name="shell.arg" value="/c"/>
			<property name="script.header" value="@rem MS-DOS Batch File"/>
		</then>
	</ac:if>
	<ac:if>
		<isset property="unix"/>
		<then>
			<property name="equalsInDir" value="="/>
			<property name="pathVar.pS" value=":"/>
			<property name="shell" value="sh"/>
			<property name="shell.ext" value=".sh"/>
			<property name="shell.arg" value="-c"/>
			<property name="script.header" value="#!/bin/sh"/>
		</then>
	</ac:if>
	<!--  *****************************  -->
	<!--  * COBOL compiler directives *  -->
	<!--  *****************************  -->
	<!-- cobol_directive_set_1 -->
	<mfdirlist id="cobol_directive_set_1">
		<directive name="DIALECT" id="dialect" value="MF"/>
		<directive name="COPYEXT" id="copyext" value="cpy,cbl"/>
		<directive name="WARNING" id="warning" value="1"/>
		<directive name="CHARSET" id="charset" value="ASCII"/>
		<directive name="ILUSING" id="ilusing" value="java.lang"/>
		<directive name="MAX-ERROR" id="max-error" value="100"/>
		<directive name="SOURCEFORMAT" id="sourceformat" value="variable"/>
		<directive name="NOWARNING" id="warning"/>
		<directive name="SOURCETABSTOP" id="sourcetabstop" value="4"/>
		<directive name="COLLECTION" id="collection" value="TemperatureConverter"/>
		<directive name="JVMCLASSPATH" id="jvmclasspath" value="&quot;C:/Program Files (x86)/Micro Focus/Enterprise Developer/bin/mfcobol.jar${pathVar.pS}C:/Program Files (x86)/Micro Focus/Enterprise Developer/bin/mfcobolrts.jar${pathVar.pS}C:/Program Files (x86)/Micro Focus/Enterprise Developer/bin/mfsqljvm.jar${pathVar.pS}C:/Program Files (x86)/Micro Focus/Enterprise Developer/bin/mfunit.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/activation/api/main/activation-1.1.1.redhat-4.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/annotation/api/main/jboss-annotations-api_1.1_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/ejb/api/main/jboss-ejb-api_3.1_spec-1.0.2.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/el/api/main/jboss-el-api_2.2_spec-1.0.4.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/enterprise/api/main/cdi-api-1.0.0.SP4-redhat-5.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/faces/api/main/jboss-jsf-api_2.1_spec-2.1.28.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/inject/api/main/javax.inject-1.0.0.redhat-5.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/interceptor/api/main/jboss-interceptors-api_1.1_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/jms/api/main/jboss-jms-api_1.1_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/jws/api/main/jsr181-api-1.0.0.MR1-redhat-7.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/mail/api/main/mail-1.4.5.redhat-2.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/management/j2ee/api/main/jboss-j2eemgmt-api_1.1_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/persistence/api/main/hibernate-jpa-2.0-api-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/resource/api/main/jboss-connector-api_1.6_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/security/auth/message/api/main/jboss-jaspi-api_1.0_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/security/jacc/api/main/jboss-jacc-api_1.4_spec-1.0.3.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/servlet/api/main/jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/servlet/jsp/api/main/jboss-jsp-api_2.2_spec-1.0.2.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/servlet/jstl/api/main/jboss-jstl-api_1.2_spec-1.0.6.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/transaction/api/main/jboss-transaction-api_1.1_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/validation/api/main/validation-api-1.0.0.GA-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/ws/rs/api/main/jboss-jaxrs-api_1.1_spec-1.0.1.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/wsdl4j/api/main/wsdl4j-1.6.3.redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/xml/bind/api/main/jboss-jaxb-api_2.2_spec-1.0.4.Final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/xml/rpc/api/main/jboss-jaxrpc-api_1.1_spec-1.0.1.Final-redhat-4.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/xml/soap/api/main/jboss-saaj-api_1.3_spec-1.0.3.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/javax/xml/ws/api/main/jboss-jaxws-api_2.2_spec-2.0.2.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/hibernate/validator/main/hibernate-validator-4.3.2.Final-redhat-2.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/picketbox/main/picketbox-4.1.1.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/picketbox/main/picketbox-commons-1.0.0.final-redhat-3.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/picketbox/main/picketbox-infinispan-4.1.1.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/as/controller-client/main/jboss-as-controller-client-7.5.0.Final-redhat-21.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/dmr/main/jboss-dmr-1.2.2.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/logging/main/jboss-logging-3.1.4.GA-redhat-2.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/resteasy/resteasy-jaxb-provider/main/resteasy-jaxb-provider-2.3.10.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/resteasy/resteasy-jaxrs/main/async-http-servlet-3.0-2.3.10.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/resteasy/resteasy-jaxrs/main/resteasy-jaxrs-2.3.10.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/resteasy/resteasy-multipart-provider/main/resteasy-multipart-provider-2.3.10.Final-redhat-1.jar${pathVar.pS}C:/jboss/JBoss-EAP-6.4.0/modules/system/layers/base/org/jboss/ejb3/main/jboss-ejb3-ext-api-2.1.0.redhat-1.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/resources.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/rt.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/jsse.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/jce.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/charsets.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/jfr.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/access-bridge-64.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/cldrdata.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/dnsns.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/jaccess.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/jfxrt.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/localedata.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/nashorn.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/sunec.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/sunjce_provider.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/sunmscapi.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/sunpkcs11.jar${pathVar.pS}${pathVar.javaHome}/jre/lib/ext/zipfs.jar&quot;"/>
	</mfdirlist>
	<!--  **********************  -->
	<!--  * COBOL source files *  -->
	<!--  **********************  -->
	<!-- cobol_file_set_1 -->
	<mffilelist type="srcfile" id="cobol_file_set_1" srcdir="${basedir}">
		<file name="TemperatureConverter.cbl" srcdir="src/com/microfocus/converter"/>
	</mffilelist>
	<!-- COBOL copybook locations -->
	<mffilelist id="cobol.copybook.locations">
		<path type="copybook" name="${TemperatureConverter}"/>
		<path type="copybook" name="${TemperatureConverter}/src"/>
	</mffilelist>
	<!--  ********************************  -->
	<!--  * Source File Compile and Link *  -->
	<!--  ********************************  -->
	<!-- Configuration:New_Configuration -->
	<target name="FileCompile.New_Configuration.TemperatureConverter.cbl">
		<cobol debug="true" analysisData="${analysisData}" threadCount="${buildThreadCount}" analysisDataDir="${analysisDataDir}" useDirectiveSet="${useDirectiveSet}" srcfile="src/com/microfocus/converter/TemperatureConverter.cbl" destdir="${basedir}/bin" is64bit="true" failonerror="${cobolFailOnError}" srcdir="${basedir}" forceCompile="${forceCompile}" connectionName="${connectionName}" projectName="${projectName}" desttype="jvm">
			<mffilelist refid="cobol.copybook.locations"/>
			<mfdirlist refid="cobol_directive_set_1"/>
		</cobol>
	</target>
	<!--  *************************  -->
	<!--  * Configuration targets *  -->
	<!--  *************************  -->
	<!-- cfg.New_Configuration -->
	<target name="cobolbuild.cfg.New_Configuration" depends="printLocations,pre.build.cfg.New_Configuration,nature.specific.build.cfg.New_Configuration,post.build.cfg.New_Configuration"/>
	<target name="nature.specific.build.cfg.New_Configuration" depends="cobol.cfg.New_Configuration"/>
	<target name="cobol.cfg.New_Configuration" depends="cobol.compile.cfg.New_Configuration,cobol.link.cfg.New_Configuration"/>
	<target name="New_Configuration.FileCompile">
		<ac:for list="${filesList}" param="filename" keepgoing="true" trim="true">
			<sequential>
				<ac:if>
					<not>
						<isset property="isCancelled"/>
					</not>
					<then>
						<ac:antcallback target="FileCompile.New_Configuration.@{filename}" inheritAll="true" return="isCancelled">
						</ac:antcallback>
					</then>
				</ac:if>
			</sequential>
		</ac:for>
	</target>
	<target name="cobol.compile.cfg.New_Configuration">
		<cobol debug="true" analysisDataDir="${analysisDataDir}" useDirectiveSet="${useDirectiveSet}" analysisData="${analysisData}" destdir="${basedir}/bin" is64bit="true" threadCount="${buildThreadCount}" failonerror="${cobolFailOnError}" forceCompile="${forceCompile}" connectionName="${connectionName}" projectName="${projectName}" desttype="jvm">
			<mffilelist refid="cobol.copybook.locations"/>
			<mfdirlist refid="cobol_directive_set_1"/>
			<mffilelist refid="cobol_file_set_1"/>
		</cobol>
	</target>
	<target name="cobol.link.cfg.New_Configuration">
	</target>
	<target name="pre.build.cfg.New_Configuration">
	</target>
	<target name="post.build.cfg.New_Configuration">
	</target>
	<target name="clean.cfg.New_Configuration">
		<cobolclean debug="true" destdir="${basedir}/bin" desttype="jvm">
			<mffilelist refid="cobol_file_set_1"/>
		</cobolclean>
	</target>
	<!--  *******************  -->
	<!--  * General targets *  -->
	<!--  *******************  -->
	<target name="clean">
		<antcall target="clean.${cfgtarget}" inheritAll="true"/>
	</target>
	<target name="compileSource">
		<antcall target="${cfg}.FileCompile" inheritAll="true"/>
	</target>
	<target name="compile" depends="compileSource">
	</target>
	<target name="cobolbuild" depends="clean">
		<antcall target="cobolbuild.${cfgtarget}" inheritAll="true"/>
	</target>
</project>
