|summary:||GLASSFISH-20593: Regression - Unable to locate static and dynamic resources from WAB fragments|
|date:||2013-06-17 04:30:26 UTC (9 months)|
|message:||GLASSFISH-20593: Regression - Unable to locate static and dynamic resources from WAB fragments
Due to the underlying changes in web container, we are forced to make this change.
Resources from WEB-INF/lib/*.jar are now looked up using WebDirContext which is a new API.
Since we now depend on this new API, we can no longer be backward compatible and hence we
have made the version string as 2.0.0-SNAPSHOT.
For whatever reason, web container sets resources inside StandardContext.start() if
resources is null. So, we have to set it to OSGiWebDirContext in OSGiWebModuleDecorator
in addition to setting it in WABClassLoader. Since our custom DirContext is needed in
two places, I have refactored it to a standalone class called OSGiWebDeploymentContext.
Moreover, glassfish 4.0.1 builds are not available in central repo yet, so we have added
a dependency on promoted jvnet repository to be able to build.
Tests run: FighterFish IT, OSGi WebContainer CT