[opencms-dev] ignoring rfs folders on synchronize

Christian Steinert christian_steinert at web.de
Mon Jan 29 17:06:30 CET 2007


Hi Jack,

I understand that this is a problem for you, but I don't think that the sync function can ignore anything.

I have only one idea of what I would try to work around this (I don't know if this works and is maybe a bit unorthodox and this assumes that you are using Linux/Unix):

- write a script that changes ownership of all your .svn subfolders to the SVN user (so that SVN will still be able to read them) and that changes ownership to 700
- after that your script can try to trigger your synchronization through the cms shell

I have no idea if manipulating the folder permissions in this way will also keep opencms from creating those folders up in the database - it's only a wild guess. But maybe it works.

Alternatively, you could just write a script that copies everything back and forth between your sync folder and a different folder with only the latter one being integrated with SVN. For this you would have to write a script that
- copies the file from your SVN-synchronized folder to your opencms sync location
- triggers synchronization through the cms shell 
- copies the synchronized files back to your Svn-synchronized folder.

copying should of course be done without having the file dates changed. 


ok. these are the only things that come to mind
christian



> I use subversion for source control.
> 
> How can I configure to ignore .svn folders in the real file system (rfs)
> when synching between rfs and the OpenCms virtual file system (vfs) ?
> 
> 
> ..............................
> Jack Bakker 
> -----< www.iable.ca >---------
> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
> 


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066




More information about the opencms-dev mailing list