Jeremy Anderson is a software craftsman, agile coach, mentor, adjunct professor, freelance writer, husband, father, and Kung Fu practitioner, though not necessarily in that order. He has spent the past several years perfecting his craft, developing web based solutions and integrations using Java, Flex, Groovy on Grails, Ruby on Rails and .NET, and mobile solutions for the iOS platform.




Hi Jeremy Anderson,
I’m very glad to read this article about your FlexMojos achetype. I have tried it, it work fine, but just one think as the FlexMojos plugin is now in 1.0-beta8, and the archetype pom use the 1.0-beta7 version. The user should just change the version for be able to run mvn install and other commands. Me too it was a project that I wanted (write archetype for flexmojos). But now I’m very glad. It’s a great work. moreover, please, is it possible to have your arhetype source code ? I want to add other think for my own project if it’s possible. If ok, please, you can send me a email with the ZIP source code in attached files. Thank you in advance and have a good day.
dialloma
Hi Jeremy,
just read your article in GroovyMag and decided to give the sample flex/grails app a try. Unfortunately I keep getting the error below when I try to run the app. I’ve reviewed my code against the downloaded listings and against the source in github. I know I’m just missing something simple somewhere. Anything you could do to point me in the right direction would be appreciated.
regards,
Scott
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 Errors found.
Error /main.mxml:29
Type was not found or was not a compile-time constant: Contact.
28:
29: private function doSelect(c:Contact):void {
30: selectedContact = c;
Error /main.mxml:44
Type was not found or was not a compile-time constant: Contact.
43:
44: private function deleteContact(selectedContact:Contact):void {
45: contactService.remove(selectedContact);
Error /main.mxml:49
Type was not found or was not a compile-time constant: Contact.
48:
49: private function updateContact(contact:Contact):void {
50: contactService.update(selectedContact);
Did you create the Contact.as class and place it in the web-app/WEB-INF/flex/user_classes folder?
Hi Jeremy,
yes I did create the Contact.as class in that folder. I’ve reviewed all the source on the Github repository and can’t find in errors in my code so I think there must be something weird with my system. No swf is being generated, shouldnt there be a swf somewhere? I do have Flex Builder on my system(windows xp) so I’m wondering if there may be a conflict somewhere with that…
thanks again for any pointers, I’m enthused about using Flex and Grails together!
Scott
Hi Jeremy,
I am the organizer of the Detroit Java User Group. I see that you recently spoke at the GR – JUG and I’m wondering if you would be interested in speaking at our JUG. We have several members interested in Flex and Groovy.
Please, contact me when you get chance.
Thanks,
David McKinnon
The Detroit Java User Group
http://sites.google.com/site/detroitjug/
Hi Jeremy,
I posted awhile back about a problem I had with the app from GroovyMag. Well, I just happened to take another look at it and realized the Contact.as file was named contact.as…renamed the file and it worked like a charm…doh! Thanks again for the excellent article and tutorial,
Scott
Great blog.
let me know when you get to southeast, michigan, preferably southfield