<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 96: compiler.ini - make tag paths mergeable</title><link href="https://sourceforge.net/p/wact/feature-requests/96/" rel="alternate"/><link href="https://sourceforge.net/p/wact/feature-requests/96/feed.atom" rel="self"/><id>https://sourceforge.net/p/wact/feature-requests/96/</id><updated>2005-02-19T04:05:11Z</updated><subtitle>Recent changes to 96: compiler.ini - make tag paths mergeable</subtitle><entry><title>compiler.ini - make tag paths mergeable</title><link href="https://sourceforge.net/p/wact/feature-requests/96/" rel="alternate"/><published>2005-02-19T04:05:11Z</published><updated>2005-02-19T04:05:11Z</updated><author><name>Michael van Dam</name><uri>https://sourceforge.net/u/mvandam/</uri></author><id>https://sourceforge.net2be3014ea5c9c0d26139fe0f4cfcf394e239ab41</id><summary type="html">&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;</summary></entry></feed>