I have 2 separate app engine apps. One is the client & the other is the backend application.
When I deploy any of the application from within the Eclipse, running the maven build with parameter "appengine:deploy"
During deployment, the target project settings don't change. The old target settings of the previous deployment, be it of another project, persists.
I'll explain... Say I am deploying the backend app, eclipse google cloud plugin will take the client target details:
Like so...
[INFO] GCLOUD: target project: [x-client]
[INFO] GCLOUD: target service: [default]
[INFO] GCLOUD: target version: [***********]
To fix this I manually ran the "gcloud config set project <projectID>" in the Google cloud SDK console to update the project to backend.
Now when I deploy the client app it fetches the backend target details for the deployment.
Do I have to manually run the set project command every time in the console before deploying?
P.S In the project properties, the Google cloud deployment setting, I have selected separate projects for deployment. But eclipse google cloud plugin doesn't seem to read that setting.