You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by do...@apache.org on 2002/06/20 02:16:00 UTC
cvs commit: jakarta-ant-myrmidon/site/src/xdocs extending.xml
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="peter@apache.org">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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>