github jbangdev/jbang v0.51.0

latest releases: v0.132.1, v0.132.0, v0.131.0...
5 years ago

News

A few fixes/features with some dependabot clanup of dependencies.

First of, running jars no longer uses -jar, but we just introspect for the main class in manifest and use that by default in a normal java launch with a classpath. This is done since java -jar will ignore any jar's provided by --classpath flags which means if your .jar had any external
dependencies not explicitly listed in its manifest.mf it would fail to run - something very few if any jars available as Maven artifacts has.

Second, to work more smoothly with Intellij new shebang support which makes a file starting with #! and /// easy from the IDE, jbang will now treat xyz.sh as if it is xyz.java. This works okey, but I hope Intellij will make their integration smarter so users don't need to use #! or .sh named files.

Bug Fixes

  • stop using -jar for jar runs. (#8a773825)

Features

  • support files named xyz.sh to work more seamless with Intelljs shebang support (#c7386642)

Don't miss a new jbang release

NewReleases is sending notifications on new releases.