Go to file
Agaricus 41fefc0167 Always output class names in generated mappings, even if not renamed
Although SpecialSource avoids generating unnecessary output where
methods/fields are not renamed, the _absence_ of a class rename is
arguably as important as a class rename, especially when comparing
jars where nearly all classes are renamed.

In the common case of generating Minecraft mappings from an obfuscated
jar and an internally-renamed deobfuscated mc-dev jar, all classes
are renamed, except for one -- the main class:

net/minecraft/server/MinecraftServer net/minecraft/server/MinecraftServer

When the mc-dev server jar is shaded into CraftBukkit, all classes are
relocated under a versioned package. However, the shading relocation
simulator misses MinecraftServer since it is not included in the mappings,
as it isn't renamed.

Always outputting class names, regardless of whether they are renamed,
only increases the mapping file by one line and removes the need to
special-case MinecraftServer.
2013-01-25 21:48:00 -08:00
src/main/java/net/md_5/specialsource Always output class names in generated mappings, even if not renamed 2013-01-25 21:48:00 -08:00
.gitignore Initial commit. 2012-12-08 08:52:58 +11:00
LICENSE Fix license formatting. 2012-12-09 10:15:58 +11:00
pom.xml [maven-release-plugin] prepare for next development iteration 2013-01-25 14:29:15 +11:00
README.md Initial commit. 2012-12-08 08:52:58 +11:00

Special Source

Automatic generator and renamer of jar obfuscation mappings.