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
[Improvement]: Bal CLI tool to cannot be written in ballerina #42729
Comments
As per the offline discussion with @niveathika the requirement of Java for the execution of the tool is because of the way the tool's execution is written. Since the tool is written in Ballerina, an executable JAR is built and it is executed via a ProcessBuilder using the The most ideal solution would be to be able to support tools written in Ballerina but this is not feasible to do in the near future since all the compiler APIs are written in Ballerina. An alternative solution would be to use the JDK packed with the distribution. For this, we would need to introduce a |
Description
Currently, the bal tools need to be in java.
This is a restriction since logic cannot be written in ballerina as we have done in edi-tool (ballerina-platform/ballerina-library#6473). Due to this we need a java dependency.
We need a way to write a tool in ballerina
The text was updated successfully, but these errors were encountered: