A new add-on compatible with the Roo 1.2 (and beyond) code base will be created to provide equals and hashCode methods. The common lang EqualsBuiler and HashCodeBuilder classes will be utilized and the first use of the command will install the commons-lang dependency. This will be similar to the existing 1.1.x compatible add-on already out there at http://code.google.com/p/spring-roo-equals-roo-addon/
The driving need for this new add-on is the requirement of entities to implement equals and hashCode for use in JSF many-to-many collections, and apart from the fact that the above external add-on does not work with Roo 1.2, the dependence on the external add-on by a Roo core add-on (
ROO-516) is not desirable.