-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error with build.sh #16
Comments
If you're running the bash file with Git Bash on Windows, you could try this Stackoverflow answer. Alternatively, you could install MSYS2 and use Sadly, I can't help you if you're using macOS, but if their base system doesn't include |
I followed the StackOverflow post, and it still occurs. I only get the first error so far |
If the error message still contains Modern (or custom) installations of Git might have different install paths. You can print the current contents of echo $PATH While I expect Git Bash's built-in Alternatively, you could try a project like MSYS2. Even if its pacman -S zip |
It doesn't contain the error when I run "which zip", however when I try ./build.sh it shows the error again. |
I can confirm that in my default installation of Git on Windows, there's no copy of Info-ZIP's ZIP installed. @roccodev surprisingly, Windows doesn't have much support for managing ZIP files from the command line. Since it is not straightforward to mix MSYS2 installations and Git for Windows (because of Cygwin problems), do you think we should provide a more self-contained means to modify the Minecraft JAR? IIRC, Java itself has (limited) support for managing JAR/ZIP files. @PrismoidNW meanwhile, you could try manually removing log4j from the Minecraft JAR file:
Please note that, currently, you need Java 8 to build KigPaper this way: If you run into the |
I found out that the org/apache/logging folder is just empty. |
https://github.com/ProjectKig/KigPaper/runs/6780682041?check_suite_focus=true#step:7:185 I had similar issues when I cloned the repo on Windows then used I cloned the repo in WSL then ran the docker build container on Windows without any issues. Then I tried running docker command: Then I used the following command to pull the compiled paper.jar from the build container: EDIT: starting the server gave this error: The crash below is Windows only!
|
The Docker issue has been fixed in e1bae31, could you try building that instead? |
The server startup issue was Windows only, so I've opened a new issue at #17
|
Yea, I still get the issue even after the commit. |
I'm getting this error when running "build.sh"
First, run
Second run
The text was updated successfully, but these errors were encountered: