Using embedded GlassFish APIs, how do I get the installation directory?
BootstrapProperties.getInstallRoot() returns null. I'm attempting to use
embedded GlassFish, not an existing GlassFish, and I'm trying to get a
handle to the directory in which it installs itself.
If I specify the install root in the BootstrapProperties, then it appears
that the embedded GlassFish APIs look to that (empty) directory as though
it contained a preconfigured GlassFish installation. That's not what I
Instead, I want the directory that embedded GlassFish installs itself into.
It appears (correctly and rationally) to be a temp directory by default.
I'm not sure what portion of embedded GlassFish is responsible for
deciding where to locate itself, or whether I can influence that in any way.