configuration

Default config settings for a new git repository?

When I create a new git repository, some configurations settings are automatically added to .git/config. Where can I change these default settings? ...

Hibernate MySQL transaction configuration issue

I'm having trouble starting a transaction with Hibernate and MySQL while running in JUnit. I'm getting a HibernateException which states: "No TransactionManagerLookup specified". I believe this error is because I don't have a proper configuration setting for hibernate.transaction.manager_lookup_class. I see that under the namespace of ...

How to refresh applicationSettings in a dll

Can i force a dll to reload it's configuration? In my VB library I'm using this configuration: <applicationSettings> <ComWrapper.My.MySettings> <setting name="MySetting" serializeAs="String"> <value>This is an entry</value> </setting> </applicationSettings> It's no problem to access the "MySetting" val...

How do I retrieve ApplicationSettings from a loaded app.config file

Is it possible to access the values from the applicationSettings section of a loaded app.config file? I have found an example How do I retrieve appSettings, but i can't find out how to access applicationSettings this way. ...

How to configure Eclipse formatter to not insert blank line between field declarations?

I am using Eclipse 3.5.1 (Galileo) and am having trouble with one of the auto-formatting settings. At the moment when I auto-format a blank line is inserted between each and every field declaration. The behaviour I'm looking for is to organise field declarations without a blank line between. Except in the case where there is already on...

Tiles 2.2.1 configuration

I have used Tiles 2.1, but in version 2.2 configuration has changed, but sadly their documentation seems to be very confusing*, at least for me. And their example project download link is not working. http://tiles.apache.org/framework/tutorial/configuration.html ...

host/role dependent spring configuration

I have a cluster of servers running a spring application. Some of the spring components need to be configured differently depending on the role their server is playing (primary, secondary, etc). I don't want to maintain separate spring config files for each role, rather I want to dynamically detect this when the application is started....

App configuration in C# 3.5

Hi, I'm building a processing system, and I would like to configure it using an XML. What technology should I use?, I have a lot of options: 1] I can serilize a dumy object into xml, change the content and then load it every time I run the app. I'v implemented this, because you don't have to write a lot of code to make this work, but ...

Sphinx: Filtering MVA on multiple fields

I would like to be able to filter my orders on an amount range AND a specific user_id The expected result would be to get only the orders where the specified user did a bid on in a certain amount range. For example there is an order with id 1. User 5 bid on it for an amount of 200. Now if I want to filter I set the user_id filter to 5 ...

What are some good ways of managing settings in gui applications?

If I have a setting that is accessible via a menu item or configuration window that can change at runtime, for example "bold text on/off"; what are some good ways of ensuring that all applicable components are aware the value of this setting? ...

How to Target older versions of framework using VS2005?

I have VS2005 and VS2008 installed on my pc. I have .NET Framework 2.0 SP2, 3.0, 3.0 SP2, and 3.5 SP1 I am able to selection which Framework to use in VS 2008 from the drop down window, but I'm curious how I set which framework I want to target a project for in VS 2005. I obviously dont want to uninstall frameworks because I would sti...

Design pattern and configuration settings

I'm developing an application that transforms xml documents using xslt. The application has a settings dialog for setting values like * input * output (directory) * stylesheet * and so on... The user can also choose to transform to pdf, xhtml, etc, and the settings above differ slightly for each format. Now, I was wondering if anyon...

How to configure web proxy for Jing

Jing is great. But it won't start unless it can phone the mother ship. My internet access is via corporate web proxy. Jing doesn't seem to offer any way of configuring its connection to the internet. You'd think it would just use the windows internet connection settings that work for browsing, but no dice. Anyone solve this problem? May...

Confusion over maxJsonLength default value

I'm hoping to get some clarification on the maxJsonLength property. Here is some background information. I was having an issue with an AJAX response not being returned in a .NET web application using jQuery. When the user changed a drop down list, I manually built and displayed some HTML. The issue was that one specific selection ret...

Nested ConfigurationElementCollection

I have a following configSection in App.Config. http://codepaste.net/vrhrht This has been mapped to following Classes in c# http://codepaste.net/nzdfdy I am getting the following error Unhandled Exception: System.Configuration.ConfigurationErrorsException: Unrecogn ized element 'services'. Can anybody let me know what is wrong her...

Configuration System Designer tool for Visual Studio 2005

Is there Configuration Section Designer like http://csd.codeplex.com/ for Visual Studio 2005? ...

Proper setup for IIS7.5 machine account for anonymous Web site access

Using IIS 7.5, IIS_IUSRS is supposed to be the account to use. I get '401 - Unauthorized: Access is denied due to invalid credentials' error. If I add an EVERYONE account with Read, it works. But rather not have Everyone account. Any idea why IIS_IUSRS does not work? It has Read access. Anonymous Access=enabled. Specific User=IUSR As a ...

How to configure asp.net MVC project in IIS?

When I run project in IIS, after displaying home page it will not allow to redirect on any other page. It gives Page could not found error. ...

Is there a standard method to create a configuration file for C# program?

In the past I would just create a text file with key value pairs for example WIDTH=40 and manually parse the file. This is getting a little cumbersome is there a standard way to do this preferably with inbuilt support from Visual Studio or the .NET framework. ...

How do I create C# configuration files for each of my classes?

If I go to Project -> Myproject Properties -> Settings I can create a settings file for the entire project. However supposed each class requires its own configuration file. Is there a similar way to do this at the class level? By way of example suppose I have a parent class Car with subclasses Ford and Honda. I want to have a single ...