Skip to content

Compiling Dotty with TeaVM #887

Answered by konsoletyper
mbovel asked this question in Q&A
Feb 13, 2024 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

I found no documentation about direct CLI usage, but found https://github.com/konsoletyper/teavm/blob/master/tools/cli/src/main/java/org/teavm/cli/TeaVMRunner.java which what I used.

TeaVM was never meant to be "JAR conversion tool", but rather "development tool", so CLI was never meant to be shipped to end users. I believe, there's 3rd-party plugin for SBT: https://github.com/sbt-teavm/sbt-teavm

However, it shows many errors for missing classes:

The output parts you presented are missing important stack trace information. These aren't usual runtime stack traces, they are merely approximations, but still have enough information to find out what went wrong.

So I wondered: where can I …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mbovel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@konsoletyper
Comment options

@sjrd
Comment options

@konsoletyper
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants