JH_SETUPENVIRONMENT(1)
π JH_SETUPENVIRONMENT β bestie edition π
okay so real talk, this page is for jh_setupenvironment(1), a lil javahelper cutie, and yes it comes from the Javahelper manual π
β¨ NAME β¨
jh_setupenvironment β gets a build environment all cute and ready so you can compile an eclipse feature π¦
πΈ SYNOPSIS πΈ
jh_setupenvironment [debhelper options] [--pde-build-dir=dir]
[copy [...]]
π DESCRIPTION π
okay so jh_setupenvironment is a javahelper program, and what it does is handle creating an environment for building an eclipse feature. that's literally its whole job. main character energy, but make it makefiles π
big important thing tho: it does not set up an orbit dir. nope, not its business. if you want that, use jh_generateorbitdir instead, bestie, don't come for this one π«Ά
what it will do is copy files into the environment dir β the ones you list in debian/eclipse.environment, plus the ones you hand it on the command line. and here's the lil default that always gets people: if you give it no files on the command line and the environment file isn't around (or it's there but empty), it just defaults to "org.eclipse.*". slay, it guessed for you β¨
π FILES π
debian/eclipse.environmentβ a list of file- and directory glob patterns to copy into the build environment. that's it, that's the file, write your globs in it and go π
π OPTIONS π
--pde-build-dir=dirβ tells it where the environment should be placed, or where it already is. the dir is the spot π--cleanβ pass this andjh_setupenvironmentwill clean up the build environment. real talk tho: when it's cleaning, it will not record itself in the debhelper log β and that's on purpose, because otherwisedhwould get confused when it uses the log to trace where it was. we're doing dh a favour here, no cap π
π EXAMPLE π
jh_setupenvironment org.eclipse.* debian/*.properties
this will clone all the files and folders starting with "org.eclipse." plus all the property files sitting in the debian-folder, and put them all into the environment. ate, no crumbs π₯
π SEE ALSO π
debhelper(7)- this program is a part of javahelper and uses debhelper as its backend, iykyk
- there are also tutorials in
/usr/share/doc/javahelperβ go read them, they're giving study buddy π
πΈ AUTHOR πΈ
Niels Thykier <niels@thykier.net> β icon, legend, the moment π
β COPYRIGHT AND LICENSE β
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.
bestie quick recap before you go: it builds the eclipse feature environment, it does not do the orbit dir (that'sjh_generateorbitdir), it readsdebian/eclipse.environment, it falls back to"org.eclipse.*", it copies your stuff in, and--cleanquietly cleans without touching the debhelper log. that's the whole vibe check β
k so that's the page, mwah π this was version 0.82 from 2026-05-17 of the Javahelper manual, and if you made it to the end of this you are genuinely the bestie of all time, periodt πβ¨
π¦ where this page comes from
- ubuntu stonking: javahelper 0.82 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms