mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-08-31 22:29:10 +00:00
Soften / reduce messages related to symlink creation in previous commit
This commit is contained in:
parent
7d838a5884
commit
22a271cf0f
1 changed files with 6 additions and 2 deletions
|
@ -34,6 +34,7 @@ import java.lang.management.ManagementFactory;
|
|||
import java.net.URI;
|
||||
import java.net.URL;
|
||||
import java.net.URLConnection;
|
||||
import java.nio.file.FileSystemException;
|
||||
import java.nio.file.Path;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
@ -443,10 +444,13 @@ public class Builder
|
|||
java.nio.file.Files.createSymbolicLink( latestLink.toPath(), decompileDir.getParentFile().toPath().relativize( decompileDir.toPath() ) );
|
||||
} catch ( UnsupportedOperationException ex )
|
||||
{
|
||||
// Ignore on Windows etc
|
||||
// Ignore if not possible
|
||||
} catch ( FileSystemException ex )
|
||||
{
|
||||
// Not running as admin on Windows
|
||||
} catch ( IOException ex )
|
||||
{
|
||||
System.err.println( "Failed to create decompile-latest link " + ex.getMessage() );
|
||||
System.out.println( "Did not create decompile-latest link " + ex.getMessage() );
|
||||
}
|
||||
|
||||
System.out.println( "Applying CraftBukkit Patches" );
|
||||
|
|
Loading…
Add table
Reference in a new issue