On 2010-06-04, Raja Nagendra Kumar wrote:

> In the API I don't see any setId() method at all

This is normal since id handling happens inside of Ant's core
(RuntimeConfigurable) and not at the task level.

> and setRefid() method is deprecated.

You must be looking at a different codebase than me.  FileList#setRefid
is not deprecated in trunk.

> I am looking for setId() method to use it in my custom ant task.

That would be

     getProject().addReference(THE_ID, THE_FILELIST)

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to