| @@ -23,34 +23,34 @@ | |||||
| <target name="basic-no-method"> | <target name="basic-no-method"> | ||||
| <condition property="basic-no-method"> | <condition property="basic-no-method"> | ||||
| <http url="http://ant.apache.org/"/> | |||||
| <http url="https://ant.apache.org/"/> | |||||
| </condition> | </condition> | ||||
| <condition property="basic-no-method-bad-url"> | <condition property="basic-no-method-bad-url"> | ||||
| <http url="http://ant.apache.org/this-page-does-not-exist"/> | |||||
| <http url="https://ant.apache.org/this-page-does-not-exist"/> | |||||
| </condition> | </condition> | ||||
| </target> | </target> | ||||
| <target name="test-head-request"> | <target name="test-head-request"> | ||||
| <condition property="test-head-request"> | <condition property="test-head-request"> | ||||
| <http url="http://ant.apache.org/" requestMethod="HEAD"/> | |||||
| <http url="https://ant.apache.org/" requestMethod="HEAD"/> | |||||
| </condition> | </condition> | ||||
| <condition property="test-head-request-bad-url"> | <condition property="test-head-request-bad-url"> | ||||
| <http url="http://ant.apache.org/this-page-does-not-exist" requestMethod="HEAD"/> | |||||
| <http url="https://ant.apache.org/this-page-does-not-exist" requestMethod="HEAD"/> | |||||
| </condition> | </condition> | ||||
| </target> | </target> | ||||
| <target name="test-get-request"> | <target name="test-get-request"> | ||||
| <condition property="test-get-request"> | <condition property="test-get-request"> | ||||
| <http url="http://ant.apache.org/" requestMethod="GET"/> | |||||
| <http url="https://ant.apache.org/" requestMethod="GET"/> | |||||
| </condition> | </condition> | ||||
| <condition property="test-get-request-bad-url"> | <condition property="test-get-request-bad-url"> | ||||
| <http url="http://ant.apache.org/this-page-does-not-exist" requestMethod="GET"/> | |||||
| <http url="https://ant.apache.org/this-page-does-not-exist" requestMethod="GET"/> | |||||
| </condition> | </condition> | ||||
| </target> | </target> | ||||
| <target name="bad-request-method"> | <target name="bad-request-method"> | ||||
| <condition property="bad-request-method"> | <condition property="bad-request-method"> | ||||
| <http url="http://ant.apache.org" requestMethod="UNKNOWN"/> | |||||
| <http url="https://ant.apache.org" requestMethod="UNKNOWN"/> | |||||
| </condition> | </condition> | ||||
| </target> | </target> | ||||
| @@ -35,11 +35,11 @@ | |||||
| </target> | </target> | ||||
| <target name="test5"> | <target name="test5"> | ||||
| <get src="http://www.apache.org/" dest=""/> | |||||
| <get src="https://www.apache.org/" dest=""/> | |||||
| </target> | </target> | ||||
| <target name="test6"> | <target name="test6"> | ||||
| <get src="http://www.apache.org/" dest="get.tmp" userAgent="Apache Ant/test"/> | |||||
| <get src="https://www.apache.org/" dest="get.tmp" userAgent="Apache Ant/test"/> | |||||
| <fileset id="t6" file="get.tmp" /> | <fileset id="t6" file="get.tmp" /> | ||||
| <pathconvert property="t6" refid="t6" setonempty="false" /> | <pathconvert property="t6" refid="t6" setonempty="false" /> | ||||
| @@ -80,7 +80,7 @@ | |||||
| <touch file="get.tmp" datetime="${dt}" pattern="${pat}" /> | <touch file="get.tmp" datetime="${dt}" pattern="${pat}" /> | ||||
| <get src="http://www.w3.org/MarkUp" dest="get.tmp" | |||||
| <get src="https://www.w3.org/MarkUp" dest="get.tmp" | |||||
| usetimestamp="true" verbose="true" /> | usetimestamp="true" verbose="true" /> | ||||
| <fileset id="ts" file="get.tmp"> | <fileset id="ts" file="get.tmp"> | ||||
| @@ -99,21 +99,21 @@ | |||||
| </target> | </target> | ||||
| <target name="testTwoHeadersAreAddedOK"> | <target name="testTwoHeadersAreAddedOK"> | ||||
| <get src="http://www.apache.org/" dest="get.tmp"> | |||||
| <get src="https://www.apache.org/" dest="get.tmp"> | |||||
| <header name="header1" value="header1Value"/> | <header name="header1" value="header1Value"/> | ||||
| <header name="header2" value="header2Value"/> | <header name="header2" value="header2Value"/> | ||||
| </get> | </get> | ||||
| </target> | </target> | ||||
| <target name="testEmptyHeadersAreNeverAdded"> | <target name="testEmptyHeadersAreNeverAdded"> | ||||
| <get src="http://www.apache.org/" dest="get.tmp"> | |||||
| <get src="https://www.apache.org/" dest="get.tmp"> | |||||
| <header name="" value="headerValue"/> | <header name="" value="headerValue"/> | ||||
| <header name="header2" value=""/> | <header name="header2" value=""/> | ||||
| </get> | </get> | ||||
| </target> | </target> | ||||
| <target name="testThatWhenMoreThanOneHeaderHaveSameNameOnlyLastOneIsAdded"> | <target name="testThatWhenMoreThanOneHeaderHaveSameNameOnlyLastOneIsAdded"> | ||||
| <get src="http://www.apache.org/" dest="get.tmp"> | |||||
| <get src="https://www.apache.org/" dest="get.tmp"> | |||||
| <header name="header1" value="headerValue1"/> | <header name="header1" value="headerValue1"/> | ||||
| <header name="header1" value="headerValue2"/> | <header name="header1" value="headerValue2"/> | ||||
| <header name="header1" value="headerValue3"/> | <header name="header1" value="headerValue3"/> | ||||
| @@ -121,7 +121,7 @@ | |||||
| </target> | </target> | ||||
| <target name="testHeaderSpaceTrimmed"> | <target name="testHeaderSpaceTrimmed"> | ||||
| <get src="http://www.apache.org/" dest="get.tmp"> | |||||
| <get src="https://www.apache.org/" dest="get.tmp"> | |||||
| <header name=" header1 " value=" headerValue1 "/> | <header name=" header1 " value=" headerValue1 "/> | ||||
| </get> | </get> | ||||
| </target> | </target> | ||||
| @@ -269,7 +269,7 @@ | |||||
| <jar destfile="${tmp.jar}" basedir="${tmp.dir}" strict="warn"/> | <jar destfile="${tmp.jar}" basedir="${tmp.dir}" strict="warn"/> | ||||
| </target> | </target> | ||||
| <!-- see http://java.sun.com/j2se/1.3/docs/guide/versioning/spec/VersioningSpecification.html#PackageVersioning --> | |||||
| <!-- see https://docs.oracle.com/javase/tutorial/deployment/jar/packageman.html --> | |||||
| <target name="testHasVersionInfo"> | <target name="testHasVersionInfo"> | ||||
| <mkdir dir="${tmp.dir}"/> | <mkdir dir="${tmp.dir}"/> | ||||
| <jar destfile="${tmp.jar}" basedir="${tmp.dir}" strict="fail"> | <jar destfile="${tmp.jar}" basedir="${tmp.dir}" strict="fail"> | ||||
| @@ -696,7 +696,7 @@ h6 { | |||||
| <table width="100%"> | <table width="100%"> | ||||
| <tr> | <tr> | ||||
| <td align="left"></td> | <td align="left"></td> | ||||
| <td align="right">Designed for use with <a href="http://www.junit.org/">JUnit</a> and <a href="http://ant.apache.org/">Ant</a>.</td> | |||||
| <td align="right">Designed for use with <a href="https://www.junit.org/">JUnit</a> and <a href="https://ant.apache.org/">Ant</a>.</td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| <hr size="1"/> | <hr size="1"/> | ||||
| @@ -696,7 +696,7 @@ h6 { | |||||
| <table width="100%"> | <table width="100%"> | ||||
| <tr> | <tr> | ||||
| <td align="left"></td> | <td align="left"></td> | ||||
| <td align="right">Designed for use with <a href="http://www.junit.org/">JUnit</a> and <a href="http://ant.apache.org/">Ant</a>.</td> | |||||
| <td align="right">Designed for use with <a href="https://www.junit.org/">JUnit</a> and <a href="https://ant.apache.org/">Ant</a>.</td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| <hr size="1"/> | <hr size="1"/> | ||||
| @@ -80,7 +80,7 @@ | |||||
| </target> | </target> | ||||
| <target name="urlKeystoreHTTP" depends="jar"> | <target name="urlKeystoreHTTP" depends="jar"> | ||||
| <sign keystore="http://ant.apache.org/webtest/testkeystore"/> | |||||
| <sign keystore="https://ant.apache.org/webtest/testkeystore"/> | |||||
| <assertSigned/> | <assertSigned/> | ||||
| </target> | </target> | ||||
| @@ -45,8 +45,8 @@ | |||||
| <!-- this one is about 21 years after the epoch --> | <!-- this one is about 21 years after the epoch --> | ||||
| <!-- less than 20 years after the epoch, test does not pass on my Win2K/FAT --> | <!-- less than 20 years after the epoch, test does not pass on my Win2K/FAT --> | ||||
| <!-- Antoine February 8, 2004 --> | <!-- Antoine February 8, 2004 --> | ||||
| <!-- see http://developer.java.sun.com/developer/bugParade/bugs/4177432.html --> | |||||
| <!-- and http://developer.java.sun.com/developer/bugParade/bugs/4697792.html --> | |||||
| <!-- see https://bugs.openjdk.java.net/browse/JDK-4177432 --> | |||||
| <!-- and https://bugs.openjdk.java.net/browse/JDK-4697792 --> | |||||
| <!-- not sure why --> | <!-- not sure why --> | ||||
| <touch file="touchtest" millis="662256000000" /> | <touch file="touchtest" millis="662256000000" /> | ||||
| </target> | </target> | ||||
| @@ -97,8 +97,8 @@ public class Task { | |||||
| <javac srcdir="${input}" destdir="${output}"/> | <javac srcdir="${input}" destdir="${output}"/> | ||||
| <taskdef name="x" classname="org.example.Task" | <taskdef name="x" classname="org.example.Task" | ||||
| classpath="${output}"/> | classpath="${output}"/> | ||||
| <url url="http://ant.apache.org/" id="anturl"/> | |||||
| <url url="https://ant.apache.org/" id="anturl"/> | |||||
| <x attr="${ant.refid:anturl}"/> | <x attr="${ant.refid:anturl}"/> | ||||
| <au:assertLogContains text="URL is: http://ant.apache.org/"/> | |||||
| <au:assertLogContains text="URL is: https://ant.apache.org/"/> | |||||
| </target> | </target> | ||||
| </project> | </project> | ||||
| @@ -695,7 +695,7 @@ h6 { | |||||
| <table width="100%"> | <table width="100%"> | ||||
| <tr> | <tr> | ||||
| <td align="left"></td> | <td align="left"></td> | ||||
| <td align="right">Designed for use with <a href="http://ant.apache.org/antlibs/antunit/">AntUnit</a> and <a href="http://ant.apache.org/">Ant</a>.</td> | |||||
| <td align="right">Designed for use with <a href="https://ant.apache.org/antlibs/antunit/">AntUnit</a> and <a href="https://ant.apache.org/">Ant</a>.</td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| <hr size="1"/> | <hr size="1"/> | ||||
| @@ -318,7 +318,7 @@ under the License. | |||||
| <table width="100%"> | <table width="100%"> | ||||
| <tr> | <tr> | ||||
| <td align="left"></td> | <td align="left"></td> | ||||
| <td align="right">Designed for use with <a href='http://ant.apache.org/antlibs/antunit/'>AntUnit</a> and <a href='http://ant.apache.org/'>Ant</a>.</td> | |||||
| <td align="right">Designed for use with <a href='https://ant.apache.org/antlibs/antunit/'>AntUnit</a> and <a href='https://ant.apache.org/'>Ant</a>.</td> | |||||
| </tr> | </tr> | ||||
| </table> | </table> | ||||
| <hr size="1"/> | <hr size="1"/> | ||||
| @@ -30,9 +30,9 @@ | |||||
| <target name="testWithNonFileResourceToFile" depends="setup"> | <target name="testWithNonFileResourceToFile" depends="setup"> | ||||
| <bunzip2 dest="${output}/greeting.txt"> | <bunzip2 dest="${output}/greeting.txt"> | ||||
| <url url="http://ant.apache.org/webtest/bunzip2/greeting.txt.bz2"/> | |||||
| <url url="https://ant.apache.org/webtest/bunzip2/greeting.txt.bz2"/> | |||||
| </bunzip2> | </bunzip2> | ||||
| <get src="http://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| <get src="https://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| dest="${output}/orig.greeting.txt"/> | dest="${output}/orig.greeting.txt"/> | ||||
| <au:assertFilesMatch expected="${output}/orig.greeting.txt" | <au:assertFilesMatch expected="${output}/orig.greeting.txt" | ||||
| actual="${output}/greeting.txt"/> | actual="${output}/greeting.txt"/> | ||||
| @@ -40,9 +40,9 @@ | |||||
| <target name="testWithNonFileResourceToDir" depends="setup"> | <target name="testWithNonFileResourceToDir" depends="setup"> | ||||
| <bunzip2 dest="${output}"> | <bunzip2 dest="${output}"> | ||||
| <url url="http://ant.apache.org/webtest/bunzip2/greeting.txt.bz2"/> | |||||
| <url url="https://ant.apache.org/webtest/bunzip2/greeting.txt.bz2"/> | |||||
| </bunzip2> | </bunzip2> | ||||
| <get src="http://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| <get src="https://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| dest="${output}/orig.greeting.txt"/> | dest="${output}/orig.greeting.txt"/> | ||||
| <au:assertFilesMatch expected="${output}/orig.greeting.txt" | <au:assertFilesMatch expected="${output}/orig.greeting.txt" | ||||
| actual="${output}/greeting.txt"/> | actual="${output}/greeting.txt"/> | ||||
| @@ -39,7 +39,7 @@ | |||||
| <target name="testURL"> | <target name="testURL"> | ||||
| <au:assertTrue> | <au:assertTrue> | ||||
| <cond:resourceexists> | <cond:resourceexists> | ||||
| <url url="http://ant.apache.org/index.html"/> | |||||
| <url url="https://ant.apache.org/index.html"/> | |||||
| </cond:resourceexists> | </cond:resourceexists> | ||||
| </au:assertTrue> | </au:assertTrue> | ||||
| </target> | </target> | ||||
| @@ -187,7 +187,7 @@ public class NullByteStreamResource extends Resource { | |||||
| <au:expectfailure> | <au:expectfailure> | ||||
| <copy todir="${output}" failonerror="true" flatten="true"> | <copy todir="${output}" failonerror="true" flatten="true"> | ||||
| <resources> | <resources> | ||||
| <url url="http://i-do-not-exist/"/> | |||||
| <url url="https://i-do-not-exist/"/> | |||||
| </resources> | </resources> | ||||
| </copy> | </copy> | ||||
| </au:expectfailure> | </au:expectfailure> | ||||
| @@ -19,7 +19,7 @@ | |||||
| <project name="get-test" default="antunit" xmlns:au="antlib:org.apache.ant.antunit"> | <project name="get-test" default="antunit" xmlns:au="antlib:org.apache.ant.antunit"> | ||||
| <import file="../antunit-base.xml" /> | <import file="../antunit-base.xml" /> | ||||
| <property name="location" value="http://ant.apache.org/webtest/gettest" /> | |||||
| <property name="location" value="https://ant.apache.org/webtest/gettest" /> | |||||
| <target name="setUp"> | <target name="setUp"> | ||||
| <mkdir dir="${output}" /> | <mkdir dir="${output}" /> | ||||
| @@ -103,8 +103,8 @@ | |||||
| <target name="testNestedResources"> | <target name="testNestedResources"> | ||||
| <get dest="${output}/downloads"> | <get dest="${output}/downloads"> | ||||
| <url url="http://ant.apache.org/index.html"/> | |||||
| <url url="http://ant.apache.org/faq.html"/> | |||||
| <url url="https://ant.apache.org/index.html"/> | |||||
| <url url="https://ant.apache.org/faq.html"/> | |||||
| </get> | </get> | ||||
| <au:assertFileExists file="${output}/downloads/index.html"/> | <au:assertFileExists file="${output}/downloads/index.html"/> | ||||
| <au:assertFileExists file="${output}/downloads/faq.html"/> | <au:assertFileExists file="${output}/downloads/faq.html"/> | ||||
| @@ -40,9 +40,9 @@ | |||||
| <target name="testWithNonFileResourceToFile" depends="setup"> | <target name="testWithNonFileResourceToFile" depends="setup"> | ||||
| <gunzip dest="${output}/greeting.txt"> | <gunzip dest="${output}/greeting.txt"> | ||||
| <url url="http://ant.apache.org/webtest/gunzip/greeting.txt.gz"/> | |||||
| <url url="https://ant.apache.org/webtest/gunzip/greeting.txt.gz"/> | |||||
| </gunzip> | </gunzip> | ||||
| <get src="http://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| <get src="https://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| dest="${output}/orig.greeting.txt"/> | dest="${output}/orig.greeting.txt"/> | ||||
| <au:assertFilesMatch expected="${output}/orig.greeting.txt" | <au:assertFilesMatch expected="${output}/orig.greeting.txt" | ||||
| actual="${output}/greeting.txt"/> | actual="${output}/greeting.txt"/> | ||||
| @@ -50,9 +50,9 @@ | |||||
| <target name="testWithNonFileResourceToDir" depends="setup"> | <target name="testWithNonFileResourceToDir" depends="setup"> | ||||
| <gunzip dest="${output}"> | <gunzip dest="${output}"> | ||||
| <url url="http://ant.apache.org/webtest/gunzip/greeting.txt.gz"/> | |||||
| <url url="https://ant.apache.org/webtest/gunzip/greeting.txt.gz"/> | |||||
| </gunzip> | </gunzip> | ||||
| <get src="http://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| <get src="https://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| dest="${output}/orig.greeting.txt"/> | dest="${output}/orig.greeting.txt"/> | ||||
| <au:assertFilesMatch expected="${output}/orig.greeting.txt" | <au:assertFilesMatch expected="${output}/orig.greeting.txt" | ||||
| actual="${output}/greeting.txt"/> | actual="${output}/greeting.txt"/> | ||||
| @@ -249,7 +249,7 @@ Main-Class: MyClass | |||||
| resource="${output}/META-INF/MANIFEST.MF"/> | resource="${output}/META-INF/MANIFEST.MF"/> | ||||
| </target> | </target> | ||||
| <target name="multiReleaseJarPart1" description="http://openjdk.java.net/jeps/238"> | |||||
| <target name="multiReleaseJarPart1" description="https://openjdk.java.net/jeps/238"> | |||||
| <!-- Preparation of the 'MultiRelease-Project' --> | <!-- Preparation of the 'MultiRelease-Project' --> | ||||
| <property name="java8.src" value="${input}/src/java"/> | <property name="java8.src" value="${input}/src/java"/> | ||||
| <property name="java9.src" value="${input}/src/java9"/> | <property name="java9.src" value="${input}/src/java9"/> | ||||
| @@ -41,9 +41,9 @@ | |||||
| <target name="testWithNonFileResourceToFile" depends="setup" if="xz.present"> | <target name="testWithNonFileResourceToFile" depends="setup" if="xz.present"> | ||||
| <unxz dest="${output}/greeting.txt"> | <unxz dest="${output}/greeting.txt"> | ||||
| <url url="http://ant.apache.org/webtest/xz/greeting.txt.xz"/> | |||||
| <url url="https://ant.apache.org/webtest/xz/greeting.txt.xz"/> | |||||
| </unxz> | </unxz> | ||||
| <get src="http://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| <get src="https://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| dest="${output}/orig.greeting.txt"/> | dest="${output}/orig.greeting.txt"/> | ||||
| <au:assertFilesMatch expected="${output}/orig.greeting.txt" | <au:assertFilesMatch expected="${output}/orig.greeting.txt" | ||||
| actual="${output}/greeting.txt"/> | actual="${output}/greeting.txt"/> | ||||
| @@ -51,9 +51,9 @@ | |||||
| <target name="testWithNonFileResourceToDir" depends="setup" if="xz.present"> | <target name="testWithNonFileResourceToDir" depends="setup" if="xz.present"> | ||||
| <unxz dest="${output}"> | <unxz dest="${output}"> | ||||
| <url url="http://ant.apache.org/webtest/xz/greeting.txt.xz"/> | |||||
| <url url="https://ant.apache.org/webtest/xz/greeting.txt.xz"/> | |||||
| </unxz> | </unxz> | ||||
| <get src="http://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| <get src="https://ant.apache.org/webtest/gunzip/greeting.txt" | |||||
| dest="${output}/orig.greeting.txt"/> | dest="${output}/orig.greeting.txt"/> | ||||
| <au:assertFilesMatch expected="${output}/orig.greeting.txt" | <au:assertFilesMatch expected="${output}/orig.greeting.txt" | ||||
| actual="${output}/greeting.txt"/> | actual="${output}/greeting.txt"/> | ||||
| @@ -154,7 +154,7 @@ b=$${a} | |||||
| <!-- | <!-- | ||||
| Problems with @-sign discussed on the mailinglist. | Problems with @-sign discussed on the mailinglist. | ||||
| Seems to work. | Seems to work. | ||||
| http://mail-archives.apache.org/mod_mbox/ant-user/201412.mbox/%3CCAPxjwW%2BQKFFj45O-ZbCGOnAkJXe9KJ5qKtVQCvS2x7hObRJmkQ%40mail.gmail.com%3E | |||||
| https://mail-archives.apache.org/mod_mbox/ant-user/201412.mbox/%3CCAPxjwW%2BQKFFj45O-ZbCGOnAkJXe9KJ5qKtVQCvS2x7hObRJmkQ%40mail.gmail.com%3E | |||||
| --> | --> | ||||
| <target name="testAtSign"> | <target name="testAtSign"> | ||||
| <mkdir dir="${input}"/> | <mkdir dir="${input}"/> | ||||
| @@ -26,7 +26,7 @@ | |||||
| <target name="test-fail-and-retry" depends="setUp"> | <target name="test-fail-and-retry" depends="setUp"> | ||||
| <!-- just in case this ever becomes a legit url... --> | <!-- just in case this ever becomes a legit url... --> | ||||
| <property name="src" value="http://iojasodjojaosdj"/> | |||||
| <property name="src" value="https://iojasodjojaosdj"/> | |||||
| <au:expectfailure expectedmessage="Task [get] failed after [${i}] attempts; giving up"> | <au:expectfailure expectedmessage="Task [get] failed after [${i}] attempts; giving up"> | ||||
| <retry retrycount="${i}"> | <retry retrycount="${i}"> | ||||
| <get src="${src}" dest="${dest}"/> | <get src="${src}" dest="${dest}"/> | ||||
| @@ -81,7 +81,7 @@ | |||||
| <restrict> | <restrict> | ||||
| <resources> | <resources> | ||||
| <file file="foo" /> | <file file="foo" /> | ||||
| <url url="http://ant.apache.org/index.html" /> | |||||
| <url url="https://ant.apache.org/index.html" /> | |||||
| <resource name="foo" /> | <resource name="foo" /> | ||||
| <string value="foo" /> | <string value="foo" /> | ||||
| <file file="bar" /> | <file file="bar" /> | ||||
| @@ -85,7 +85,7 @@ | |||||
| <restrict> | <restrict> | ||||
| <resources> | <resources> | ||||
| <file file="foo" /> | <file file="foo" /> | ||||
| <url url="http://ant.apache.org/index.html" /> | |||||
| <url url="https://ant.apache.org/index.html" /> | |||||
| <resource name="foo" /> | <resource name="foo" /> | ||||
| <string value="foo" /> | <string value="foo" /> | ||||
| <file file="bar" /> | <file file="bar" /> | ||||
| @@ -28,8 +28,8 @@ | |||||
| <condition property="offline"> | <condition property="offline"> | ||||
| <not> | <not> | ||||
| <or> | <or> | ||||
| <http url="http://www.apache.org"/> | |||||
| <http url="http://www.google.com"/> | |||||
| <http url="https://www.apache.org"/> | |||||
| <http url="https://www.google.com"/> | |||||
| </or> | </or> | ||||
| </not> | </not> | ||||
| </condition> | </condition> | ||||
| @@ -280,7 +280,7 @@ | |||||
| <target name="testhttpurl2" unless="offline"> | <target name="testhttpurl2" unless="offline"> | ||||
| <concat destfile="${file}" force="true" append="false"> | <concat destfile="${file}" force="true" append="false"> | ||||
| <url id="httpurl" url="http://ant.apache.org/index.html" /> | |||||
| <url id="httpurl" url="https://ant.apache.org/index.html" /> | |||||
| <url refid="httpurl" /> | <url refid="httpurl" /> | ||||
| </concat> | </concat> | ||||
| <length property="httpurl.length"> | <length property="httpurl.length"> | ||||