[Templates] unable to invoke ttree in some situations
jagdish eashwar
jagdish.eashwar@gmail.com
Sun, 6 May 2007 18:07:31 +0530
------=_Part_25441_33324253.1178455051107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
I have got myself a copy of O'Reilly's Perl Template Toolkit, and am going
through the initial paces using Cygwin. I have come up to invoking the ttree
command. The .ttreerc file has been automatically created.
When I copy the contents of the etc/ttree.cfg to the .ttreerc file, I can
invoke ttree with just '$ ttree.bat'.
I can invoke ttree successfully also through '$ ttree.bat -f
c:/cygwin/home/jag/web/etc/ttree.cfg'.
I succeed also when I set the cfg option in the .ttreerc file to ' cfg =
c:/cygwin/home/jag/web/etc' and then invoke ttree with '$ttree.bat -f
ttree.cfg.
But when I set the cfg option to 'cfg = c:/cygwin/home/jag/.ttree' and
create a link file called 'webjag' in the .ttree directory, I am unable to
invoke ttree. The error message I get is :
"c:/cygwin/home/jag/.ttree/webjag: No such file or directory"
What could I be doing wrong? Does the link file method work on Windows?
jagdish
------=_Part_25441_33324253.1178455051107
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,<br>I have got myself a copy of O'Reilly's Perl Template Toolkit, and am going through the initial paces using Cygwin. I have come up to invoking the ttree command. The .ttreerc file has been automatically created.
<br><br>When I copy the contents of the etc/ttree.cfg to the .ttreerc file, I can invoke ttree with just '$ ttree.bat'.<br><br>I can invoke ttree successfully also through '$ ttree.bat -f c:/cygwin/home/jag/web/etc/ttree.cfg'.
<br><br>I succeed also when I set the cfg option in the .ttreerc file to ' cfg = c:/cygwin/home/jag/web/etc' and then invoke ttree with '$ttree.bat -f ttree.cfg.<br><br>But when I set the cfg option to 'cfg = c:/cygwin/home/jag/.ttree' and create a link file called 'webjag' in the .ttree directory, I am unable to invoke ttree. The error message I get is :
<br><br>"c:/cygwin/home/jag/.ttree/webjag: No such file or directory"<br><br>What could I be doing wrong? Does the link file method work on Windows?<br><br>jagdish<br><br>
------=_Part_25441_33324253.1178455051107--