From: Andrea A. <and...@ge...> - 2012-08-22 16:21:58
|
On Wed, Aug 22, 2012 at 6:06 PM, Justin Deoliveira <jde...@op...>wrote: > Ok, looked at it, and didn't regenerate the entire module from scratch to > see what came out but what i was able to do was manually instrument the > model to fix the code generation. What i did was > (using AcknowledgementType#getTimestamp()) > > 1. Change the return type to just java.util.Calendar > 2. remove the @generated annotation > 3. remove everything past the @model annotation, specifically the dataType > attribute > 4. remove the #setTimestamp setter > > Then I reload the model, and regenerate code and > the generated implementation classes compile. > Doh, I would have never guessed (the modifications above seem a bit arbitrary?), but it works. I've managed to fix another build error the same way, all that remains are the classes in the "util" package... which I believe I do not need, at least the other EMF models in GeoTools are missing that package Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |