<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 96: compiler.ini - make tag paths mergeable</title><link>https://sourceforge.net/p/wact/feature-requests/96/</link><description>Recent changes to 96: compiler.ini - make tag paths mergeable</description><atom:link href="https://sourceforge.net/p/wact/feature-requests/96/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 19 Feb 2005 04:05:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wact/feature-requests/96/feed.rss" rel="self" type="application/rss+xml"/><item><title>compiler.ini - make tag paths mergeable</title><link>https://sourceforge.net/p/wact/feature-requests/96/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've started using the 'merging' .ini file config&lt;br /&gt;
handler lately.  It works wonderfully for everything&lt;br /&gt;
except one thing:  in my compiler.ini I have to list&lt;br /&gt;
all the WACT built-in tag paths in my [tags] section&lt;br /&gt;
plus the paths containing my custom&lt;br /&gt;
tags/filters/properties.  I would prefer to only list&lt;br /&gt;
my custom paths in the config file (and have the WACT&lt;br /&gt;
ones automatically merged in).&lt;/p&gt;
&lt;p&gt;The merging config handler doesn't work as I'd like&lt;br /&gt;
because the whole list of paths is stored as a single&lt;br /&gt;
config value:&lt;/p&gt;
&lt;p&gt;[tags]&lt;br /&gt;
path =&lt;br /&gt;
"%WACT_TAG_ROOT%core;%WACT_TAG_ROOT%data;%WACT_TAG_ROOT%form;%WACT_TAG_ROOT%list;%WACT_TAG_ROOT%page;%WACT_TAG_ROOT%calendar;%WACT_TAG_ROOT%encode;%WACT_TAG_ROOT%html;%WACT_TAG_ROOT%front"&lt;/p&gt;
&lt;p&gt;That means if I have a 'tags.path' entry in my config&lt;br /&gt;
file, it overwrites the one in the main WACT compiler.ini.&lt;/p&gt;
&lt;p&gt;What about the following minor change?  You could&lt;br /&gt;
instead list each path separately in the config file&lt;br /&gt;
(like the classes in autoload.ini):&lt;/p&gt;
&lt;p&gt;[paths]&lt;br /&gt;
core='%WACT_TAG_ROOT%core'&lt;br /&gt;
data='%WACT_TAG_ROOT%data'&lt;br /&gt;
form='%WACT_TAG_ROOT%form'&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;Also the name [paths] is a more general description of&lt;br /&gt;
the directories being pointed to.  Currently they&lt;br /&gt;
contain not only tags, but also filters and properties.&lt;/p&gt;
&lt;p&gt;The same comment could be made about any config values&lt;br /&gt;
that store a list of elements.  e.g.&lt;br /&gt;
compiler.ini/parser.saxfilters&lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael van Dam</dc:creator><pubDate>Sat, 19 Feb 2005 04:05:11 -0000</pubDate><guid>https://sourceforge.net2be3014ea5c9c0d26139fe0f4cfcf394e239ab41</guid></item></channel></rss>