<div>Thank you everyone for your responses! I am going to try Nikolas Lotz's idea and see how it goes.</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>Thanks again,</div>
<div> </div>
<div>Tim<br><br></div>
<div class="gmail_quote">On Wed, Apr 22, 2009 at 3:50 AM, Nikolas Lotz <span dir="ltr"><<a href="mailto:nlotz@nde.ag" target="_blank">nlotz@nde.ag</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I just wrote my own version of 'CmsSynchronize.java' with<br>a method that checks for resources to be omitted from sync:<br>
<br>--- snip: CmsSynchronizeExtended.copyFromRfs(...) ------------<br><br> // now loop through all resources<br> for (int i = 0; i < res.length; i++) {<br><br>[+] if(omitResource(res[i].getName()))<br>
[+] continue;<br><br> [...]<br> }<br><br>--- snap ------------------------------------------------------<br><br>--- snip: CmsSynchronizeExtended.omitResource(...) ------------<br><br>[+] public boolean omitResource(String name) {<br>
[+]<br>[+] if(name.equals("CVS")) // CVS metadata<br>[+] return true;<br>[+]<br>[+] if(name.startsWith(".")) // .svn, .something<br>[+] return true;<br>[+]<br>
[+] if(name.endsWith(".swp")) // VI swap files<br>[+] return true;<br>[+]<br>[+] return false;<br>[+] }<br><br>--- snap -------------------------------------------------------<br>
<br>--<br>Nikolas Lotz voice : +49-40-559 51 75<br>NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77<br>Postfach 61 03 15 mobile : +49-163-758-6751<br>D-22423 Hamburg e-mail : <a href="mailto:nlotz@nde.ag" target="_blank">nlotz@nde.ag</a><br>
<br> Vorsitzende des Aufsichtsrates: Angelika Mozdzen<br> Sitz und Registergericht: Hamburg, HRB 90934<br> Vorstand: Jens-U. Mozdzen<br> USt-IdNr. DE 814 013 983<br>
<div>
<div></div>
<div><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>