-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add example for embedding simple python scripts and debugging them using VSCode #13
base: main
Are you sure you want to change the base?
Conversation
e3c3cbc
to
9b75d60
Compare
|
||
```shell | ||
./mvnw compile | ||
./mvnw javafx:run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I followed the JavaFX quickstart from https://openjfx.io/openjfx-docs/#maven it did not generate the wrapper. Maybe this should be mvn compiler
etc. or mention something like "if you don't use Maven wrapper, the commands would be ...".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch, the project generated by javafx-archetype-simple
seem to be broken on many fronts...
- it sets
maven-compiler-plugin
to version3.8.0
, but that seems to be broken so one must manually update to at least3.8.1
- it generates
module-info.java
, so javac does module stuff and since polyglot is a proper module, one has to addrequires org.graalvm.polyglot;
to the generatedmodule-info.java
. - after fixing all that it fails in runtime on some Java module permission issue
All in all, maybe it's easier to not even mention this Java FX quickstart guide..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just ran through the thing again, just copied the quickstart from JavaFX and used local maven to go through the readme and i got a working project 🤔
9b75d60
to
6fc8e96
Compare
6fc8e96
to
43f5daa
Compare
No description provided.