|summary:||V3 assumes that the "root directory" of the StartupContext object is really this:|
|date:||2009-01-27 21:29:44 UTC (7 years)|
|message:||V3 assumes that the "root directory" of the StartupContext object is really this:
At runtime the startup code gets this root dir and then calls getParentFile() on it. It then sets that
parent file to be the official com.sun.aas.installRoot System Property
Naturally -- this makes all sorts of things break in Embedded -- because it is setting installroot to the parent of our install root!!
Now I create a fake "modules" directory and send that into the ctor for StartupContext. At runtime V3 gets the parent dir, as usual,
and now install root is set correctly.
A more satisfyiung solution is to change both HK2 and V3 startup code and classes but there is no time now.
I will post a bug against v3 with my findings for future cleanup...