skallin / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 0 forks source link

Cannot set application ID (appengine-web.xml is missing) #254

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Converted a Maven project to GAE project
2. Project properties - Google - App Engine
3. Check the box to "Use Google App Engine"
4. Enter any text in Application ID textbox
5. Receive error: Cannot set application ID (appengine-web.xml is missing)

The appengine-web.xml exists and resides in the src/main/webapp/WEB-INF folder. 
I'm using app engine SDK 1.8.4 on OSX.

Original issue reported on code.google.com by Erin.Ost...@gmail.com on 6 Jan 2014 at 3:00

GoogleCodeExporter commented 9 years ago
We're working on the Maven support for App Engine as we speak. Right now, it is 
somewhat broken. 

As a workaround, you can try to change the war directory to src/main/webapp in 
Project Properties -> Google -> Web Application. Make sure that "Launch and 
Deploy from This Directory" is unchecked. 

Assigning to nhcohen@, as he's working on the AppEngine/Maven support. 

Original comment by rdayal@google.com on 6 Jan 2014 at 3:27

GoogleCodeExporter commented 9 years ago
Thanks! I'm not ready to deploy to app engine yet, but is there a way to do 
that without an appengine id defined?

Original comment by Erin.Ost...@gmail.com on 7 Jan 2014 at 1:20

GoogleCodeExporter commented 9 years ago
No, unfortunately you need to specify an app engine id if you want to deploy to 
App Engine. If you want to run locally, an app engine id is not required.

Let me know if you're still running into trouble; I can help you figure out a 
way to set the App Engine ID without having to use our UI. 

Original comment by rdayal@google.com on 7 Jan 2014 at 2:21

GoogleCodeExporter commented 9 years ago
Hi 

I am having trouble with using the Application ID
I followed your instructions above and have placed my appengine-web.xml file 
under webapp/WEB-INF
but when I enter the app id, I see this error:
Cannot set application ID (appengine-web.xml is missing)

Please help!

Original comment by komalbha...@gmail.com on 14 Mar 2014 at 1:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I get the same problem and I think I've placed a appengine-web.xml file in 
about every directory of my project. My project however was not converted from 
being a maven based project.

Original comment by WesGils...@gmail.com on 28 Mar 2014 at 10:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Although mine is not a maven project. When click on the project 
properties->Google. Under App Engine tick use google App Engine.
Under Web Application select the WAR directory, under folder GAE .

Finally, configure web.xml file still  

Original comment by molo.and...@gmail.com on 21 Oct 2014 at 1:02

GoogleCodeExporter commented 9 years ago
Still getting same problem

Original comment by milkroun...@gmail.com on 23 Jan 2015 at 4:32

GoogleCodeExporter commented 9 years ago
Using Eclipse luna and Google plugin 4.4 for Eclipse I also get the above error.
The xml file is definitely in /src/main/webapp/WEB-INF/appengine-web.xml.
I created the project from the demo mvn archetype...and everything compiles and 
project runs fine from the command line.

Original comment by thomf...@apps.disney.com on 5 Mar 2015 at 12:26

GoogleCodeExporter commented 9 years ago
Same issue as #11...

The last post was 3/4 and it's labeled a medium priority defect...any 
resolution or proven work-a-rounds yet?

Using Eclipse luna and Google plugin 4.4 f
or Eclipse...

The xml file is definitely in /src/main/webapp/WEB-INF/appengine-web.xml.

I created the project from the demo mvn archetype...and everything compiles and 
project runs fine from the command line.  

Original comment by phil.t.g...@gmail.com on 20 Apr 2015 at 11:10