Editing Antology

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 9: Line 9:
=== In Alphabetical Order ===
=== In Alphabetical Order ===


: [http://antology.unkrig.de/antdoc/index.html?tasks/break.html               <code><break></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/break.html           <code><break></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/continue.html           <code><continue></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/continue.html         <code><continue></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/cookieHandler.html      <code><cookieHandler></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/follow.html           <code><follow></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/follow.html             <code><follow></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/forEach2.html         <code><forEach2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/forEach2.html           <code><forEach2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/ftp2.html             <code><ftp2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/ftp2.html               <code><ftp2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/jsonProperty.html     <code><jsonProperty></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/httpsUrlConnections.html <code><httpsUrlConnections></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/log.html             <code><log></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/jsonProperty.html       <code><jsonProperty></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/logging.html         <code><logging></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/log.html                 <code><log></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/nslookup.html         <code><nslookup></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/logging.html             <code><logging></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/propertyXml2.html     <code><propertyXml2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/nslookup.html           <code><nslookup></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/retry.html           <code><retry2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/propertyXml2.html       <code><propertyXml2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/setAuthenticator.html <code><setAuthenticator></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/retry2.html             <code><retry2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/setCookieHandler.html <code><setCookieHandler></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/setAuthenticator.html   <code><setAuthenticator></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/simpleLogging.html   <code><simpleLogging></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/setCookieHandler.html   <code><setCookieHandler></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/swingDialog.html     <code><swingDialog></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/simpleLogging.html       <code><simpleLogging></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/swingLookAndFeel.html <code><swingLookAndFeel></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/swingDialog.html         <code><swingDialog></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/throughput.html       <code><throughput></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/swingLookAndFeel.html   <code><swingLookAndFeel></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/urlConnection.html   <code><urlConnection></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/throughput.html         <code><throughput></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/xmlProperty2.html     <code><xmlProperty2></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/urlConnection.html       <code><urlConnection></code>]
: [http://antology.unkrig.de/antdoc/index.html?tasks/xmlProperty2.html       <code><xmlProperty2></code>]


=== By Function Group ===
=== By Function Group ===
Line 47: Line 45:
:An enhanced version of [http://ant-contrib.sourceforge.net/tasks/tasks/for.html the <code><for></code> task of ant-contrib.sourceforge.net].
:An enhanced version of [http://ant-contrib.sourceforge.net/tasks/tasks/for.html the <code><for></code> task of ant-contrib.sourceforge.net].


;[http://antology.unkrig.de/antdoc/index.html?tasks/retry2.html <code><retry2></code>]
;[http://antology.unkrig.de/antdoc/index.html?tasks/retry.html <code><retry2></code>]
:An enhanced version of the standard [http://ant.apache.org/manual/Tasks/retry.html <code><retry></code>] task.
:An enhanced version of the standard [http://ant.apache.org/manual/Tasks/retry.html <code><retry></code>] task.


Line 76: Line 74:


==== Networking Tasks ====
==== Networking Tasks ====
;[http://antology.unkrig.de/antdoc/index.html?tasks/cookieHandler.html <code><cookieHandler></code>]
:Performs various actions on the JRE's "cookie handler".


;[http://antology.unkrig.de/antdoc/index.html?tasks/ftp2.html <code><ftp2></code>]
;[http://antology.unkrig.de/antdoc/index.html?tasks/ftp2.html <code><ftp2></code>]
:Extends ANT's standard <code><ftp></code> with support for proxies.
:Extends ANT's standard <code><ftp></code> with support for proxies.
;[http://antology.unkrig.de/antdoc/index.html?tasks/httpsUrlConnections.html <code><httpsUrlConnections></code>]
:Configures Java's <code>HttpsURLConnection</code>.


;[http://antology.unkrig.de/antdoc/index.html?tasks/nslookup.html <code><nslookup></code>]
;[http://antology.unkrig.de/antdoc/index.html?tasks/nslookup.html <code><nslookup></code>]
Line 108: Line 100:
== Resource Collections ==
== Resource Collections ==


A [http://antology.org/manual/Types/resources.html#collection resource collection] represents a group of resources (e.g. local files, archive entries, etc.). A resource is an entity that has a name and a value. An often-used example of a resource collection is the <code><fileSet></code> type, where each resource is a file with its name and its contents.
A [http://antology.org/manual/Types/resources.html#collection resource collection] represents a group of resources. A resource is an entity that has a name and a value. An often-used example of a resource collection is the <code><fileSet></code> type, where each resource is a file with its name and its contents.


;[http://antology.unkrig.de/antdoc/index.html?resourceCollections/literalResource.html <code><literalResource></code>]
;[http://antology.unkrig.de/antdoc/index.html?resourceCollections/literalResource.html <code><literalResource></code>]
Line 124: Line 116:


;[http://antology.unkrig.de/antdoc/index.html?chainableReaders/progress.html <code><progress></code>]
;[http://antology.unkrig.de/antdoc/index.html?chainableReaders/progress.html <code><progress></code>]
:Prints dots (".") to STDERR as data is read through it. This implements a kind of "progress monitoring" for tasks that read data slowly.
:Prints dots (".") to STDERR as data is read through it. This implements a kind of 'progress monitoring' for slow tasks that read some data.


;[http://antology.unkrig.de/antdoc/index.html?chainableReaders/tee.html <code><tee></code>]
;[http://antology.unkrig.de/antdoc/index.html?chainableReaders/tee.html <code><tee></code>]
:Passes data through unmodified, and copies it to a second filter chain.
:Passes data through unmodified, and copies it to a second filter chain.
;[http://antology.unkrig.de/antdoc/index.html?chainableReaders/patch.html <code><patch></code>]
:Modifies the data by applying a patch file.


== Conditions ==
== Conditions ==
Line 150: Line 145:
[https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=de.unkrig&a=antology&v=LATEST&c=jar-with-dependencies MAVENCENTRAL].
[https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=de.unkrig&a=antology&v=LATEST&c=jar-with-dependencies MAVENCENTRAL].


To make Antology's tasks and types available in your ANT scripts, write
To make the contributions available in your ANT scripts, write


  <taskdef resource="de/unkrig/antology/ant.xml" classpath="path/to/antology-x.y.z-jar-with-dependencies.jar" />
  <taskdef resource="de/unkrig/antology/ant.xml" classpath="path/to/antology-jar-with-dependencies-x.y.z.jar" />


, or, if you put the JAR file on ANT's default classpath, just
, or, if you put the JAR file on ANT's default classpath, just
Line 158: Line 153:
  <taskdef resource="de/unkrig/antology/ant.xml" />
  <taskdef resource="de/unkrig/antology/ant.xml" />


ANTDOC documentation for Antology can be found online [http://antology.unkrig.de/antdoc/ here], or offline [https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=de.unkrig&a=antology&v=LATEST&c=javadoc here].
ANTDOC documentation can be found [https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=de.unkrig&a=antology&v=LATEST&c=javadoc here].


A [[Antology Change Log|Change Log]] is also available.
A [[Antology Change Log|Change Log]] is also available.
Please note that all contributions to unkrig.de may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Unkrig.de:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)