[opencms-dev] Folder Synchronization Exclusion lists?

a.westermann at alkacon.com a.westermann at alkacon.com
Thu Apr 23 15:00:22 CEST 2009


Hi Nikolas,

sounds good. If you do so try to do it as a module that may be seperatly 
installed or removed and adds this feature. You could start off by 
creating a new module and copy the features to the new module in VFS / 
link the copies to your module resources. Also original Java sources 
could be copied. This is a bit more effort but it makes you independent 
from the decision whether we can (and have the time to) take your code 
into the core and would allow to share your work even if the latter 
cannot be done by us.

Synchronization settings are stored per user. This makes sense, as this 
is mainly a developer feature. Every user may  control, where to/from 
files should be synchronized. If you turned on sync you can see this in 
the account management -> Edit additional info:

USERPREFERENCES_SYNC_SETTINGS_DESTINATION=C:\temp
USERPREFERENCES_SYNC_SETTINGS_VFS_LIST=/sites/default/release/

You had to look into the core code for seeing how additional user infos 
are stored.

Finally users had to have the possibility to configure their settings in 
the wp. A lot of work! Happy coding!

Kind Regards,
Achim.
 
-------------------
Achim Westermann
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org                 
                                                                
Visit OpenCms Days 2009 Conference and Expo                     
June 15 to June 16 2009 in Cologne, Germany                         
http://www.opencms-days.org  





Nikolas Lotz wrote:
> I'll try to find the time to write a clean patch that
> allows configuration of the files to be excluded from
> synchronization. I'm not quite sure where to put the
> configuration. Maybe a new node in opencms-system.xml
> called 'synchronization' ?
>
> Any ideas besides filtering by filename ?
>
>   



More information about the opencms-dev mailing list