Yes, this is how the keyword expander is currently implemented, it actually just replaces the token inside of the {}. <br><br>Currently to do what you were trying to do you would use the following<br>mv:generate=&quot;{template_dir_path}/{template_basename}.css&quot;
<br><br>I think it is important to not blur the lines between what is substituted since if there is business logic that is used in addition the the token itself then this would be confusing. This also keeps our keyword substitution light and simple which can be used for other things and not too customized for this one case.
<br><br>If you want we can create another different token which represents {template_dir_path}/{template_basename} to make it simpler for the user to use, but I think it is important for this to be different than the token we are using to represent template path with default extension.
<br><br>So if you want we can create {template_path_no_ext} or {template_path_base} or something similar which logically consists of {template_dir_path}/{template_basename} .<br><br>What do you think? <br><br><div><span class="gmail_quote">
On 6/15/06, <b class="gmail_sendername">Deb Lewis</b> &lt;<a href="mailto:djlewis@acm.org">djlewis@acm.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've gone through everything and have an almost-working system.&nbsp;&nbsp;One unit<br>test case fails (involving templates and abs. paths).&nbsp;&nbsp;I can run my rails<br>application and template parsing seems to be basically working.<br>
<br>mv:generate=&quot;{template_path}&quot; generates my .rhtml now<br><br>glitch: mv:generate=&quot;{template_path}.css&quot; produces foo.rhtml.css - so the<br>default output extension isn't being ignored when target specified ext.
<br><br>~ Deb<br><br><br>_______________________________________________<br>Masterview-devel mailing list<br><a href="mailto:Masterview-devel@rubyforge.org">Masterview-devel@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/masterview-devel">
http://rubyforge.org/mailman/listinfo/masterview-devel</a><br></blockquote></div><br>