Commits

md_5 authored 4a50b4a372c
Use SS2 for class mapping too
No tags

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

Modified
227 227 String mappingsVersion = mappingsHash.hash().toString().substring( 24 ); // Last 8 chars
228 228
229 229 File finalMappedJar = new File( workDir, "mapped." + mappingsVersion + ".jar" );
230 230 if ( !finalMappedJar.exists() )
231 231 {
232 232 System.out.println( "Final mapped jar: " + finalMappedJar + " does not exist, creating!" );
233 233
234 234 File clMappedJar = new File( finalMappedJar + "-cl" );
235 235 File mMappedJar = new File( finalMappedJar + "-m" );
236 236
237 - runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", vanillaJar.getPath(), "-m", "BuildData/mappings/bukkit-1.8-cl.csrg", "-o", clMappedJar.getPath() );
237 + runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", vanillaJar.getPath(), "-m", "BuildData/mappings/bukkit-1.8-cl.csrg", "-o", clMappedJar.getPath() );
238 238
239 239 runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", clMappedJar.getPath(),
240 240 "-m", "BuildData/mappings/bukkit-1.8-members.csrg", "-o", mMappedJar.getPath() );
241 241
242 242 runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", mMappedJar.getPath(), "--access-transformer", "BuildData/mappings/bukkit-1.8.at",
243 243 "-m", "BuildData/mappings/package.srg", "-o", finalMappedJar.getPath() );
244 244 }
245 245
246 246 runProcess( CWD, "sh", mvn, "install:install-file", "-Dfile=" + finalMappedJar, "-Dpackaging=jar", "-DgroupId=org.spigotmc",
247 247 "-DartifactId=minecraft-server", "-Dversion=1.8-SNAPSHOT" );

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

Add shortcut