Re: [Rest2web-develop] One problem with 'force'
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2007-03-09 12:30:29
|
Eur Ing Chris Green wrote: > On Thu, Mar 08, 2007 at 09:39:04PM +0000, Eur Ing Chris Green wrote: > >> Well there I was thinking that the force option would be useful for >> me, but there's one issue for me. >> >> I have start_directory set to the same value as target_directory >> since the web server I am using is on the machine where I'm running >> rest2web. If you do this r2w.py tries to process the template.txt >> file, which doesn't work very well. >> >> Is there any way to either move the template.txt file out of the >> start_directory or to give it a different name? >> >> > Once again RTFM, the -t option of r2w.py allows one to specify where > the template.txt file is. However I do think that changing its name > to something other than a .txt file might be a good idea. > What I can do in the next release is have rest2web ignore 'template.txt' in force mode. Fuzzyman http://www.voidspace.org.uk/python/articles.shtml |