Hey, I'm trying to create an object in spring STS using scofolding GWT. The entity must be superclass and abstract. When I say roo to create an object called Person, the following results.
~.model.Person roo> entity --class ~.model.Person --mappedSuperclass --abstract Created SRC_MAIN_JAVA\tt\edu\sbcs\model\Person.java Created SRC_MAIN_JAVA\tt\edu\sbcs\model\Person_Roo_Configurable.aj Created SRC_MAIN_JAVA\tt\edu\sbcs\model\Person_Roo_Entity.aj Created SRC_MAIN_JAVA\tt\edu\sbcs\model\Person_Roo_ToString.aj Undo create SRC_MAIN_JAVA\tt\edu\sbcs\model\Person_Roo_ToString.aj Undo create SRC_MAIN_JAVA\tt\edu\sbcs\model\Person_Roo_Entity.aj Undo create SRC_MAIN_JAVA\tt\edu\sbcs\model\Person_Roo_Configurable.aj Undo create SRC_MAIN_JAVA\tt\edu\sbcs\model\Person.java GWT does not currently support inheritence in proxied objects. Please remove the 'javax.persistence.MappedSuperclass' annotation from 'tt.edu.sbcs.model.Person' in order to complete 'gwt setup'. ~.model.Person roo>
So the question is: is there a way to create an abstract supertype in Roo and still work with GWT? Can you say "Create an abstract object but not generate GWT artifacts"?
source share