This commit is contained in:
denis
2026-06-02 11:58:08 -04:00
committed by GitHub
parent 3051825098
commit e53c8d02af
16 changed files with 99 additions and 16 deletions
+6 -15
View File
@@ -10,21 +10,12 @@ Use `setopt interactivecomments` (zsh only) to allow using `#` for comments if y
Ensure Java + javac are installed, on MacOS it can be installed with Homebrew by running `brew install openjdk`
To compile on MacOS 26 (may work on other OS, idk):
You will also need maven installed.
To compile:
1. git clone https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git # download the git repository
2. mkdir -p out # create output directory
3. javac -d out $(find src -name "*.java") # converts .java into .class bytecode
4. jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . # package the .class files into a .jar
5. (optional)- jar tf XACrypto.jar # view the contents of the jarfile
2. cd XACrypto
3. mvn clean package
To compile on Windows 10 (requires java+javac to already be installed):
1. git clone https://github.com/Geprivilegieerde-Anonimiteit-BV/XACrypto.git && REM download the git repository
2. mkdir out && REM create output directory
3. dir /s /b src\*.java > sources.txt && REM create sources
4. javac -d out @sources.txt && REM form sources into java bytecode
5. jar cfe XACrypto.jar de.caydenno1.xacrypto.XACrypto -C out . && REM form java bytecode into jar
6. (optional)- jar tf XACrypto.jar && view jarfile contents
XACrypto.jar is now in the project root (if u did everything correctly).
You should find the built jar at target/XACrypto-1.0-SNAPSHOT.jar