Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 454643

Summary: [server] cf liveupdate feature should hook into updates through the Orion servlets
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-12-09 15:11:08 EST
Testing of the IFileChangeNotificationService introduced with bug 451383 revealed that the apache commons io file monitoring feature will not work.

We need to look into the Orion servlets to be notified when changes occur.
Comment 1 Anthony Hunter CLA 2014-12-09 15:18:47 EST
I have updated the existing FileChangeListener in org.eclipse.orion.server.cf.live to use the IFileStoreModificationListener.

This hooks into the NewFileServlet.

The feature still needs to be turned on with the orion.conf setting:

orion.cf.liveupdate.enabled=true

This is pushed with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=72db2854adab9cdb8c49b3ede62a83ea5acd3f6e
Comment 2 Anthony Hunter CLA 2015-01-21 17:36:39 EST
(In reply to Anthony Hunter from comment #1)
> I have updated the existing FileChangeListener in
> org.eclipse.orion.server.cf.live to use the IFileStoreModificationListener.
> 
> This hooks into the NewFileServlet.
> 
> The feature still needs to be turned on with the orion.conf setting:
> 
> orion.cf.liveupdate.enabled=true
> 
> This is pushed with commit:
> http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=72db2854adab9cdb8c49b3ede62a83ea5acd3f6e

I updated the bug but did not mark resolved.