From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../apache-ant-1.9.6/manual/argumentprocessor.html | 76 ---------------------- 1 file changed, 76 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/argumentprocessor.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/argumentprocessor.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/argumentprocessor.html b/framework/src/ant/apache-ant-1.9.6/manual/argumentprocessor.html deleted file mode 100644 index 2cd5202f..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/argumentprocessor.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -The Command Line Processor Plugin: ArgumentProcessor - - - -

The Command Line Processor Plugin: ArgumentProcessor

- -

What is an ArgumentProcessor?

- -

-An ArgumentProcessor is a parser of command line argument which is -then call before and after the build file is being parsed. Third party -libraries may then be able to have custom argument line argument which modify -Ant behaviour. -

- -

-An ArgumentProcessor is called each time Ant parse an unknown -argument, an ArgumentProcessor doesn't take precedence over Ant to -parse already suported options. It is then recommended to third party -ArgumentProcessor implementation to chose specific 'enough' -argument name, avoiding for instance one letter arguments. -

- -

-It is also called at the different phases so different behaviour can be -implemented. It is called just after every arguments are parsed, just -before the project is being configured (the build file being parsed), -and just after. Some of the methods to be implemented return a boolean: -if true is returned, Ant will terminate immediately, without -error. -

- -

-Being called during all these phases, an ArgumentProcessor -can just print some specific system properties and quit (like --diagnose), or print some specific properties of a project after -being parsed and quit (like -projectHelp), or just set some -custom properties on the project and let it run. -

- -

How to register it's own ArgumentProcessor

- -

First, the ArgumentProcessor must be an implementation of -org.apache.tools.ant.ArgumentProcessor. -

- -

Then to decare it: create a file -META-INF/services/org.apache.tools.ant.ArgumentProcessor which -contains only one line the fully qualified name of the class of the -implementation. This file together with the implementation class need then to -be found in Ant's classpath. -

- - - -- cgit 1.2.3-korg