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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to