I wouldn't know off the top of my head. I don't know how Cucumber works, but
is there any way you can execute command line scripts to manage the process
lifecycle instead of using Ant? That is, fire off the dev appserver in the
background using &, nohup or screen and kill that process when finished? I
know it's not the cleanest way of doing things but if your goal is to make
this thing work it might be something to explore.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Fri, Jul 29, 2011 at 11:16 AM, Kyle Baley <[email protected]> wrote:

> So that I can launch the next step in the process, which is to run our
> Cucumber tests. For our GWT project, the process is:
>
> Build configuration 1: Launch devmode and run UI tests
> - Step 1: In Ant, run gwt-compile, then run devmode. The devmode target
> runs fine with spawn=true so Ant finishes once the target is run
> - Step 2: Run Cucumber tests with Rake
>
> Build configuration 2: Kill devmode
> - Step 1: In Ant, kill the devmode process
>
> (The second configuration is required because it needs to run regardless of
> whether the first configuration was successful or not. If any UI tests fail,
> we still want to kill devmode.)
>
> I'd like to do something similar for the AppEngine-only project. But if
> devmode blocks, then the CI server never moves on to Step 2 because it
> hasn't figured out that Step 1 is done.
>
> Is there a big difference between GWT DevMode and AppEngine's
> DevAppServerMain? Related question (I haven't tried this because I just
> thought of it now): Could we just use GWT DevMode in Ant without actually
> making this a full GWT project?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine-java/-/KamNVO6DFf8J.
>
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to