ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Saxtoft" ...@sondagsavisen.dk>
Subject Automate toString() creation
Date Tue, 15 Jan 2002 13:06:24 GMT
JavaWorld has a very interesting articel on automating creations of
toString-methods
(http://www.javaworld.com/javaworld/javatips/jw-javatip99.html).
The problem I see is that in a project classes continue changing,
developers adding or removing fields. Doing that the toString() quickly
gets out of sync with the code it represents.
Now to the point. Has anyone made a Ant task which takes a class and
updates the toString based on e.g. a fileset?

Thomas Saxtoft

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message