Modules and GAE Launcher (PHP)

84 views
Skip to first unread message

Paul Canning

unread,
Apr 8, 2015, 6:35:38 AM4/8/15
to google-a...@googlegroups.com
I am unable to figure out how you use modules with the GAE launcher (PHP version).

Is it even possible?

I can use local modules by using the dev_appserver.py command line tool, but I'd like to control it with the launcher.

I have added my main app, which is the default module, and then tried to add another application, but it says there is no app.yaml file (because it is a module, so its named differently). I can't see any options for modules...

Mars Lan

unread,
Apr 8, 2015, 3:59:09 PM4/8/15
to google-a...@googlegroups.com
From https://cloud.google.com/appengine/docs/php/modules/#devserver

Likewise, if you use the GoogleAppEngineLauncher application, open the Application Settings window and add the list of modules to the Launch Settings Extra Flags field.

Paul Canning

unread,
Apr 9, 2015, 6:51:39 AM4/9/15
to google-a...@googlegroups.com
What exactly do I need to type into the extra settings box?

Would be nice to have this documented somewhere....

Paul Canning

unread,
Apr 9, 2015, 6:58:36 AM4/9/15
to google-a...@googlegroups.com
I tried the following in the Launch Settings:

module_dir/module_config.yaml
module_dir
/module_dir
/module_dir/module_config.yaml

Nothing works.

Paul Canning

unread,
Apr 15, 2015, 10:19:49 AM4/15/15
to google-a...@googlegroups.com
Any help with this?

Still can't get it to work

Mars Lan

unread,
Apr 15, 2015, 4:37:29 PM4/15/15
to google-a...@googlegroups.com
I assume you're on Mac? Is so, you should be able to set the "Extra Flags" to /absolute/path/to/your/module.yaml and expect it to work. 

Paul Canning

unread,
Apr 16, 2015, 4:55:50 AM4/16/15
to google-a...@googlegroups.com

Why assume I'm on Mac?

I'm on Windows 7.

I got it to work by typing in the full file path, but it likes to load the secondary module first, which I feel is wrong.

Settings defined as extra flags should be loaded after the default module.

If I try and put the default module in the flags, before the second module, it fails.

--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/7B4UnbkBvPg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d5e46150-0d87-4f24-a494-a6cbd12b0e89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mars Lan

unread,
Apr 16, 2015, 6:48:53 PM4/16/15
to google-a...@googlegroups.com
If you really want precise control over the loading order, please run dev_appserver directly from command line.

Paul Canning

unread,
Apr 17, 2015, 10:50:40 AM4/17/15
to google-a...@googlegroups.com
Not really the solution I was after, but ho-hum.
Reply all
Reply to author
Forward
0 new messages