Uploaded image for project: 'BuildTools'
  1. BuildTools
  2. BUILDTOOLS-343

Can't build spigot.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor

      Using the following:

      git config --global --unset core.autocrlf
      wget -O BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
      java -jar BuildTools.jar

       

      Receive the following error:

       

      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom —
      [INFO] Installing /home/dniym/work/mapped.323675e4.jar to /root/.m2/repository/org/spigotmc/minecraft-server/1.12-SNAPSHOT/minecraft-server-1.12-SNAPSHOT.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.306 s
      [INFO] Finished at: 2017-07-11T00:37:20-04:00
      [INFO] Final Memory: 17M/981M
      [INFO] ------------------------------------------------------------------------
      Applying CraftBukkit Patches
      Patching with BlockPiston.patch
      Exception in thread "main" java.io.FileNotFoundException: work/decompile-323675e4/net/minecraft/server/BlockPiston.java (No such file or directory)
              at java.io.FileInputStream.open0(Native Method)
              at java.io.FileInputStream.open(FileInputStream.java:195)
              at java.io.FileInputStream.<init>(FileInputStream.java:138)
              at com.google.common.io.Files$FileByteSource.openStream(Files.java:126)
              at com.google.common.io.Files$FileByteSource.openStream(Files.java:116)
              at com.google.common.io.ByteSource$AsCharSource.openStream(ByteSource.java:448)
              at com.google.common.io.CharSource.readLines(CharSource.java:290)
              at com.google.common.io.Files.readLines(Files.java:574)
              at com.google.common.io.Files.readLines(Files.java:545)
              at org.spigotmc.builder.Builder.main(Builder.java:390)

       

      I've tried deleting the directory and starting fresh, and using:

      java -jar BuildTools.jar --rev 1.10  it works fine,  however it refuses to build the latest build

      or with -rev 1.12

            Unassigned Unassigned
            whoolieshop Shane Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: