Commits
md_5 authored fdaa042d6b0
270 270 | System.out.println( "Final mapped jar: " + finalMappedJar + " does not exist, creating!" ); |
271 271 | |
272 272 | File clMappedJar = new File( finalMappedJar + "-cl" ); |
273 273 | File mMappedJar = new File( finalMappedJar + "-m" ); |
274 274 | |
275 275 | runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", vanillaJar.getPath(), "-m", "BuildData/mappings/" + versionInfo.getClassMappings(), "-o", clMappedJar.getPath() ); |
276 276 | |
277 277 | runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", clMappedJar.getPath(), |
278 278 | "-m", "BuildData/mappings/" + versionInfo.getMemberMappings(), "-o", mMappedJar.getPath() ); |
279 279 | |
280 - | runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", mMappedJar.getPath(), "--access-transformer", "BuildData/mappings/" + versionInfo.getAccessTransforms(), |
280 + | runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "--kill-lvt", "-i", mMappedJar.getPath(), "--access-transformer", "BuildData/mappings/" + versionInfo.getAccessTransforms(), |
281 281 | "-m", "BuildData/mappings/" + versionInfo.getPackageMappings(), "-o", finalMappedJar.getPath() ); |
282 282 | } |
283 283 | |
284 284 | runProcess( CWD, "sh", mvn, "install:install-file", "-Dfile=" + finalMappedJar, "-Dpackaging=jar", "-DgroupId=org.spigotmc", |
285 285 | "-DartifactId=minecraft-server", "-Dversion=" + versionInfo.getMinecraftVersion() + "-SNAPSHOT" ); |
286 286 | |
287 287 | File decompileDir = new File( workDir, "decompile-" + mappingsVersion ); |
288 288 | if ( !decompileDir.exists() ) |
289 289 | { |
290 290 | decompileDir.mkdir(); |