Commits

md_5 authored 826990d1801
Fix VanillaJar path
No tags

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

Modified
157 157 String mappingsVersion = mappingsHash.hash().toString().substring( 24 ); // Last 8 chars
158 158
159 159 File finalMappedJar = new File( workDir, "mapped." + mappingsVersion + ".jar" );
160 160 if ( !finalMappedJar.exists() )
161 161 {
162 162 System.out.println( "Final mapped jar: " + finalMappedJar + " does not exist, creating!" );
163 163
164 164 File clMappedJar = new File( finalMappedJar + "-cl" );
165 165 File mMappedJar = new File( finalMappedJar + "-m" );
166 166
167 - runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", "vanillaJar", "-m", "BuildData/mappings/bukkit-1.8-cl.csrg", "-o", clMappedJar.getPath() );
167 + runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", vanillaJar.getPath(), "-m", "BuildData/mappings/bukkit-1.8-cl.csrg", "-o", clMappedJar.getPath() );
168 168
169 169 runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource-2.jar", "map", "-i", clMappedJar.getPath(),
170 170 "-m", "BuildData/mappings/bukkit-1.8-members.csrg", "-o", mMappedJar.getPath() );
171 171
172 172 runProcess( CWD, "java", "-jar", "BuildData/bin/SpecialSource.jar", "-i", mMappedJar.getPath(), "--access-transformer", "BuildData/mappings/bukkit-1.8.at",
173 173 "-m", "BuildData/mappings/package.srg", "-o", finalMappedJar.getPath() );
174 174 }
175 175
176 176 runProcess( CWD, "sh", mvn, "install:install-file", "-Dfile=" + finalMappedJar, "-Dpackaging=jar", "-DgroupId=org.spigotmc",
177 177 "-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