Thanks for suggestion, this should be doable even w/o Ruby specific config 
section.
BTW, you application can actually use any configuration format you want. You 
don't need to rely on the default configuration reader when a hosting DLR 
language (IronRuby).

Tomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Claudio Maccari
Sent: Sunday, February 08, 2009 2:56 AM
To: [email protected]
Subject: [Ironruby-core] Suggestion for ir.exe.config

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

<options>
     <ruby>
            <librarypaths>
                  <path>..\..\Languages\Ruby\libs\</path>
                  
<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\</path>
                   
<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\ruby\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
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to