Tuesday, January 24, 2012

Regex for removing all roo mobile scaffold references


ScaffoldApp\.isMobile\(\) \? .*\.instance\(\) :
ScaffoldApp\.isMobile\(\) \? .*\.instance\(\)\R\t\t\t\t:

Thursday, January 12, 2012

STS, AspectJ and eclipselink canonical model generation


I've been using Spring Roo together with GWT to create a fairly simple web app. The auto generated queries that Roo produces don't use the JPA Criteria API. So I decided to throw in EclipseLink model generator.

For some reason the combo of STS+AspectJ+ModelGen stops the model generator kicking in. When I disabled the Aspect-J Compatibility, the EclipseLink model generator actually fired and created my models. I guess I should actually just use Maven.... :-)