简体   繁体   中英

SRC folder of Google App Engine Flexible project is empty

I was fallowing a guide of creating a new java project in IntellIJ IDEA and in the end I got empty folder src without any files or sub-folders in it. Does anybody know what did I do wrong?

在此处输入图片说明

I work on this plugin. This is unfortunately all that is available for now using the App Engine flexible new project wizard. I would suggest instead to start from publicly available AE flex github project (such as the one referenced in this guide ). You could also start with any Java 8 project as well since you are running on flex - you can then use the plugin to add App Engine flexible support to it:

Tools > Google Cloud Tools > Add App Engine support > Google App Engine Flexible

This will generate a template app.yaml for you and also expose the App Engine plugin features (like deploying to GCP).

There is nothing wrong with the project that you created. Since you were creating a new project, your project has an empty src folder with a .iml file. As eshaul commented, if you selected Create app.yaml box in the wizard, then the project will contain a template app.yaml under src/main/appengine .

Regarding this image , the files in the project helloworld are imported from Cloud Repositories . The procedure to import an existing project in Cloud Source Repositories is explained in the same tutorial that you was following (Checking out an existing project).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM