@@ -30,8 +30,8 @@ by | |||
<hr/> | |||
<p>You can download the plugin | |||
at: <a href="http://sourceforge.net/projects/jext/files/OldFiles/antwork_plugin.zip/download" | |||
target="_top">http://sourceforge.net/projects/jext/files/OldFiles/antwork_plugin.zip/download</a></p> | |||
at: <a href="https://sourceforge.net/projects/jext/files/OldFiles/antwork_plugin.zip/download" | |||
target="_top">https://sourceforge.net/projects/jext/files/OldFiles/antwork_plugin.zip/download</a></p> | |||
<h2>Installation instructions from the Readme.txt</h2> | |||
@@ -1,7 +1,7 @@ | |||
/* | |||
* Apache License | |||
* Version 2.0, January 2004 | |||
* http://www.apache.org/licenses/ | |||
* https://www.apache.org/licenses/ | |||
* | |||
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |||
* | |||
@@ -79,7 +79,7 @@ Ant homepage.</p> | |||
<condition property="Ant17isOnline"> | |||
<and> | |||
<antversion exactly="1.7.0"/> | |||
<http url="http://ant.apache.org"/> | |||
<http url="https://ant.apache.org"/> | |||
</and> | |||
</condition></pre> | |||
@@ -239,7 +239,7 @@ output. The following example illustrates how to generate a HTML report from the | |||
style="${ant.home}/etc/changelog.xsl"> | |||
<param name="title" expression="Ant ChangeLog"/> | |||
<param name="module" expression="ant"/> | |||
<param name="cvsweb" expression="http://cvs.apache.org/viewcvs/"/> | |||
<param name="cvsweb" expression="https://cvs.apache.org/viewcvs/"/> | |||
</style></pre> | |||
<h4>Sample Output</h4> | |||
@@ -611,7 +611,7 @@ firewalls.</p> | |||
<pre> | |||
<condition property="offline"> | |||
<isreachable url="http://ibiblio.org/maven/"/> | |||
<isreachable url="https://ibiblio.org/maven/"/> | |||
</condition></pre> | |||
<p>Probe for the Maven repository being reachable.</p> | |||
@@ -241,7 +241,7 @@ directory, flattening the directory structure.</p> | |||
<copy todir="dest" flatten="true"> | |||
<resources> | |||
<file file="src_dir/file1.txt"/> | |||
<url url="http://ant.apache.org/index.html"/> | |||
<url url="https://ant.apache.org/index.html"/> | |||
</resources> | |||
</copy></pre> | |||
@@ -260,7 +260,7 @@ an absolute path as their names.</p> | |||
<file file="src_dir/file1.txt"/> | |||
<file file="src_dir/file2.txt"/> | |||
<file file="src_dir/file3.txt"/> | |||
<url url="http://ant.apache.org/index.html"/> | |||
<url url="https://ant.apache.org/index.html"/> | |||
</resources> | |||
</sort> | |||
</first> | |||
@@ -189,7 +189,7 @@ output. The following example illustrates how to generate an HTML report from th | |||
style="${ant.home}/etc/tagdiff.xsl"> | |||
<param name="title" expression="Ant Diff"/> | |||
<param name="module" expression="ant"/> | |||
<param name="cvsweb" expression="http://cvs.apache.org/viewcvs/"/> | |||
<param name="cvsweb" expression="https://cvs.apache.org/viewcvs/"/> | |||
</style></pre> | |||
<h4>Output</h4> | |||
@@ -56,13 +56,13 @@ Server.</p> | |||
<p>The tasks support:</p> | |||
<ul> | |||
<li><a href="http://www.borland.com" target="_top">Borland</a>Application Server 4.5</li> | |||
<li><a href="https://www.borland.com" target="_top">Borland</a>Application Server 4.5</li> | |||
<li><a href="https://web.archive.org/web/20020202082841/http://www.iplanet.com/products/iplanet_application/home_ias.html" | |||
target="_top">iPlanet</a> Application Server 6.0</li> | |||
<li><a href="https://www.jboss.org/" target="_top">JBoss 2.1</a> and above EJB servers</li> | |||
<li><a href="https://web.archive.org/web/20080516210506/http://www.ironflare.com/" | |||
target="_top">Orion Application Server</a> 2.0 (<em>since Ant 1.10.2</em>)</li> | |||
<li><a href="http://www.bea.com" target="_top">WebLogic</a> 4.5.1 through to 7.0 EJB servers</li> | |||
<li><a href="https://www.oracle.com/corporate/acquisitions/bea/" target="_top">WebLogic</a> 4.5.1 through to 7.0 EJB servers</li> | |||
<li><a href="https://jonas.ow2.org/" target="_top">JOnAS</a> 2.4.x and 2.5 Open Source EJB server</li> | |||
<li><a href="https://www.ibm.com/websphere" target="_top">IBM WebSphere</a> 4.0</li> | |||
</ul> | |||
@@ -28,7 +28,7 @@ | |||
<h3>Description</h3> | |||
<p>Gets files from URLs. When the <var>verbose</var> option is <q>on</q>, this task displays | |||
a <q>.</q> for every 100 Kb retrieved. Any URL schema supported by the runtime is valid here, | |||
including <q>http:</q>, <q>ftp:</q> and <q>jar:</q>.</p> | |||
including <q>http:</q>, <q>https:</q>, <q>ftp:</q> and <q>jar:</q>.</p> | |||
<p>The <var>usetimestamp</var> option enables you to control downloads so that the remote file is | |||
only fetched if newer than the local copy. If there is no local copy, the download always takes | |||
place. When a file is downloaded, the timestamp of the downloaded file is set to the remote | |||
@@ -175,14 +175,14 @@ nested <code><header/></code> node are as follows:</p> | |||
<h3>Examples</h3> | |||
<p>Get the index page of <samp>http://ant.apache.org/</samp>, and store it in the | |||
<p>Get the index page of <samp>https://ant.apache.org/</samp>, and store it in the | |||
file <samp>help/index.html</samp>.</p> | |||
<pre><get src="http://ant.apache.org/" dest="help/index.html"/></pre> | |||
<pre><get src="https://ant.apache.org/" dest="help/index.html"/></pre> | |||
<p>Get the PGP keys of Ant's (current and past) release managers, if the local copy is missing or | |||
out of date. Use the <var>verbose</var> option for progress information.</p> | |||
<pre> | |||
<get src="http://www.apache.org/dist/ant/KEYS" | |||
<get src="https://www.apache.org/dist/ant/KEYS" | |||
dest="KEYS" | |||
verbose="true" | |||
usetimestamp="true"/></pre> | |||
@@ -230,20 +230,20 @@ naming convention for the checksum file, of course) and validate the checksum on | |||
<pre> | |||
<get dest="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></pre> | |||
<p>Using custom HTTP headers</p> | |||
<pre> | |||
<get src="http://ant.apache.org/index.html" dest="downloads"> | |||
<get src="https://ant.apache.org/index.html" dest="downloads"> | |||
<header name="header1" value="headerValue1"/> | |||
<header name="header2" value="headerValue2"/> | |||
<header name="header3" value="headerValue3"/> | |||
</get></pre> | |||
<p>get the index and FAQ pages of <samp>http://ant.apache.org/</samp>, and store them in the | |||
<p>get the index and FAQ pages of <samp>https://ant.apache.org/</samp>, and store them in the | |||
directory <samp>downloads</samp> which will be created if necessary.</p> | |||
</body> | |||
</html> |
@@ -88,7 +88,7 @@ other than its default, <q>add</q>.</strong></p> | |||
<p>To cryptographically sign your JAR file, use the <a href="signjar.html">SignJar task</a> on the | |||
JAR that you create from this task.</p> | |||
<p>For creating a simple version of a <a href="http://openjdk.java.net/jeps/238" target="_top">JEP | |||
<p>For creating a simple version of a <a href="https://openjdk.java.net/jeps/238" target="_top">JEP | |||
238 multi-release jar</a>, you don't need any special tools. Just set the | |||
required <code>manifest</code> entry and place the files where required, as you could see in | |||
the <a href="#jep238-example">JEP 238 example</a>. If you want to tune this kind of jar, | |||
@@ -521,7 +521,7 @@ JDK 6 scripting interface:</p> | |||
<h4 id="jep238-example">JEP 238 example: a Multi-Release JAR Files</h4> | |||
<p>Here we want to create a <em>Multi-Release JAR File</em> according the | |||
specification <a href="http://openjdk.java.net/jeps/238" target="_top">JEP 238</a>. It defines on | |||
specification <a href="https://openjdk.java.net/jeps/238" target="_top">JEP 238</a>. It defines on | |||
top of a JAR the possibility to place additional or overwriting classes in a jar, which are | |||
available according to the Java version you run.<br/>Basically it says, that you have to set the | |||
manifest entry <code>Multi-Release: true</code> and place all additional or overwriting classes | |||
@@ -72,7 +72,7 @@ jar. (Optional dependencies will be used if present else they will be ignored)</ | |||
implementationVendorID="vv" | |||
implementationVendor="Apache" | |||
implementationVersion="2.0" | |||
implementationURL="http://somewhere.com"/> | |||
implementationURL="https://somewhere.com"/> | |||
<jarlib-manifest destfile="myManifest.txt"> | |||
<extension refid="e1"/> | |||
@@ -87,7 +87,7 @@ jar. (Optional dependencies will be used if present else they will be ignored)</ | |||
implementationVendorID="vv" | |||
implementationVendor="Apache" | |||
implementationVersion="2.0" | |||
implementationURL="http://somewhere.com"/> | |||
implementationURL="https://somewhere.com"/> | |||
<extensionSet id="option.ext"> | |||
<libfileset dir="lib/option"> | |||
@@ -158,7 +158,7 @@ does not implement extension then throw an exception.</p> | |||
<jarlib-resolve property="dve.library"> | |||
<extension refid="dve.ext"/> | |||
<url url="http://www.realityforge.net/jars/dve.jar" destfile="lib/dve.jar"/> | |||
<url url="https://www.example.com/jars/dve.jar" destfile="lib/dve.jar"/> | |||
</jarlib-resolve></pre> | |||
<p>Resolve Extension to file produce by Ant build. If file does not get produced or Ant file is | |||
@@ -188,7 +188,7 @@ finally try to download it from a website. If all steps fail then throw a build | |||
<extension refid="dve.ext"/> | |||
<location location="/opt/jars/dve.jar"/> | |||
<ant antfile="../dve/build.xml" target="main" destfile="lib/dve.jar"/> | |||
<url url="http://www.realityforge.net/jars/dve.jar" destfile="lib/dve.jar"/> | |||
<url url="https://example.com/jars/dve.jar" destfile="lib/dve.jar"/> | |||
</jarlib-resolve></pre> | |||
</body> | |||
@@ -718,8 +718,8 @@ references to strings that can by used in an OS independent fashion | |||
</javac></pre> | |||
<h3>OpenJDK notes</h3> | |||
<p>The <a href="http://openjdk.java.net/" target="_top">OpenJDK</a> project has provided | |||
the <code>javac</code> <a href="http://openjdk.java.net/groups/compiler/" target="_top">compiler</a> | |||
<p>The <a href="https://openjdk.java.net/" target="_top">OpenJDK</a> project has provided | |||
the <code>javac</code> <a href="https://openjdk.java.net/groups/compiler/" target="_top">compiler</a> | |||
as an open source project. The output of this project is a <code>javac.jar</code> which contains | |||
the <kbd>javac</kbd> compiler. This compiler may be used with the <code><javac></code> task | |||
with the use of a <kbd>-Xbootclasspath/p</kbd> Java argument. The argument needs to be given to the | |||
@@ -47,7 +47,7 @@ attribute:</p> | |||
<ul> | |||
<li><q>default</q>—the default compiler for the platform.</li> | |||
<li><q>sun</q>—the standard compiler of the JDK.</li> | |||
<li><q>kaffeh</q>—the native standard compiler of <a href="http://www.kaffe.org" | |||
<li><q>kaffeh</q>—the native standard compiler of <a href="https://github.com/kaffe/kaffe" | |||
target="_top">Kaffe</a>.</li> | |||
<li><q>gcjh</q>—the native standard compiler | |||
of <a href="https://gcc.gnu.org/gcc-7/changes.html#java" target="_top">gcj and | |||
@@ -27,7 +27,7 @@ | |||
<h3>Description</h3> | |||
<p>Invokes the <a href="http://www.clarkware.com/software/JDepend.html" target="_top">JDepend</a> | |||
<p>Invokes the <a href="https://github.com/clarkware/jdepend" target="_top">JDepend</a> | |||
parser.</p> | |||
<p>This parser "traverses a set of Java source file directories and generates design quality | |||
@@ -117,12 +117,12 @@ and load them as Ant properties.</p> | |||
</filterchain> | |||
</loadproperties></pre> | |||
<p>Load contents of <samp>http://example.org/url.properties.gz</samp>, uncompress it on the fly and | |||
<p>Load contents of <samp>https://example.org/url.properties.gz</samp>, uncompress it on the fly and | |||
load the contents as Ant properties.</p> | |||
<pre> | |||
<loadproperties> | |||
<<a href="../Types/resources.html#gzipresource">gzipresource</a>> | |||
<<a href="../Types/resources.html#url">url</a> url="http://example.org/url.properties.gz"/> | |||
<<a href="../Types/resources.html#url">url</a> url="https://example.org/url.properties.gz"/> | |||
</gzipresource> | |||
</loadproperties></pre> | |||
@@ -76,7 +76,7 @@ the property is not set.</p> | |||
an <code><echo></code> can print this.</p> | |||
<pre> | |||
<loadresource property="homepage"> | |||
<url url="http://ant.apache.org/index.html"/> | |||
<url url="https://ant.apache.org/index.html"/> | |||
</loadresource></pre> | |||
<p>For more examples see the <a href="loadfile.html">loadfile</a> task.</p> | |||
@@ -54,7 +54,7 @@ | |||
<li><q>default</q>—the default converter for the platform: kaffe when run on Kaffe, | |||
builtin otherwise.</li> | |||
<li><q>sun</q>—used to be the standard converter of the JDK 8 or earlier</li> | |||
<li><q>kaffe</q>—the standard converter of <a href="http://www.kaffe.org" | |||
<li><q>kaffe</q>—the standard converter of <a href="https://github.com/kaffe/kaffe" | |||
target="_top">Kaffe</a></li> | |||
<li><q>builtin</q>—Ant's internal implementation. <em>Since Ant 1.9.8</em></li> | |||
</ul> | |||
@@ -65,11 +65,11 @@ See <a href="../install.html#librarydependencies">Library Dependencies</a> for m | |||
<pre><bzip2 src="test.tar" destfile="test.tar.bz2"/></pre> | |||
<pre><xz src="test.tar" destfile="test.tar.xz"/></pre> | |||
<p>Download <samp>http://example.org/archive.tar</samp> and compress it | |||
<p>Download <samp>https://example.org/archive.tar</samp> and compress it | |||
to <samp>archive.tar.gz</samp> in the project's <var>basedir</var> on the fly.</p> | |||
<pre> | |||
<gzip destfile="archive.tar.gz"> | |||
<url url="http://example.org/archive.tar"/> | |||
<url url="https://example.org/archive.tar"/> | |||
</gzip></pre> | |||
</body> | |||
@@ -64,7 +64,7 @@ from a property file.</p> | |||
<p>A list of predefined properties can be | |||
found <a href="../properties.html#built-in-props">here</a>.</p> | |||
<p><em>Since Apache Ant 1.8.0</em>, it is possible to load properties defined in XML according | |||
to <a href="http://java.sun.com/dtd/properties.dtd" target="_top">Sun DTD</a>, when running on Java | |||
to <a href="https://java.sun.com/dtd/properties.dtd" target="_top">Sun DTD</a>, when running on Java | |||
5+. For this the name of the file, resource or url has to end with <samp>.xml</samp>.</p> | |||
<h3>Parameters</h3> | |||
@@ -215,8 +215,8 @@ nested <code>classpath</code> element.</p> | |||
<pre><property file="foo.properties"/></pre> | |||
<p>Read a set of properties from the | |||
address <samp>http://www.mysite.com/bla/props/foo.properties</samp>.</p> | |||
<pre><property url="http://www.mysite.com/bla/props/foo.properties"/></pre> | |||
address <samp>https://www.mysite.com/bla/props/foo.properties</samp>.</p> | |||
<pre><property url="https://www.mysite.com/bla/props/foo.properties"/></pre> | |||
<p>Read a set of properties from a resource called <samp>foo.properties</samp>.</p> | |||
<pre><property resource="foo.properties"/></pre> | |||
@@ -278,8 +278,8 @@ on a classpath. Here are some interesting facts about this feature</p> | |||
<pre> | |||
build.compiler=jikes | |||
deploy.server=lucky | |||
deploy.port=8080 | |||
deploy.url=http://${deploy.server}:${deploy.port}/</pre> | |||
deploy.port=8443 | |||
deploy.url=https://${deploy.server}:${deploy.port}/</pre> | |||
<h3 id="notes-env">Notes about environment variables</h3> | |||
<p> | |||
@@ -55,7 +55,7 @@ a <code>BuildException</code> is thrown.</p> | |||
an unreliable network resource.</p> | |||
<pre> | |||
<retry retrycount="3"> | |||
<get src="http://www.unreliable-server.com/unreliable.tar.gz" | |||
<get src="https://www.unreliable-server.com/unreliable.tar.gz" | |||
dest="/home/retry/unreliable.tar.gz"/> | |||
</retry></pre> | |||
</body> | |||
@@ -52,7 +52,7 @@ are the choices:</p> | |||
<li><q>default</q>—the default compiler (<q>kaffe</q>, <q>sun</q> or <q>forking</q>) for the | |||
platform. | |||
<li><q>sun</q>—the standard compiler prior to JDK 9</li> | |||
<li><q>kaffe</q>—the standard compiler of <a href="http://www.kaffe.org" | |||
<li><q>kaffe</q>—the standard compiler of <a href="https://github.com/kaffe/kaffe" | |||
target="_top">Kaffe</a></li> | |||
<li><q>weblogic</q></li> | |||
<li><q>forking</q>—(<em>since Apache Ant 1.7</em>) the <q>sun</q> compiler forked into a | |||
@@ -72,7 +72,7 @@ consult miniRMI's documentation to learn how to use it.</p> | |||
<h4>CORBA support</h4> | |||
<p>Java 11 <a href="http://openjdk.java.net/jeps/320" target="_top">removes</a> the Java EE and | |||
<p>Java 11 <a href="https://openjdk.java.net/jeps/320" target="_top">removes</a> the Java EE and | |||
CORBA packages and <kbd>rmic</kbd> no longer supports either <kbd>-iiop</kbd> | |||
or <kbd>-idl</kbd> options. Starting with Ant 1.10.3, the <kbd>rmic</kbd> task will fail when using | |||
either while running Java 11+ unless you fork the task and explicitly specify an executable.</p> | |||
@@ -249,7 +249,7 @@ that Ant will not create a task of the same (namespace,localname) name pair.</p> | |||
<target name="echo-task-jython"> | |||
<scriptdef language="jython" | |||
name="echo" | |||
uri="http://example.org/script"> | |||
uri="https://example.org/script"> | |||
<![CDATA[ | |||
self.log("text: " +self.text) | |||
]]> | |||
@@ -257,7 +257,7 @@ self.log("text: " +self.text) | |||
</target> | |||
<target name="testEcho" depends="echo-task-jython" | |||
xmlns:s="http://example.org/script"> | |||
xmlns:s="https://example.org/script"> | |||
<s:echo>nested text</s:echo> | |||
</target></pre> | |||
@@ -37,7 +37,7 @@ | |||
<p>At present the tasks support:</p> | |||
<ul> | |||
<li><a href="http://www.bea.com" target="_top">WebLogic</a> servers</li> | |||
<li><a href="https://www.oracle.com/corporate/acquisitions/bea/" target="_top">WebLogic</a> servers</li> | |||
<li><a href="https://jonas.ow2.org/" target="_top">JOnAS</a> 2.4 Open Source EJB server</li> | |||
</ul> | |||
<p>Over time we expect further optional tasks to support additional J2EE Servers.</p> | |||
@@ -107,7 +107,7 @@ that makes it clear to readers of the build exactly what is going on.</p> | |||
<p>Splash the Jakarta logo, for an initial period of 5 seconds.</p> | |||
<pre> | |||
<splash imageurl="http://jakarta.apache.org/images/jakarta-logo.gif" | |||
<splash imageurl="https://jakarta.apache.org/images/jakarta-logo.gif" | |||
useproxy="true" | |||
showduration="5000"/></pre> | |||
@@ -45,7 +45,7 @@ attributes point to files in the format of Java property files or an xml format. | |||
<p>If you are defining tasks or types that share the same classpath with | |||
multiple <code>taskdef</code> or <code>typedef</code> tasks, the corresponding classes will be | |||
loaded by different | |||
Java <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html" | |||
Java <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassLoader.html" | |||
target="_top">ClassLoaders</a>. Two classes with the same name loaded via different ClassLoaders | |||
are not the same class from the point of view of JVM, they don't share static variables and | |||
instances of these classes can't access private methods or attributes of instances defined by "the | |||
@@ -78,11 +78,11 @@ See <a href="../install.html#librarydependencies">Library Dependencies</a> for m | |||
a directory).</p> | |||
<pre><gunzip src="test.tar.gz" dest="subdir"/></pre> | |||
<p>Download <samp>http://example.org/archive.tar.gz</samp> and expand it to <samp>archive.tar</samp> | |||
<p>Download <samp>https://example.org/archive.tar.gz</samp> and expand it to <samp>archive.tar</samp> | |||
in the project's <var>basedir</var> on the fly.</p> | |||
<pre> | |||
<gunzip dest="."> | |||
<url url="http://example.org/archive.tar.gz"/> | |||
<url url="https://example.org/archive.tar.gz"/> | |||
</gunzip> | |||
</pre> | |||
@@ -106,16 +106,16 @@ task. See <a href="conditions.html">here</a> for the full list.</p> | |||
on <samp>localhost</samp> to serve up the specified URL.</p> | |||
<pre> | |||
<waitfor maxwait="3" maxwaitunit="minute" checkevery="500"> | |||
<http url="http://localhost/myapp/index.html"/> | |||
<http url="https://localhost/myapp/index.html"/> | |||
</waitfor></pre> | |||
<p>Wait up to 10 seconds for a server on the <samp>dbserver</samp> machine to begin listening on | |||
port 1521 and for the <samp>http://webserver/mypage.html</samp> web page to become available.</p> | |||
port 1521 and for the <samp>https://webserver/mypage.html</samp> web page to become available.</p> | |||
<pre> | |||
<waitfor maxwait="10" maxwaitunit="second"> | |||
<and> | |||
<socket server="dbserver" port="1521"/> | |||
<http url="http://webserver/mypage.html"/> | |||
<http url="https://webserver/mypage.html"/> | |||
</and> | |||
</waitfor></pre> | |||
@@ -90,7 +90,7 @@ target="_top">Package Versioning documentation.</a></p> | |||
implementationVendorID="vv" | |||
implementationVendor="Apache" | |||
implementationVersion="2.0" | |||
implementationURL="http://somewhere.com/myExt.jar"/> | |||
implementationURL="https://somewhere.com/myExt.jar"/> | |||
</pre> | |||
<p>Fully specified extension object.</p> | |||
@@ -53,7 +53,7 @@ extension set. However, the extension information may be modified by attributes | |||
implementationVendorID="vv" | |||
implementationVendor="Apache" | |||
implementationVersion="2.0" | |||
implementationURL="http://somewhere.com/myExt.jar"/> | |||
implementationURL="https://somewhere.com/myExt.jar"/> | |||
<libfileset id="lfs" | |||
includeUrl="true" | |||
@@ -64,8 +64,8 @@ | |||
URI of the XML namespace with which the type should be associated: | |||
</p> | |||
<pre> | |||
<typedef resource="org/example/tasks.properties" uri="<a href="http://example.org/tasks">http://example.org/tasks</a>"/> | |||
<my:task xmlns:my="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<typedef resource="org/example/tasks.properties" uri="http://example.org/tasks"/> | |||
<my:task xmlns:my="http://example.org/tasks"> | |||
... | |||
</my:task></pre> | |||
<p>As the above example demonstrates, the namespace URI needs to be specified at least | |||
@@ -74,8 +74,8 @@ | |||
the <var>xmlns</var> attribute. This mapping can happen at any level in the build file: | |||
</p> | |||
<pre> | |||
<project name="test" xmlns:my="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<typedef resource="org/example/tasks.properties" uri="<a href="http://example.org/tasks">http://example.org/tasks</a>"/> | |||
<project name="test" xmlns:my="http://example.org/tasks"> | |||
<typedef resource="org/example/tasks.properties" uri="http://example.org/tasks"/> | |||
<my:task> | |||
... | |||
</my:task> | |||
@@ -86,8 +86,8 @@ | |||
</p> | |||
<pre> | |||
<project name="test"> | |||
<typedef resource="org/example/tasks.properties" uri="<a href="http://example.org/tasks">http://example.org/tasks</a>"/> | |||
<task xmlns="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<typedef resource="org/example/tasks.properties" uri="http://example.org/tasks"/> | |||
<task xmlns="http://example.org/tasks"> | |||
... | |||
</task> | |||
</project></pre> | |||
@@ -113,8 +113,8 @@ | |||
nested <code>config</code> element, the build file snippet would look like this: | |||
</p> | |||
<pre> | |||
<typedef resource="org/example/tasks.properties" uri="<a href="http://example.org/tasks">http://example.org/tasks</a>"/> | |||
<my:task xmlns:my="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<typedef resource="org/example/tasks.properties" uri="http://example.org/tasks"/> | |||
<my:task xmlns:my="http://example.org/tasks"> | |||
<my:config a="foo" b="bar"/> | |||
... | |||
</my:task></pre> | |||
@@ -123,8 +123,8 @@ | |||
script: | |||
</p> | |||
<pre> | |||
<typedef resource="org/example/tasks.properties" uri="<a href="http://example.org/tasks">http://example.org/tasks</a>"/> | |||
<task xmlns="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<typedef resource="org/example/tasks.properties" uri="http://example.org/tasks"/> | |||
<task xmlns="http://example.org/tasks"> | |||
<config a="foo" b="bar"/> | |||
... | |||
</task></pre> | |||
@@ -134,8 +134,8 @@ | |||
</p> | |||
<pre> | |||
<typedef resource="org/example/tasks.properties" | |||
uri="<a href="http://example.org/tasks">http://example.org/tasks</a>"/> | |||
<my:task xmlns:my="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
uri="http://example.org/tasks"/> | |||
<my:task xmlns:my="http://example.org/tasks"> | |||
<config a="foo" b="bar"/> | |||
... | |||
</my:task></pre> | |||
@@ -161,7 +161,7 @@ | |||
<p> | |||
</p> | |||
<pre> | |||
<my:task xmlns:my="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<my:task xmlns:my="http://example.org/tasks"> | |||
<my:config a="foo" b="bar"/> | |||
... | |||
</my:task></pre> | |||
@@ -169,7 +169,7 @@ | |||
and | |||
</p> | |||
<pre> | |||
<my:task xmlns:my="<a href="http://example.org/tasks">http://example.org/tasks</a>"> | |||
<my:task xmlns:my="http://example.org/tasks"> | |||
<my:config my:a="foo" my:b="bar"/> | |||
... | |||
</my:task></pre> | |||
@@ -198,8 +198,8 @@ | |||
or <code class="code">addConfigured(Condition)</code> method): | |||
</p> | |||
<pre> | |||
<typedef resource="org/example/conditions.properties" uri="<a href="http://example.org/conditions">http://example.org/conditions</a>"/> | |||
<condition property="prop" xmlns="<a href="http://example.org/conditions">http://example.org/conditions</a>"> | |||
<typedef resource="org/example/conditions.properties" uri="http://example.org/conditions"/> | |||
<condition property="prop" xmlns="http://example.org/conditions"> | |||
<and> | |||
<available file="bla.txt"/> | |||
<my:condition a="foo"/> | |||
@@ -1277,10 +1277,10 @@ actually be reached. It assumes that the file <samp>mirrors.txt</samp> looks li | |||
<pre> | |||
mirrors.txt: | |||
http://best.mirror.example.org/ | |||
https://best.mirror.example.org/ | |||
http://second.best.mirror.example.org/mirror/of/best/ | |||
https://yet.another.mirror/ | |||
http://the.original.site/</pre> | |||
https://the.original.site/</pre> | |||
<pre> | |||
<copy todir="${target}"> | |||
@@ -134,7 +134,7 @@ and ownership attributes.</p> | |||
<copy todir="some-dir"> | |||
<tarfileset includes="lib/**"> | |||
<bzip2resource> | |||
<url url="http://example.org/dist/some-archive.tar.bz2"/> | |||
<url url="https://example.org/dist/some-archive.tar.bz2"/> | |||
</bzip2resource> | |||
</tarfileset> | |||
</copy></pre> | |||
@@ -48,7 +48,7 @@ All the modern Java IDEs support Apache Ant almost out of the box. | |||
integration: GUI selection of targets, execution, hyperlink to compilation errors | |||
</li> | |||
<li> | |||
<a href="http://ant.netbeans.org/" target="_top">NetBeans</a> IDE uses Ant as the basis for its | |||
<a href="https://netbeans.org/" target="_top">NetBeans</a> IDE uses Ant as the basis for its | |||
project system starting with the 4.0 release | |||
</li> | |||
<li> | |||
@@ -248,7 +248,7 @@ The more up-to-date the version of Java, the more Ant tasks you get. | |||
<h3>Open Source Java Runtimes</h3> | |||
<p> | |||
The Ant team strongly supports users running Ant on <a href="http://openjdk.java.net/" target="_top">OpenJDK</a> and | |||
The Ant team strongly supports users running Ant on <a href="https://openjdk.java.net/" target="_top">OpenJDK</a> and | |||
other open source Java runtimes, and so strives to have a product that works well on those platforms. | |||
</p> | |||
@@ -836,7 +836,7 @@ these tasks available. Please refer to the <a href="#optionalTasks">Installing A | |||
<tr> | |||
<td>jython.jar</td> | |||
<td>Python with <a href="Tasks/script.html">script</a> task</td> | |||
<td><a href="http://www.jython.org/" target="_top">http://www.jython.org/</a></td> | |||
<td><a href="https://www.jython.org/" target="_top">https://www.jython.org/</a></td> | |||
</tr> | |||
<tr> | |||
<td>jacl.jar and tcljava.jar</td> | |||
@@ -857,12 +857,12 @@ these tasks available. Please refer to the <a href="#optionalTasks">Installing A | |||
<tr> | |||
<td>jruby.jar</td> | |||
<td>Ruby with <a href="Tasks/script.html">script</a> task</td> | |||
<td><a href="http://jruby.org/" target="_top">http://jruby.org/</a></td> | |||
<td><a href="https://jruby.org/" target="_top">https://jruby.org/</a></td> | |||
</tr> | |||
<tr> | |||
<td>judo.jar</td> | |||
<td>Judo language with <a href="Tasks/script.html">script</a> task</td> | |||
<td><a href="http://www.judoscript.org/" target="_top">http://www.judoscript.org/</a></td> | |||
<td>used to be at http://www.judoscript.org/ which is now not available anymore.</td> | |||
</tr> | |||
<tr> | |||
<td>commons-logging.jar</td> | |||
@@ -902,7 +902,7 @@ these tasks available. Please refer to the <a href="#optionalTasks">Installing A | |||
<ul> | |||
<li>Included in Java 6 to Java 10 but the <code>java.activation</code> module is deprecated and marked for removal in | |||
Java 9 and needs to be enabled explicitly on Java 10.</li> | |||
<li>Starting Java 11, the <code>java.activation</code> module has been <a href="http://openjdk.java.net/jeps/320">removed</a> and the jar has to be explicitly made available in the classpath.</li> | |||
<li>Starting Java 11, the <code>java.activation</code> module has been <a href="https://openjdk.java.net/jeps/320">removed</a> and the jar has to be explicitly made available in the classpath.</li> | |||
</ul> | |||
</td> | |||
<td><a href="Tasks/mail.html">mail</a> task with MIME encoding, | |||
@@ -287,7 +287,7 @@ public class ToStringEvaluator implements PropertyHelper.PropertyEvaluator { | |||
<p>then the syntax can be used to pass in resource subclasses previously defined as references | |||
like</p> | |||
<pre> | |||
<url url="http://ant.apache.org/" id="anturl"/> | |||
<url url="https://ant.apache.org/" id="anturl"/> | |||
<my:task attr="${ant.refid:anturl}"/></pre> | |||
<h2 id="if+unless">If/Unless Attributes</h2> | |||
@@ -172,7 +172,7 @@ documentation.</p> | |||
<tr> | |||
<td><a href="Tasks/jdepend.html">JDepend</a></td> | |||
<td><p>Invokes | |||
the <a href="http://www.clarkware.com/software/JDepend.html" | |||
the <a href="https://github.com/clarkware/jdepend" | |||
target="_top">JDepend</a> parser. This parser "traverses a | |||
set of Java source-file directories and generates design-quality | |||
metrics for each Java package".</p></td> | |||