[Ironruby-core] Suggestion for ir.exe.config

Claudio Maccari
2009-02-08T10:56:27Z

Don''t you think ir.exe.config would be much readable with this syntax



<options>



            <librarypaths>

                  <path>..\..\Languages\Ruby\libs\</path>


<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\</p
ath>


<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\</path>


<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\</path>

            </librarypaths>

      </ ruby>

</options>



instead of this ?



<options>

  <set language="Ruby" option="LibraryPaths"
value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.
6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ru
by\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\"
/>

</options>



Create a Custom Configuration Sections Using ConfigurationSection is quite
easy

http://msdn.microsoft.com/en-us/library/2tw134k3.aspx



cheers

claudio

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20090208/1740233d/attachment-0001.html>