jagdish eashwar writes:

>    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?

How did you create the link?

If you are using cygwin, the best option is to stick with unix-like
paths.  cygwin maps windows paths (like c:\cygwin\home) to paths with a
unix syntax (like /home), so that all "unix-like" tools work as usual.
Unix symbolic links (defined with 'ln -s') work fine under cygwin, but
are different from Windows "links".

TT works fine both under cygwin with cygwin perl in a "unix way" of
things, and with ActiveState perl if you use the windows-ppm.  Just
keep the two worlds apart :-)
-- 
Cheers,
haj



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to