faresd / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

Support queue/cron setup with multiple modules (EAR) #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a multiple module GAE Java application. And configure queue.xml and 
cron.xml
2. You can not update task queue configuration in the EAR project.
3. In local dev server, init servlet complains that queue is not configured.

What version of the product are you using? On what operating system?
Linux. GAE 1.9.21.

In a multiple module application, task queues and cron jobs are defined in the 
default module. If I just do a "mvn appengine:update" to the ear project, it 
would not deploy the task queue and cron job. I tried to use "mvn 
appengine:update_queues", it gave me the error "Bad argument: The requested 
action does not support EAR configurations". Then I have to use "appcfg.sh -A 
cloud-demos update_queues war_dir" to setup the queues. 

The above is awkward but it seems to work. My problem is in local dev 
environment. When I use "mvn appengine:devserver", the task queues and cron 
jobs defined under the default module is not deployed and I got error in using 
the queues. 

What is the right way to debug locally and do we have document somewhere on 
this?

Original issue reported on code.google.com by nt...@google.com on 9 Jun 2015 at 6:23

GoogleCodeExporter commented 8 years ago

Original comment by l...@google.com on 9 Jun 2015 at 6:36