Questions tagged [configuration]

Configuration is the process of specifying the settings used for a system or application

Configuration is used to customize the behavior of a program. It is commonly done using static configuration files that can be composed in any common text editor, but some applications provide tools (sometimes even with graphical interfaces) to create, modify, and verify the syntax of their configuration files.

Some programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file.

18012 questions
9
votes
4 answers

Monodroid: Where should I put configuration settings?

From Miguel de Icaza: We use a library profile that is better suited for mobile devices, so we removed features that are not necessary (like the entire System.Configuration stack, just like Silverlight does). After years of .NET development, I'm…
Jim G.
  • 15,141
  • 22
  • 103
  • 166
9
votes
1 answer

commons-logging config: use SimpleLog & set debug level

I have a commons-logging configuration question. I want it to use SimpleLog (instead of java.util.logging) and log all messages with level >= debug (instead of info).
flybywire
  • 261,858
  • 191
  • 397
  • 503
9
votes
2 answers

Enabling CLR Integration on SQL Server 2008-r2

Looking for Enabling CLR Integration I found this document: http://msdn.microsoft.com/en-us/library/ms131048.aspx that said to use the following code for setting to 1 the "crl enabled" variable. sp_configure 'show advanced options',…
GVillani82
  • 17,196
  • 30
  • 105
  • 172
9
votes
1 answer

How do you make dynamic bindings in Guice that require an injected Instance?

I'd like to create a Module that dynamically binds instances to named annotations. The use case is I would like to automatically bind the values in my configuration with the key in the properties file being the @Named value. However the…
Patrick Auld
  • 1,407
  • 3
  • 15
  • 25
9
votes
2 answers

Where do I store general config parameters in Silex?

I have some general parameters I would like to share all along my application like path information ("baseurl"). Where would you ideally store this information in Silex?
herrjeh42
  • 2,782
  • 4
  • 35
  • 47
9
votes
3 answers

cmake problems in Windows

I am trying to compile this (quite complex) piece of code with cmake and MinGW in Windows: #include int main() { std::cout << "Test" << std::endl; return 0; } This is the CMakeLists.txt file (which works correctly in…
Pietro
  • 12,086
  • 26
  • 100
  • 193
9
votes
5 answers

Override WP_SITEURL and WP_HOME for WordPress Multisite

For doing local development on a WordPress site (http://www.example.com), I was previously overriding the WP_SITEURL and WP_HOME values in wp-config.php like so: define('WP_SITEURL', 'http://local-example/'); define('WP_HOME',…
doublesharp
  • 26,888
  • 6
  • 52
  • 73
9
votes
3 answers

how to deal with configuration file in CakePHP

I know that in folder config are file called core.php which I can configure application options as a debug mode, session, cache etc. But I want do configure file for my application. I want for example configure how many post can be displayed in…
R4D3K
  • 117
  • 1
  • 8
9
votes
1 answer

Possible to alias .NET namespaces in app.config?

ASP.NET has a feature that allows you to declare implicitly used namespaces in the web.config.
Joel Martinez
  • 46,929
  • 26
  • 130
  • 185
9
votes
6 answers

MSVCP90.dll not found?

in my project if compile project in release, it asks me MSVCP90.dll. if it is debug, it does not... have you ever met such a situation? and do you know why this .dll is desired? or what configuration makes it to be desired? thanks for any advice..
ufukgun
  • 6,889
  • 8
  • 33
  • 55
9
votes
2 answers

AWS IAM user policy to restrict access to specific SQS queue

I'm trying to setup a user policy for a AWS IAM user to access a specific AWS SQS queue. When I try with below policy, I get the error AccessDenied. { "Statement": [ { "Action": ["sqs:*"], "Effect": "Allow", "Resource":…
infrared
  • 3,566
  • 2
  • 25
  • 37
8
votes
1 answer

Running .NET 3.5 apps on .NET 4 only systems

This question has been asked before perhaps multiple times, but I can't get the typical solution to work for me. The proposed solution is to put this in the "app.config" file:
Dan W
  • 3,520
  • 7
  • 42
  • 69
8
votes
1 answer

slowcheetah to transform value of an element in config file

I know how to change the value of attributes with SlowCheetah, but how would I change the value of the element. app.Debug.config:
asunrey
  • 875
  • 2
  • 10
  • 28
8
votes
2 answers

How to set NLog's fileName to the process start date?

I tried but it creates a new file each minute. I realize that there is…
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
8
votes
5 answers

How do i set up the server's fully qualified domain name?

When i try to restart apache issueing /etc/init.d/apache2 restart i get the following messages: root@server:~# /etc/init.d/apache2 restart * Restarting web server apache2 …
reader
  • 129
  • 1
  • 1
  • 5