question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make azureFunctions.javaBuildTool optional to support JVM based languages

See original GitHub issue

Hi all, I’m trying to implement tooling support for Azure functions for a JVM based language named Ballerina.

From by executing bal build I’m trying to generate .vscode folder in the project directory with necessary .jsons.

Following is my setting.json

{
  "azureFunctions.deploySubpath": "target/azure_functions",
  "azureFunctions.projectRuntime": "~3",
  "debug.internalConsoleOptions": "neverOpen",
  "azureFunctions.projectLanguage": "Java"
}

When I have this command, I’m getting an error in the local function explorer as I don’t have a pom.xml in the project directory. I only have a .jar file.

image

image

Is there a way to make the build tool optional? I notched maven is the default.

To add few more details, I compiled .jar file with graalvm and set the projectLanguage to Custom and everything worked just smoothly. Do we have a workaround for this?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nturinskicommented, Nov 9, 2022

@xlight05 Hi, we don’t have any slack/discord channel for the Azure Tools for VS Code extension team, but please feel free to ask any questions either in the issue or as comments in a PR if you do contribute this code 😊

1reaction
Flanker32commented, Nov 3, 2022

@xlight05 Sorry for the late response

  1. Are there any contributing guides apart from wiki and build steps in Readme?

I’m not sure whether there are any other documents for it, my team only focus on the Functions Java support, @nturinski may have more knowledge

  1. Are there any samples for adding languages?

You may refer the implementation for Java, mostly including the following part

  1. Are there any slack/discord or any other IMs, where I can reach you guys to get the feedback for the implementation?

@nturinski Do we have any slack/discord or teams channel for VSCode extension?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implementing Azure Functions with Java - mimacom blog
Azure Functions support several runtime environments including the Java Virtual ... functions in programming languages like Java and Kotlin.
Read more >
Configure Java apps - Azure App Service - Microsoft Learn
Learn how to configure Java apps to run on Azure App Service. This article shows the most common configuration tasks.
Read more >
Azure Function in Java does not work locally - Stack Overflow
Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you' ...
Read more >
Get started with the new Kotlin Azure Functions Archetype and ...
From IntelliJ IDEA, select Create New Project. · In the New Project window, select Maven from the left pane. · Select the Create...
Read more >
Microsoft Goes All Out On Java - I Programmer
The other is that internally it uses Java a lot in its own infrastructure, especially its Azure ecosystem (Azure Spring Cloud, Azure App...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found