Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
iwgen and the creation of directories ?
Lee
Hello,
I think I'm being a little niave but ........
I'm running an iwgen command like below
/iw/iw-home/bin/iwgen -t
/default/main/branch/WORKAREA/dirs/presentation/web_page.tpl
-r
/default/main/branch/WORKAREA/dir/dcr
/default/main/branch/WORKAREA/dir/NEW DIR/html file
The thing to note is that the html file to be generated is to live in a directory which does not exist!?
I quess my question is can iwgen force the creation of the direcory (a little bit like iwupdate?), if so how
thanks leec
Find more posts tagged with
Comments
Adam Stoller
Not sure if you ever got your question answered but ...
.../iwgen -t ... -r /default/main/branch/WORKAREA/dir/dcr /default/main/branch/WORKAREA/dir/NEW-DIR/html-file
.../WORKAREA/dir/dcr
does not look like a legitimate path for a DCR - it is probably something like
.../WORKAREA/templatedata/category/data-type/data/dcr
- yes?
The thing to note is that the html file to be generated is to live in a directory which does not exist!?
I quess my question is can iwgen force the creation of the direcory (a little bit like iwupdate?), if so how
No - iwgen does not create directories for you - but if you're calling iwgen as a CLT, the same script should be able to make sure the directory exists ahead of time. If you're using Perl I recommend
File:
ath::mkpath()
.
--fish
(Interwoven Senior Technical Consultant)