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 and jh_setupenvironment will 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 otherwise dh would 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 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's jh_generateorbitdir), it reads debian/eclipse.environment, it falls back to "org.eclipse.*", it copies your stuff in, and --clean quietly 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