[opencms-dev] Folder Synchronization Exclusion lists?

a.westermann at alkacon.com a.westermann at alkacon.com
Thu Apr 23 09:36:46 CEST 2009


Hi Tim,

the patch from Nikolas looks good. However it is not generic enough for 
going to the core. The exclusion list at least had to be configurable 
(from the workplace).

New features can be requested here: http://bugzilla.opencms.org

If a feature is urgent and budget is available one could also contact 
Alkacon and negotiate a contract.


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                         


Tim Daschner wrote:
> Thank you everyone for your responses! I am going to try Nikolas 
> Lotz's idea and see how it goes.
>  
> on a related note: how does one request new features for opencms? OR 
> if someone has suggestions for the product, how does one provide those 
> suggestions?
>  
> Thanks again,
>  
> Tim
>
> On Wed, Apr 22, 2009 at 3:50 AM, Nikolas Lotz <nlotz at nde.ag 
> <mailto:nlotz at nde.ag>> wrote:
>
>     I just wrote my own version of 'CmsSynchronize.java' with
>     a method that checks for resources to be omitted from sync:
>
>     --- snip: CmsSynchronizeExtended.copyFromRfs(...) ------------
>
>            // now loop through all resources
>            for (int i = 0; i < res.length; i++) {
>
>     [+]         if(omitResource(res[i].getName()))
>     [+]             continue;
>
>                [...]
>            }
>
>     --- snap ------------------------------------------------------
>
>     --- snip: CmsSynchronizeExtended.omitResource(...) ------------
>
>     [+]     public boolean omitResource(String name) {
>     [+]
>     [+]         if(name.equals("CVS"))      // CVS metadata
>     [+]             return true;
>     [+]
>     [+]         if(name.startsWith("."))    // .svn, .something
>     [+]             return true;
>     [+]
>     [+]         if(name.endsWith(".swp"))   // VI swap files
>     [+]             return true;
>     [+]
>     [+]         return false;
>     [+]     }
>
>     --- snap -------------------------------------------------------
>
>     --
>     Nikolas Lotz                            voice   : +49-40-559 51 75
>     NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
>     Postfach 61 03 15                       mobile  : +49-163-758-6751
>     D-22423 Hamburg                         e-mail  : nlotz at nde.ag
>     <mailto:nlotz at nde.ag>
>
>            Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>              Sitz und Registergericht: Hamburg, HRB 90934
>                      Vorstand: Jens-U. Mozdzen
>                       USt-IdNr. DE 814 013 983
>
>     _______________________________________________
>     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
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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



More information about the opencms-dev mailing list