Skip to main content

Source code revision

svn

summary: GLASSFISH-20593: Regression - Unable to locate static and dynamic resources from WAB fragments
revision: 62225
author: Sahoo
date: 2013-06-17 04:30:26 UTC (1 year)
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
Change Path Actions
M trunk/fighterfish/module/osgi-web-container/RELEASENOTE.txt
M trunk/fighterfish/module/osgi-web-container/pom.xml
M trunk/fighterfish/module/osgi-web-container/src/main/java/org/glassfish/osgiweb/OSGiWebDeploymentContext.java
A trunk/fighterfish/module/osgi-web-container/src/main/java/org/glassfish/osgiweb/OSGiWebDirContext.java
M trunk/fighterfish/module/osgi-web-container/src/main/java/org/glassfish/osgiweb/OSGiWebModuleDecorator.java
 
 
Close
loading
Please Confirm
Close