ttree not copying

Wayne Mercer <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <[email protected]>
Problem solved - apparently the latest version requires that files to be
copied also need to be added to the 'accept' list;

copy = \.(abc|pdf|png|gif|jpg|mid|midi|mp3)$
accept = \.(html|tt2|tt|abc|pdf|png|gif|jpg|mid|midi|mp3)$

I worked this out by hacking the ttree.bat file to see what files were
making it to the copy test sequence (added a print line) - all the .tt
files were making it, but none of the files with extensions in the copy
list. I took a gamble to see if adding them to the accept list, and then
they made it. I then tried removing the accept list (my config file says
'by default, everything not ignored or copied is accepted'), just to see
if that was the issue - it wasn't, and so the accept list seems to
require the addition.

Thanks!
Wayne

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates
wmercer.vcf (text/x-vcard, 1.1 KB)
begin:vcard
fn:Wayne Mercer
n:Mercer;Wayne
org:Canadian Bank Note Company, Limited;Devices R&D Department, ID Systems Division
adr:;;18 Auriga Drive;Ottawa;ON;K2E 7T9;Canada
email;internet:[email protected]
title:Sr. Hardware Engineer/Manager
tel;work:(613) 225-9266 xx2243
tel;fax:(613) 225-4593
note;quoted-printable:Confidentiality Notice:=0D=0A=
	This communication may contain information that is proprietary, privilege=
	d or confidential or otherwise legally exempt from disclosure. The inform=
	ation contained in this email is intended solely for the addressee.=0D=0A=
	Access to this email by anyone else or any unauthorized review, use, disc=
	losure or distribution is unauthorized and prohibited. If you are not the=
	named addressee indicated in this message (or responsible for deliveryof=
	 the message to such person), you are not authorized to read, print,retai=
	n, copy or disseminate this message or any part of it. If you have receiv=
	ed this message in error, please notify the sender immediately by e-mail=
	 and delete and destroy all copies of the message. 
x-mozilla-html:TRUE
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.