79 80 <!-- enable/disable make code coverage --> 81 <condition property="cc.enabled"> 82 <istrue value="${make.code.coverage}" /> 83 </condition> 84 85 <!-- exclude tests in exclude lists --> 86 <condition property="exclude.list" value="./exclude/exclude_list_cc.txt" else="./exclude/exclude_list.txt"> 87 <istrue value="${make.code.coverage}" /> 88 </condition> 89 90 <condition property="jfr.options" value="${run.test.jvmargs.jfr}" else=""> 91 <istrue value="${jfr}"/> 92 </condition> 93 94 <condition property="test-sys-prop-no-security.os.not.windows"> 95 <not> 96 <os family="windows"/> 97 </not> 98 </condition> 99 </target> 100 101 <!-- check minimum ant version required to be 1.8.4 --> 102 <target name="check-ant-version"> 103 <property name="ant.version.required" value="1.8.4"/> 104 <antversion property="ant.current.version" /> 105 <fail message="The current ant version, ${ant.current.version}, is too old. Please use 1.8.4 or above."> 106 <condition> 107 <not> 108 <antversion atleast="${ant.version.required}"/> 109 </not> 110 </condition> 111 </fail> 112 </target> 113 114 <target name="check-java-version"> 115 <!-- look for a Class that is available only in jdk1.8 or above --> 116 <!-- core/exposed API class is better than an implementation class --> 117 <available property="jdk1.8+" classname="java.util.stream.Stream"/> 118 119 <!-- need jdk1.8 or above --> | 79 80 <!-- enable/disable make code coverage --> 81 <condition property="cc.enabled"> 82 <istrue value="${make.code.coverage}" /> 83 </condition> 84 85 <!-- exclude tests in exclude lists --> 86 <condition property="exclude.list" value="./exclude/exclude_list_cc.txt" else="./exclude/exclude_list.txt"> 87 <istrue value="${make.code.coverage}" /> 88 </condition> 89 90 <condition property="jfr.options" value="${run.test.jvmargs.jfr}" else=""> 91 <istrue value="${jfr}"/> 92 </condition> 93 94 <condition property="test-sys-prop-no-security.os.not.windows"> 95 <not> 96 <os family="windows"/> 97 </not> 98 </condition> 99 100 <!--set windows cygwin/cmd specific properties--> 101 <property environment="env"/> 102 <condition property="test-sys-prop-no-security.os.not.windows.cmd"> 103 <not> 104 <and> 105 <os family="windows"/> 106 <not> 107 <isset property="env.SHELL"/> 108 </not> 109 </and> 110 </not> 111 </condition> 112 </target> 113 114 115 <!-- check minimum ant version required to be 1.8.4 --> 116 <target name="check-ant-version"> 117 <property name="ant.version.required" value="1.8.4"/> 118 <antversion property="ant.current.version" /> 119 <fail message="The current ant version, ${ant.current.version}, is too old. Please use 1.8.4 or above."> 120 <condition> 121 <not> 122 <antversion atleast="${ant.version.required}"/> 123 </not> 124 </condition> 125 </fail> 126 </target> 127 128 <target name="check-java-version"> 129 <!-- look for a Class that is available only in jdk1.8 or above --> 130 <!-- core/exposed API class is better than an implementation class --> 131 <available property="jdk1.8+" classname="java.util.stream.Stream"/> 132 133 <!-- need jdk1.8 or above --> |