ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: JavaDoc and API matching issue
Date Fri, 04 Jun 2010 13:20:57 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message