Skip to content

Instantly share code, notes, and snippets.

@hanxue
Created June 17, 2014 09:53
Show Gist options
  • Select an option

  • Save hanxue/b1eb940115d0d3e448aa to your computer and use it in GitHub Desktop.

Select an option

Save hanxue/b1eb940115d0d3e448aa to your computer and use it in GitHub Desktop.
Extract file from within jar archive
# This will extract the file MANIFEST.MF in directory META-INF, inside the sbt-launcher.jar file
$ unzip -p /usr/local/opt/sbt/libexec/sbt-launch.jar META-INF/MANIFEST.MF
Manifest-Version: 1.0
Implementation-Vendor: org.scala-sbt
Implementation-Title: Launcher
Implementation-Version: 0.13.2
Implementation-Vendor-Id: org.scala-sbt
Specification-Vendor: org.scala-sbt
Specification-Title: Launcher
Specification-Version: 0.13.2
Main-Class: xsbt.boot.Boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment