Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect steps mentioned on VS Code website #5921

Closed
tarekahf opened this issue Jan 5, 2023 · 1 comment
Closed

Incorrect steps mentioned on VS Code website #5921

tarekahf opened this issue Jan 5, 2023 · 1 comment
Assignees

Comments

@tarekahf
Copy link

tarekahf commented Jan 5, 2023

The steps mentioned on this link:

https://code.visualstudio.com/docs/java/java-on-azure

for the following:

Tutorial Description Related Tools
Deploy Java web appsto Azure App Service Deploy a web app to the cloud Apache MavenAzure App Service
Deploy Spring Boot appsto Azure Spring Apps Deploy a Spring Boot applicationto Azure Spring Apps Apache MavenAzure Spring Apps

The above articles provide steps to deploy App Service from VS Code. The steps are wrong and they are not working for:
https://code.visualstudio.com/docs/java/java-webapp
https://code.visualstudio.com/docs/java/java-spring-apps

It should be as follows:

  1. Clone the Sample Project
  2. Optional: Create the App Service with Linux, Java 17, and Java SE from Azure Portal. Could not create the App Service from VS Code.
  3. Follow the steps from here to config the project for Azure deployment:
    https://learn.microsoft.com/en-us/azure/app-service/quickstart-java?pivots=platform-linux-development-environment-maven&tabs=tomcat
PS> mvn com.microsoft.azure:azure-webapp-maven-plugin:2.5.0:config
PS> mvn package azure-webapp:deploy

The above PS commands will also create the App Service and deploy it.

Please fix the relevant web pages.

@joaomoreno joaomoreno transferred this issue from microsoft/vscode Jan 6, 2023
@joaomoreno joaomoreno assigned gregvanl and unassigned joaomoreno Jan 6, 2023
@gregvanl
Copy link

gregvanl commented Jan 6, 2023

Duplicate of #5911

@gregvanl gregvanl marked this as a duplicate of #5920 Jan 6, 2023
@gregvanl gregvanl closed this as completed Jan 6, 2023
@gregvanl gregvanl marked this as not a duplicate of #5920 Jan 6, 2023
@gregvanl gregvanl marked this as a duplicate of #5911 Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants