Set play framework id for gae:deploy
We’re working on setting up our playframework / google appengine project with a full DTAP roadmap. The way we did that at Q42 is first to integrate our project in Teamcity; teamcity now even does automatic deploys to google appengine!
One problem I encountered was that I wanted to set a specific Framework ID when executing the gae:deploy command. Turns out, you can just append the id just as you would on a run command. So:
play gae:deploy - -%gae-dev
or
play gae:deploy - -%gae-prod
Now you can have different values in your application.conf for different appengine environments, for instance
%gae-dev.application.baseUrl=http://project-dev.appspot.com/
or
%gae-prod.application.baseUrl=http://project.appspot.com/