This project uses gradle & gradle-appengine-plugin to build, test and deploy a google example project. See http://googcloudlabs.appspot.com/codelabexercise8.html
To build, deploy and test locally: (Assuming you have git and gradle installed)
- git clone [email protected]:oakstair/gradle-gae-plugin-tryout.git
- cd gradle-gae-plugin-tryout
- gradle appengineRun
- In a web browser goto http://localhost:8888
- Upload the file data/orders1.xml. These orders will show up as pending orders.
- Select "Pending" orders and confirm some of them. And the will show up as "Processing"
- Klick "Process Confimrd Orders" to chnage their status to "Processed".
To build, deploy and test on appengine:
- git clone [email protected]:oakstair/gradle-gae-plugin-tryout.git
- cd gradle-gae-plugin-tryout
- Edit ./build.gradle and set appId and appEmail to your own values.
- Edit src/main/webapp/WEB-INF/appengine-web.xml Change application to your application name.
- Edit ajax.util.js line 199 since there is an url where you have to change to application name as well.
- gradle appengineUpdate
- gradle appengineUpdateBackend
- In a web browser goto http://your-app-name.appsot.com
- Upload the file data/orders1.xml. These orders will show up as pending orders.
- Select "Pending" orders and confirm some of them. And the will show up as "Processing"
- Klick "Process Confimrd Orders" to chnage their status to "Processed".