donaldp 2002/06/19 17:16:00
Added: site/src/xdocs extending.xml
Log:
Add in basic document about extension
Revision Changes Path
1.1 jakarta-ant-myrmidon/site/src/xdocs/extending.xml
Index: extending.xml
===================================================================
<?xml version="1.0"?>
<document>
<properties>
<title>On Extending Ant 2</title>
<author email="[EMAIL PROTECTED]">Peter Donald</author>
</properties>
<body>
<section name="Introduction">
<p>One of the main motivations for Ant2 is to create a more
extensible
system. Several times throughout the history of Ant, users have
asked
for features that the developers were unable or unwilling to
implement.
Myrmidon aims to address this problem and put the power back into
the
hands of the users by allowing users to customize Ant to their
hearts
content.</p>
<p>The core of Ant2 is designed with both simplicity and
customization
in mind. There are three main elements that must be understood
when
customizing ant; roles, types and services.</p>
<p><a href="types.xml#roles">Roles</p> can be thought of as java
interfaces with associated meta-info. They define an interface or
contract via which types interact.</p>
<p><a href="types.xml#types">Types</p> can be thought of as
implementations of roles. Usually they corespond to java classes
that implement the java interface associated with one or more
roles.</p>
<p>Services are instances of java objects that are managed by the
ant runtime and provide some sort of service to any tasks that
request service. The tasks interact with Service provider via a
java
interface. There is both container provided and user provided
services.</p>
</section>
</body>
</document>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>