While doing this code, I noticed there was a bug in FileStructure.
It goes to some effort to set a flag called "isFile"
but the bug was it added the file as a subdeployment regardless
of whether that flag was set.
This probably doesn't cause any problems since nothing will recognise
the file for metadata purposes and it has no classpath, but it is obviously
stupid.
The patch is pretty simple:
|
| // Create a context info for this file
| + if (isFile)
| context = createContext(structureContext);
| // There are no subdeployments for files
| if (trace)
| log.trace(file + " isFile: " + isFile);
| return isFile;
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168777#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...