Tag Archive 'Google App Engine'

Installing Grails on Mac OS X

Posted by pebuchmann_super on 26 Jun 2009 | Tagged as: Software Development

I found this blog that explains how to install Grails on Max OS X. Copy the downloaded folder to /usr/share/ $cd /usr/share $sudo chown -R root:wheel grails-1.1.1/ $sudo chmod 0755 grails-1.0.1/bin/* $ln -s grails-1.1.1 grails Add the path variable to /ect/profile like on Linux.

Grails App-Engine deployment

Posted by pebuchmann_super on 11 Jun 2009 | Tagged as: Software Development

When deploying a new version of my application (actually I started an entire project from scratch) I continuously bounced my head against this  “You don’t have the permission…” exception. I finally added the following lines to my Configuration/config.groovy file: google.appengine.application=”myproject” google.appengine.email=”myname@gmail.com” google.appengine.password=”XXX” where myproject is the part that appears in the url, like myproject.appspot.com.

Google App-Engine, Grails and Security

Posted by pebuchmann_super on 08 Jun 2009 | Tagged as: Software Development

Here are the directions for a patch in a great Screencast by Tomás Lin that makes authentication work  in a Grails Application on Google’s App-Engine: google.appengine.sessionEnabled = true // default true google.appengine.enableSsl = true // default true google.appengine.security.useHttps = ["/secure", "/shoppingcart/*", "/admin"] google.appengine.security.requireAdmin = ["/admin", "/notsecuredadmin"] google.appengine.security.requireLogin = ["/admin", "/", "/yabbadabbadoo"] Don’t forget to apply [...]

Google App-Engine and Grails Dynamic Methods

Posted by pebuchmann_super on 07 Jun 2009 | Tagged as: Software Development

A blog entry about running grails on Google’s App Engine. Among other things the methods that are provided by the App-Engine plugin are listed. The added domain class MetaClass methods are: save get delete findAll withTransaction withPersistenceManager (to execute code with access to the PersistenceManager) isJdoPersistent, isJdoDeleted, isJdoDetached, isJdoDirty, isJdoNew, isJdoTransactional, getJdoTransactionalObjectId, getJdoVersion, getJdoObjectId, and [...]

Grails App-Engine JDO ‘generate-all’ Bug

Posted by pebuchmann_super on 06 Jun 2009 | Tagged as: Software Development

When using the above script the compiler apparently cannot find the Key class for the Google Data Store. A workaround is to simply add the following jar directly to the Classpath: $APPENGINE_HOM/lib/user/appengine-api-1.0-sdk-1.2.1.jar