user3057645
user3057645

Reputation: 331

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?

enter image description here

Upvotes: 0

Views: 162

Answers (2)

enle lin
enle lin

Reputation: 1714

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).

Upvotes: 0

eshaul
eshaul

Reputation: 181

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).

Upvotes: 1

Related Questions