Browse Source

spelling, ws

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@442613 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
bd60223ed8
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      docs/manual/develop.html

+ 1
- 6
docs/manual/develop.html View File

@@ -29,7 +29,7 @@
<p>It is very easy to write your own task:</p>
<ol>
<li>Create a Java class that extends <code>org.apache.tools.ant.Task</code>
or <a href="base_task_classes.html">another class</a> that was desgined to be extended.</li>
or <a href="base_task_classes.html">another class</a> that was designed to be extended.</li>
<li>For each attribute, write a <i>setter</i> method. The setter method must be a
<code>public void</code> method that takes a single argument. The
name of the method must begin with <code>set</code>, followed by the
@@ -380,7 +380,6 @@ public class MyVeryOwnTask extends Task {
<li>Use your task in the rest of the buildfile.</li>
</ol>


<h3>Example</h3>
<blockquote>
<pre>
@@ -425,7 +424,6 @@ compiled.
</pre>
</blockquote>


<p>Another way to add a task (more permanently), is to add the task name and
implementing class name to the <code>default.properties</code> file in the
<code>org.apache.tools.ant.taskdefs</code>
@@ -487,7 +485,6 @@ been configured.
<hr>
<h2><a name="integration">Source code integration</a></h2>


The other way to extend Ant through Java is to make changes to existing tasks, which is positively encouraged.
Both changes to the existing source and new tasks can be incorporated back into the Ant codebase, which
benefits all users and spreads the maintenance load around.
@@ -503,8 +500,6 @@ Ant also has some
which provides some advice to people developing and testing tasks. Even if you intend to
keep your tasks to yourself, you should still read this as it should be informative.



</body>
</html>


Loading…
Cancel
Save