[BUILDTOOLS-550] compiling CraftBukkit still applies spigot patches Created: 11/Sep/20 Updated: 06/Feb/24 Resolved: 06/Feb/24 |
|
| Status: | Resolved |
| Project: | BuildTools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jan Boerman | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | craftbukkit | ||
| Environment: |
java version "14" 2020-03-17 git version 2.28.0.windows.1 |
||
| Attachments: |
|
| Version: | git-BuildTools-7fe9375-122 (#122) |
| Guidelines Read: | Yes |
| Description |
|
compiling craftbukkit with `java -jar BuildTool.jar --rev 1.16.3 --compile craftbukkit` still performs the first (unnecessary) step of compiling spigot, that is applying the spigot-api patches and spigot-server patches to the codebase. I suggest these steps are removed from the build process when only CraftBukkit is being built. |
| Comments |
| Comment by md_5 [ 06/Feb/24 ] |
| Comment by Jan Boerman [ 19/Nov/20 ] |
|
The problem is not that the compiled Craftbukkit jar includes Spigot's changes, the problem is that after Craftbukkit is compiled the Spigot patches are applied to the source code. This is makes the build process longer but it's a completely unnecessary step when Spigot isn't being compiled. |
| Comment by Airtheon Thesalion [ 12/Nov/20 ] |
|
BuildTools is mainly for compiling Spigot. The option to compile CraftBukkit was added so just compiling Spigot wouldn't end with the unnecessary compiling of CraftBukkit. (Actually the steps are a little different, but I digress) If you want to just compile CraftBukkit you can also clone the project and follow the build instructions in the README. With a proper IDE that is fairly straightforward. |