CAPSULE-NEXTFLOW(1)
π CAPSULE-NEXTFLOW π
okay bestie, so this is a General Commands manual page, and it's all about capsule-nextflow β the packaging + dev tool for JVM apps. she's a whole vibe, let's get into it π«Ά
β¨ NAME β¨
capsule-nextflow β packaging and development tool for JVM applications
πΈ SYNOPSIS πΈ
capsule-nextflow jarFile
π¦ DESCRIPTION π¦
so here's the tea, bestie: capsule-nextflow lets you create capsules, which are literally single executable JARs that contain everything an application needs to run. and when I say everything, I mean it β either as embedded files, or as declarative metadata. it's giving "one file, all the things" π
what it actually does: it launches the application inside the JAR file jarFile.
now, that JAR file is not just any JAR, bestie. it must contain:
- the
Capsule.classfile - the JAR of the application to be run
- and a
META-INF/MANIFEST.MFfile that mentionsCapsuleas itsMain-Classand itsPremain-Class, plus the main class of the application to be run as itsApplication-Class
the minimal Manifest file would contain exactly this:
Manifest-Version: 1.0
Main-Class: Capsule
Premain-Class: Capsule
Application-ID: test
Application-Version: 1.0
Application-Class: path.to.main.Class
where Application-ID and Application-Version fields are chosen by the user (that's you, main character β¨), and Application-Class is the main class of the application.
no cap: if those manifest fields aren't set up right, your capsule is not going to slay the way you want it to. getMain-ClassandPremain-Classboth pointing atCapsule. periodt.
π EXAMPLE π
see in /usr/share/doc/capsule-nextflow/examples. go peek, it's iconic π
and that's the whole page, bestie π this came out of the General Commands manual, dated April 2021, for version CAPSULE-NEXTFLOW(1) β mwah, stan a well-documented packaging tool, bye! ππ§π
π¦ where this page comes from
- debian bookworm: capsule-nextflow 1.1.1+dfsg-1 Β· EPL-1.0
- debian trixie: capsule-nextflow 1.1.1+dfsg-1 Β· EPL-1.0
- ubuntu jammy: capsule-nextflow 1.1.0+dfsg-3 Β· EPL-1.0
- ubuntu noble: capsule-nextflow 1.1.1+dfsg-1 Β· EPL-1.0
- ubuntu resolute: capsule-nextflow 1.1.1+dfsg-1build1 Β· EPL-1.0
- ubuntu stonking: capsule-nextflow 1.1.1+dfsg-1build1 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms