Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8673913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:34:37+00:00 2026-06-12T19:34:37+00:00

I am in the process of setting up a QA environment for my GAE

  • 0

I am in the process of setting up a “QA environment” for my GAE app. This QA environment will simply be a small server on my home network with a dedicated IP address. I’m writing an Ant script to check the project out of my SVN repo, build it on my build server, and then deploy it “remotely” (across my home LAN) to the QA app server.

With Tomcat, I would just scp the web archive to the machine’s webapps/ directory, and since it can be configured to hot-deploy, that is all I usually need for a QA deploy.

But I’m new to GAE, and so I’m not seeing how I can achieve such a remote deployment via Ant. The best I can think of (although somewhat convoluted) would be:

  1. Checkout and build the WAR on the buildserver, like I normally would
  2. scp the WAR to a staging directory, somewhere on the QA machine; say 192.168.1.55:/opt/gae/staging
  3. Have a lightweight RESTful web service running on that machine (maybe hosted by Tomcat or Jetty) listening for a client to hit a certain API, say http://192.168.1.55:8080/GaeRemoteApi/deploy; when the request handler gets a request for this URL, it kicks off a shell command to copy the WAR into the correct directory and then execute appcfg.sh -upload to actually deploy the WAR to my QA app server

I’m pretty sure I could get this working within a day or two, but was wondering if the GAE ships with an easier (baked in) solution; or if a fresh set of eyes can think of something even simpler. Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:34:38+00:00Added an answer on June 12, 2026 at 7:34 pm

    I think you should just keep it simple:

    Since you are on Ubuntu, you can write a shell script that will:

    1. ssh to the remote server
      • stop the current gae dev appserver
      • rename the existing war directory
    2. scp the new deployment to the QA server war directory
    3. ssh to the QA server and start the gae dev appserver

    You can call a shell script from ant using: http://sumedha.blogspot.com.au/2008/06/how-to-call-shell-script-from-ant.html

    To stop the dev appserver:

    killall -e ./appengine-java-sdk/bin/dev_appserver.sh
    

    To run the dev appserver:

    nohup ./appengine-java-sdk/bin/dev_appserver.sh you/war/directory &
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are in the process of setting up a new development environment for about
I am in the process of setting up a server to run a Ruby
I'm currently in the process of setting my website, largely with php. Though this
I'm currently in the process of setting up a media server for my dorm
I am in the process of setting up a complete web-development environment. For now,
I am currently in the process of setting up a tomcat 6 clustered environment,
as title, my friend's environment is Windows 2003 server. He attached the IIS process
I'm in the process of setting up a proper CI environment and am currently
I'm currently in the process of setting up a continuous integration environment at work.
I am in the process of setting up a central build server. The server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.