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
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@ This project uses Apache Ant and JDK 25 to compile, bundle, and package a Java a
5
5
6
6
## Common Requirements (All Systems)
7
7
Before running the build, ensure the following are installed and configured:
8
-
- JDK 21 or 25: Must be installed. jpackage was introduced in JDK 14, but JDK 21+ is recommended for modern macOS/Linux support.
8
+
- JDK 21 or 25: Must be installed. Although jpackage was introduced in JDK 14, JDK 21+ is recommended for modern macOS/Linux support.
9
9
- Apache Ant: Installed and available in your PATH.
10
-
- JAVA_HOME: This environment variable must point to your JDK installation directory.
11
-
- Check via: ant -version and java -version
10
+
-`JAVA_HOME`: This environment variable must point to your JDK installation directory.
11
+
- Check via: `ant -version` and `java -version`
12
12
## macOS Setup
13
13
To build the .dmg installer, your Mac needs the following:
14
14
- Xcode Command Line Tools: Required for various build utilities.
15
-
- Install via: xcode-select --install
15
+
- Install via: `xcode-select --install`
16
16
- Icon Asset: A file named icon.icns must be in the project root.
17
17
- Note on Security: Since the app is not "Signed" with an Apple Developer Certificate, users may need to Right-Click > Open the app the first time to bypass the "Unidentified Developer" warning.
18
18
## Ubuntu / Debian Setup
@@ -31,7 +31,7 @@ sudo apt install ant fakeroot dpkg-dev
31
31
Ensure your project looks like this for the build.xml to find all resources:
32
32
33
33
```Plaintext
34
-
MyAntApp/
34
+
MyAppName/
35
35
├── src/
36
36
│ └── Main.java # Your source code
37
37
├── icon.icns # Required for macOS DMG
@@ -93,7 +93,7 @@ git push origin v1.0.1
93
93
- MyAntApp-Installer.dmg (for macOS)
94
94
- MyAntApp-Linux.deb (for Ubuntu/Debian)
95
95
96
-
### Pro-Tip: Changing the Version Number
97
-
When you're ready to bump the version, remember to update the version number in two places to keep everything in sync:
96
+
### Changing the Version Number
97
+
When ready to bump the version, remember to update the version number in **two** places to keep everything in sync:
98
98
- The Git Tag (the v1.0.1 above).
99
-
- The app.version property at the top of your build.xml. This ensures that when the user installs the app, the OS sees the correct version number in the "About" or "Get Info" screens.
99
+
- The **app.version** property at the top of `build.xml`. This ensures that when the user installs the app, the OS sees the correct version number in the "About" or "Get Info" screens.
0 commit comments