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
8
votes
2 answers

How to make maven cobertura and surefire plugins work together?

I put the surefire and cobertura plugins in my pom.xml, but I can't configure them to work fine. Or cobertura doesn't run or the tests are executes twice. So, how could I configure the plugins for they run together and just one time? If I configure…
joaosavio
  • 1,481
  • 3
  • 17
  • 20
8
votes
1 answer

Symfony 2 YAML passing arrays

I wonder where can I get more information about special syntax like @somevar or %somevar% in symfony2's yaml configuration? For example, using @ defines a call to a service, that is how we pass dependencies to services. %somevar% on the other hand…
Tony Bogdanov
  • 7,436
  • 10
  • 49
  • 80
8
votes
1 answer

Configuring File Names for PHPUnit

I am a new user of PHPUnit, and I am converting our existing tests (asserts) into the PHPUnit framework to provide a better test environment and code coverage. However, I need to know how to try to get PHPUnit working with our testing code…
Steven Scott
  • 10,234
  • 9
  • 69
  • 117
8
votes
2 answers

Jenkins and JUnit

I've read over the Jenkins site and its JUnit plugin, and for some reason something that is very basic is just not apparent to me. Jenkins has an Email-ext plugin for sending custom/advanced notification emails whenever a build is ran. In these…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
8
votes
3 answers

How to get all configuration settings from Azure Config file?

I need to get all configuration settings (current role or all roles not matter) from Azure cscfg file. I want to do this because i dont want to get all values one by one via RoleEnvironment.GetConfigurationSettingValue(key) method. Is there any way…
Onur Yavuz
  • 101
  • 1
  • 3
8
votes
4 answers

Version-controlled extension configuration in Mercurial

Normally, I would enable extensions by adding the following to .hg/hgrc: [extensions] hgext.win32text= [encode] ** = cleverencode: [decode] ** = cleverdecode: However, I want this configuration to be versioned, i.e. part of the repository, so that…
Deestan
  • 16,738
  • 4
  • 32
  • 48
8
votes
4 answers

Comparison of integers of different signs warning with Xcode

I use an open source to build my project. when I add EGOTextView to the project, it has Semantic Issues like: Comparison of integers of different signs: 'int' and 'NSUInteger' (aka 'unsigned long') Comparison of integers of different signs:…
scorpiozj
  • 2,687
  • 5
  • 34
  • 60
8
votes
3 answers

How to share Eclipse project preferences between users?

We have several devs in the team, the source code is managed using the Mercurial DVCS. The .metadata folder is not under the source control. The problem, is that when I configure project dependencies (jars, user libraries, source code paths, etc…
mark
  • 59,016
  • 79
  • 296
  • 580
8
votes
2 answers

Shared configuration files in .NET

I have a solution that includes both a web and a Windows NT service application. These are of course two different projects but within the same solution. They do however share a lot of the same configuration. Currently I have the same values in…
Riri
  • 11,501
  • 14
  • 63
  • 88
8
votes
1 answer

Generate database with Nhibernate using Fluent NHibernate

I'm trying to use (new with) Fluent NHibernate (trying to switch from XML mapping file to FNH). With the code below, I generated the database, I'm trying to find the same solution but with FNH (I'd like still use hibernate.cfg.xml) : public void…
TheBoubou
  • 19,487
  • 54
  • 148
  • 236
8
votes
1 answer

Where can I find the file my.cnf or my.ini file?

I've read about MySQL replication and i need to change some configuration but I can't find the file my.cnf or my.ini. I don't know which MySQL version I have but I've downloaded it a long time ago, as a .zip. My box runs Windows 7 64. Where can i…
8
votes
2 answers

java configuration/parameter passing design

Often I find the need to engineer objects with configurable functionality. To exemplify, assume I'm creating a DateIterator. The configurable option(s) might be whether to iterate the closed interval [start, end] or the open-end interval [start,…
Johan Sjöberg
  • 47,929
  • 21
  • 130
  • 148
8
votes
6 answers

Automatically Trim Trailing White Space for properties in Props file loaded into Spring

I'm using PropertiesFactoryBean to load properties from a typical Properties file. Is there anyway to get Spring to automatically trim trailing white space from the prop value?
Johnny
  • 678
  • 1
  • 6
  • 16
8
votes
2 answers

how to configure jetty to listen to multiple ports

I just want to configure jetty to listen to more than one port. I don't want multiple instances nor multiple webapps, just one jetty, one webapp, but listening to 2 or more ports. The default way does not support multiple entries:
Mario Bertschler
  • 205
  • 1
  • 3
  • 9
8
votes
1 answer

How to store shared configuration for zend, phing and phpunit?

I have a PHP application that is written with Zend Framework. It uses Phing for a build system and PHPUnit for unit testing. All these parts have configuration settings. Zend uses application.xml, Phing uses build.xml and optionally some…
Sander Marechal
  • 22,978
  • 13
  • 65
  • 96