JH_INSTALLECLIPSE(1)

πŸ’… JH_INSTALLECLIPSE β€” the javahelper girlies' guide

okay bestie, so this one is jh_installeclipse(1) β€” a javahelper manual page, section 1, and she's here to help you drop eclipse features built by pde-build straight into your package build directories. no cap. let's go ✨


✨ NAME ✨

jh_installeclipse β€” installs eclipse features built by pde-build into package build directories πŸ¦‹


🌸 SYNOPSIS 🌸

jh_installeclipse [debhelper options] [--install-name=name]
[--pde-build-dir=dir] [feature [...]]

πŸ’– DESCRIPTION πŸ’–

so jh_installeclipse is a javahelper program (yes, one of the girlies in the javahelper family), and what she does is handle installing eclipse features that were built by pde-build into your package build directories. iconic behaviour honestly.

where do those features come from? two places, pick your fighter:

  • the package's eh-install file
  • the command line

lowkey important: jh_installeclipse uses debhelper behind the scenes, so she's subject to the compat level (for example when she's parsing eh-install files). so keep your compat level in mind, bestie, she's not freelancing here.

and here's the main-character move πŸ‘‘ β€” jh_installeclipse will replace all the embedded orbit depends imported by jh_generateorbitdeps with symlinks, post install. those symlinked jar files also get used to populate the ${orbit:Depends} variable. slay.


πŸŽ€ FILES πŸŽ€

  • debian/package.eh-install β€” lists the eclipse features to install into each package, and optionally under which name. the format is a set of lines, where every line lists a file or files to install, and at the end of the line you tell it the name it should be installed under. wildcards in the names of the files to install are totally allowed 🫢

if the name isn't present, eh_install will either use the install name given on the command line, or attempt to guess it from the package name. and yes β€” it is perfectly legal for two or more features to be installed under the same name. share the name, share the spotlight πŸ’…


✨ OPTIONS ✨

  • --install-name=name β€” specifies the name to install under, if it isn't given in the file. and again, for the people in the back: it is perfectly legal to install more than one feature under the same name πŸ™ˆ
  • --pde-build-dir=dir β€” specifies the directory from where pde-build was run. defaults to "debian/.eclipse_build". remember that path, iykyk.

🌈 EXAMPLE 🌈

suppose your package builds org.eclipse.emf and org.eclipse.xsd, and you want to put org.eclipse.emf into eclipse-emf and org.eclipse.xsd into eclipse-xsd. then make debian/eclipse-emf.eh-install contain:

org.eclipse.emf

and debian/eclipse-xsd.eh-install contain:

org.eclipse.xsd

jh_installeclipse will then install org.eclipse.emf into usr/share/eclipse/dropins/emf/ and xsd into usr/share/eclipse/dropins/xsd/. ate and left no crumbs πŸ”₯

in case your package isn't called eclipse-name, or you want to install two different features into the same package, you'll have to provide a name. suppose you wanted to install both eclipses above into a single package called foo β€” then debian/foo.eh-install should contain:

org.eclipse.emf emf
org.eclipse.xsf xsd

πŸ’œ SEE ALSO πŸ’œ

  • debhelper(7)
  • this program is a part of javahelper and uses debhelper as a backend. there are also tutorials in /usr/share/doc/javahelper β€” go read them, they're giving study date energy πŸ“šβœ¨

πŸ‘‘ AUTHOR πŸ‘‘

Niels Thykier <niels@thykier.net>


Copyright 2010 by Niels Thykier

this tool is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2.


okay that's the whole page bestie, every flag, every path, every typo lovingly preserved fr fr 🫢

and a lil sign-off from the footer girlies: this is javahelper version 0.82, dated 2026-05-17, in section 1 of the manual. mwah πŸ’‹ 🧚

πŸ“¦ where this page comes from