42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
### setup in vscode with default configuration
|
|
|
|
###
|
|
| software | version |
|
|
| -------- | ------- |
|
|
| Java | 24 |
|
|
| json lib | gson-2.13.1 |
|
|
| VSCode | 1.103 |
|
|
| graphviz | 2.42.4 |
|
|
|
|
###
|
|
| extension |
|
|
| ----------------- |
|
|
| Debugger for Java |
|
|
| Java Platform Extension for Visual Studio Code |
|
|
| Language Support for Java(TM) by Red Hat |
|
|
| Graphviz Interactive Preview |
|
|
|
|
### Run and Debug Java manually
|
|
cd to: libs
|
|
java -cp .\libs\gson-2.13.1.jar;.\libs\reservationsystem.jar lodge.TestReservations
|
|
|
|
### use of javafx, crossplatform issue linux/win32
|
|
### check .vscode/launch.json
|
|
java requires --module-path ${workspaceFolder}/libs/linux --add-modules ALL-MODULE-PATH --enable-native-access=javafx.web,javafx.controls,javafx.graphics
|
|
java requires --module-path ${workspaceFolder}/libs/win32 --add-modules ALL-MODULE-PATH --enable-native-access=javafx.web,javafx.controls,javafx.graphics
|
|
|
|
### compile - build:
|
|
### create jar archive:
|
|
gradle clean build jar
|
|
|
|
|
|
|
|
### Dot file review for classdiagram
|
|
Install Graphviz in your OS
|
|
dot -Tsvg classdiagram.dot -o classdiagram.svg
|
|
|
|
|
|
### build a list of accomodations
|
|
|
|
https://earth.google.com/web : to find building address
|
|
https://www.unitedstateszipcodes.org/ : to check zipcodes |