vscode-azureappservice icon indicating copy to clipboard operation
vscode-azureappservice copied to clipboard

No longer gives the option to upload a jar file when publishing to a java SE app service

Open timrobinson33 opened this issue 3 years ago • 3 comments
trafficstars

My app service is configured to use the stack "Java" and the Java web server is set to "Java SE (Embedded web server). Therefore to deploy it, I need to upload a Jar file.

Previous versions of the extension used to allow this but the current version v0.24.3 only lets me select folders, not files.

timrobinson33 avatar Jul 11 '22 13:07 timrobinson33

Not sure why it's suddenly not working, but as a workaround, you should be able to go into your workspace (Ctrl + Shift + E) and right-click your .jar file.

image

There is a Deploy to Web App... that should work as an entry point.

nturinski avatar Jul 13 '22 22:07 nturinski

Thanks :-) I cancelled out at the last minute because I didn't actually want to redeploy right now, but the menu option was there and seemed to want to do the last thing.

Such a PITA that the azure portal doesn't have a simple way of deploying a jar file

timrobinson33 avatar Jul 14 '22 04:07 timrobinson33

Sorry about that ☹️

We'll try to get the experience back to what it was.

Were you able to deploy directly from the Azure Portal before? As in https://portal.azure.com/?

nturinski avatar Jul 14 '22 17:07 nturinski