"alesj" wrote :
|
| | protected boolean hasStructureBeenModifed(VirtualFile root,
VFSDeploymentContext deploymentContext) throws IOException
| | {
| | ...
| | // check for addition
| | AddVisitor addVisitor = new AddVisitor(originalAttributes, getCache(),
synchAdapter, tempRoot, root.getPathName().length());
| | root.visit(addVisitor);
| | }
| | return modified;
| | }
| |
|
| AddVisitor traverses over originals, checking if matching temp exists,
| if not, new file has been added --> solving your problem. ;-)
Assuming the HDScanner is set to run every 5 seconds, wouldn't this scanning for new
files within the original deployment lead to time delays? From what i see, the AddVisitor
looks for new files in the original deployments and these new files can be nested too.
Which effectively means scanning the entire deployment every 5 seconds. I haven't
given this change a try against the AS, so don't know whether i am talking sense :)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226414#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...