Hi,

Here's a question from someone whose not on the list:

<forwarded-message>
I'm trying to understand how to write custom
tasks in Ant. There are two potential methods
that I can use:

public [Object] create[ElementName]()

or

public void add[ElementName]([Object] obj)

The Ant user manual says this:

"For each nested element, write a create or
add method. A create method must be a public
method that ..."

They go on to describe the naming conventions,
but don't bother to say what is the difference
between "create" and "add".
</forwarded-message>

I would appreciate a clarification.

-- 
Weiqi Gao
[EMAIL PROTECTED]


Reply via email to