AppEngine Plugin

Problem with datastore-indexes.xml using AppEngine version 1.2.1

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Grails 1.1.1 and Google AppEngine 1.2.1

Description

I'm using the 1.2.1 version of the AppEngine SDK and got the following error trying to update the app:

$ /Developer/Google/appengine-java-sdk-1.2.1/bin/appcfg.sh update target/war/
Reading application configuration data...
Bad configuration: XML error validating target/war/WEB-INF/datastore-indexes.xml against /Developer/Google/appengine-java-sdk-1.2.1/docs/datastore-indexes.xsd
Caused by: cvc-elt.1: Cannot find the declaration of element 'datastore-indexes'.
Please see the logs [/tmp/appcfg32522.log] for further information.

I got around that by removing the target/war/WEB-INF/datastore-indexes.xml file before updating.

Activity

Hide
Tomas Lin added a comment -

This is a google bug: http://code.google.com/p/googleappengine/issues/detail?id=1545

But should disable datasources.xml generation in _Events.groovy until resolved...

Show
Tomas Lin added a comment - This is a google bug: http://code.google.com/p/googleappengine/issues/detail?id=1545 But should disable datasources.xml generation in _Events.groovy until resolved...

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: