Commits

md_5 authored 32c481a1e39
Use SS2 for class mapping too (reverted from commit 4a50b4a372cac4e9a0c9108a79253f3fe67d894c)
No tags

src/main/java/org/spigotmc/builder/Builder.java

Modified
257 257 String mappingsVersion = mappingsHash.hash().toString().substring( 24 ); // Last 8 chars
258 258
259 259 File finalMappedJar = new File( workDir, "mapped." + mappingsVersion + ".jar" );
260 260 if ( !finalMappedJar.exists() )
261 261 {
262 262 System.out.println( "Final mapped jar: " + finalMappedJar + " does not exist, creating!" );
263 263
264 264 File clMappedJar = new File( finalMappedJar + "-cl" );
265 265 File mMappedJar = new File( finalMappedJar + "-m" );
266 266
267 - runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", vanillaJar.getPath(), "-m", "BuildData/mappings/" + versionInfo.getClassMappings(), "-o", clMappedJar.getPath() );
267 + runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", vanillaJar.getPath(), "-m", "BuildData/mappings/" + versionInfo.getClassMappings(), "-o", clMappedJar.getPath() );
268 268
269 269 runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", clMappedJar.getPath(),
270 270 "-m", "BuildData/mappings/" + versionInfo.getMemberMappings(), "-o", mMappedJar.getPath() );
271 271
272 272 runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", mMappedJar.getPath(), "--access-transformer", "BuildData/mappings/" + versionInfo.getAccessTransforms(),
273 273 "-m", "BuildData/mappings/" + versionInfo.getPackageMappings(), "-o", finalMappedJar.getPath() );
274 274 }
275 275
276 276 runProcess( CWD, "sh", mvn, "install:install-file", "-Dfile=" + finalMappedJar, "-Dpackaging=jar", "-DgroupId=org.spigotmc",
277 277 "-DartifactId=minecraft-server", "-Dversion=" + versionInfo.getMinecraftVersion() + "-SNAPSHOT" );

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut