configuration

Using colons in ConfigParser Python

According to the documentation: The configuration file consists of sections, led by a [section] header and followed by name: value entries, with continuations in the style of RFC 822 (see section 3.1.1, “LONG HEADER FIELDS”); name=value is also accepted. Python Docs However, writing a config file always use the equal si...

How to set a local variable in application-context.xml to represent a repeating value?

If the president changes, I would have to change the value of presidentName three times below in the application-context.xml: <beans:property name="presidentName" value="Barack Obama" /> Is there a way to set variable once in application-context.xml to represent the string Barack Obama. <?xml version="1.0" encoding="UTF-8"?> <beans:b...

OpemMQ Configuration, Fatory creation and session handling in Tomcat+Atomikos

Hi, I'm currently using OpenMQ in my app and I need to support distributed transactions. I'm trying to understand what I need to change in the configuration (and where) and how will switching to a JTA change the way I'm currently obtaining my ConnectionFactory and handling my javax.jms.Connection. A quick code example of my usage is (...

wcf client configuration

Hi, I have wcf client. It uses .NET 3.5. When I compile the client I get two files: client.exe and client.exe.config. The second file contains configuration for the wcf client. In my case I need to prevent the user sitting on the computer to see the urls and change some other parameters from the config file. So the requirements are...

If an ASP.NET application uses many DLLs, what's the best approach for keeping configurations of every dll separate ?

After creating settings for each dll, a .dd.config file is generated. If that dll would be part of an asp.net application, how to keep this configurations separate for each dll and don't merge them into web.config ? ...

Rails 3 Engine - Provide Config For Users

I can't seem to find any documentation on how to do the following: I need to provide a config variable for any applications using my engine so that they can easily pass settings to my engine. Does anyone have any links to a proper or accepted way to do this? EDIT: As an update, I figured out a decent way to do this. Code is below. # f...