You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How to build the bitmap and font editor into a native package using OpenJDK 21 onwards.
2
+
3
+
**For most users, we recommend using our pre-packaged software.** However, should you wish to build it yourself, follow these instructions, you'll end up with a native executable for Windows, a disk image for macOS, or an archive for Linux. Please only use these steps to build a UI for you own purposes.
4
+
5
+
Firstly, ensure that you have the most recent OpenJDK and a recent version of maven on your system, without these it will not be possible to build.
6
+
7
+
* All OpenJDK's that we've tested work for this, we've tried: Liberica, Adoptium, Amazon Corretto and Microsoft JDK.
8
+
* For Apache maven we recommend using [https://maven.apache.org/]
9
+
10
+
Using git or zip download, get the contents of the tcMenu repository locally, for example:
11
+
12
+
git clone https://github.com/TcMenu/tcMenu.git
13
+
git checkout <release-branch-name>
14
+
15
+
## Optional step - building a non-released version (advanced users)
16
+
17
+
It is far easier and safer to build a released version. But if you build a non-released version, you'll need to build the API too, here's how.
18
+
19
+
Drop to a command-line, in the `tcMenu/api/tcMenuJavaApi` directory.
20
+
21
+
mvn clean install -Dgpg.skip=true
22
+
23
+
Drop to a command-line, in the `tcMenu/api/embedCONTROLCore` directory.
24
+
25
+
mvn clean install -Dgpg.skip=true
26
+
27
+
## Building the app itself
28
+
29
+
Drop to a command-line, in the `tcMenu/font-bmp-editor` directory and run a maven build, the tests will not run from the command line as they include a full UI test suite, so we need to skip them
30
+
31
+
mvn clean install -DskipTests
32
+
33
+
## Packaging - Check the archive worked and versioning is right
34
+
35
+
Run and smoke test, ensure you are in the `font-bmp-editor/target/jfx/app` directory:
0 commit comments