Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1168

sbt universal:packageZipTarball fails on Windows (CMD)

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: s15
    • Fix Version/s: never
    • Component/s: Infrastructure, Windows
    • Labels:
      None

      Description

      tar is not natively on Windows, so I had to install GNU Tar. I set up my Path correctly and verified that I could run the command. However, when I try to run sbt universal:packageZipTarball, I get the following error:

      [info] Loading project definition from C:\Users\jchab\NGF\daffodil\project
      [info] Set current project to daffodil (in build file:/C:/Users/jchab/NGF/daffodil/)
      [info] Updating {file:/C:/Users/jchab/NGF/daffodil/}daffodil-cli...
      [info] Wrote C:\Users\jchab\NGF\daffodil\daffodil-cli\target\scala-2.10\daffodil-cli_2.10-0.15.0-SNAPSHOT.pom
      [info] Resolving org.fusesource.jansi#jansi;1.4 ...4 .....5 ...PSHOT ....
      [info] Done updating.
      [info] Wrote C:\Users\jchab\NGF\daffodil\daffodil-lib\target\scala-2.10\daffodil-lib_2.10-0.15.0-SNAPSHOT.pom
      [info] Wrote C:\Users\jchab\NGF\daffodil\daffodil-io\target\scala-2.10\daffodil-io_2.10-0.15.0-SNAPSHOT.pom
      [info] Wrote C:\Users\jchab\NGF\daffodil\daffodil-core\target\scala-2.10\daffodil-core_2.10-0.15.0-SNAPSHOT.pom
      [info] Wrote C:\Users\jchab\NGF\daffodil\daffodil-tdml\target\scala-2.10\daffodil-tdml_2.10-0.15.0-SNAPSHOT.pom
      tar: Cannot open C:\Users\jchab\AppData\Local\Temp\sbt_5185c472\daffodil-0.15.0-SNAPSHOT.tar: Function not implemented
      tar: Error is not recoverable: exiting now
      java.lang.RuntimeException: Error tarballing C:\Users\jchab\NGF\daffodil\daffodil-cli\target\universal\daffodil-0.15.0-SNAPSHOT.tgz. Exit code: 2
      	at scala.sys.package$.error(package.scala:27)
      	at com.typesafe.sbt.packager.universal.Archives$$anonfun$makeTarball$1.apply(Archives.scala:134)
      	at com.typesafe.sbt.packager.universal.Archives$$anonfun$makeTarball$1.apply(Archives.scala:118)
      	at sbt.IO$.withTemporaryDirectory(IO.scala:285)
      	at com.typesafe.sbt.packager.universal.Archives$.makeTarball(Archives.scala:118)
      	at com.typesafe.sbt.packager.universal.Archives$$anonfun$10.apply(Archives.scala:111)
      	at com.typesafe.sbt.packager.universal.Archives$$anonfun$10.apply(Archives.scala:111)
      	at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35)
      	at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34)
      	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
      	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
      	at sbt.std.Transform$$anon$4.work(System.scala:64)
      	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
      	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
      	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
      	at sbt.Execute.work(Execute.scala:244)
      	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
      	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
      	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
      	at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      [error] (daffodil-cli/universal:packageZipTarball) Error tarballing C:\Users\jchab\NGF\daffodil\daffodil-cli\target\universal\daffodil-0.15.0-SNAPSHOT.tgz. Exit code: 2
      [error] Total time: 19 s, completed Dec 1, 2014 11:11:44 AM

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks