configuration

Symbol servers

In this answer the user suggests using Symbol Servers. Can anyone explain how they work and how to set it up (if possible) with TFS 2008? Thanks ...

Setting a global variable in Magento, the GUI way?

I've recently started using Magento for a client's webshop, and still need to get to grips with its systems. The webshop should have several links to and also grab info from another domain, where the corporate website is located. I would prefer not to hardcode the domain name or URL but instead define it at some place and use that value...

Leopard Terminal (and iTerm) Ignores Control Key Combos

I am very used to using ctrl+a, ctrl+e, ctrl+l, etc. as shortcuts to operations (beginning of line, end of line, clear terminal, etc). I cannot for the life of me get this working with either Terminal.app or iTerm on OS 10.5. I know for a fact that it works in Tiger and I even know some other Leopard users who don't have any problems, b...

What is the best practice for the location of Java application configuration files?

Is there a best practice for where configuration files should be stored in a Java project. The file type is a Java properties file in this case, but I do use other file types in other projects. Would the recommendation vary from stand alone application(.jar) to web app(.war)? ...

Why does firefox require credentials to load an image?

I am running a website on a virtual directory. The url for the site is http://localhost/virtalDirectory/pages.aspx I have an image to be loaded on the page from the following directory heirarchy: parent directory ..images ....my image ..myPage.aspx My img tag is <img src="images/imageName.gif" alt="some text"/> When loading in ...

Is it possible to load a .config file from a string of XML in memory without writing to file?

I know how to use the ConfigurationFileMap class and ConfigurationManager.OpenMappedMachineConfiguration to load a Configuration object from a file, but is there a way to just load a Configuration object from purely the XML? ...

Find out FILESTREAM share name in T-SQL

Real quick question - I must be blind or something. In SQL Server Mgmt Studio, I can check for the level of filestream support currently enabled by EXEC sp_configure filestream_access_level Great, works. But how can I find the Windows share name specified during installation where the filestream data will actually be stored? I can't...

How to set the java.library.path from Eclipse

How can I set the java.library.path for a whole Eclipse Project? I'm using a Java library that relies on OS specific files and need to find a .dll/.so/.jnilib. But the Application always exits with an error message that those files are not found on the library path. I would like to configure this whole project to use the library path. ...

Trouble Installing the new Android SDK

I've installed the newest Android SDK using eclipse's software updates feature to hit the resource at https://dl-ssl.google.com/android/eclipse/. After installing it, it seems like the SDK is integrated into Eclipse, but when I try to create a new project with a single blank activity in it, I get the following error: [2009-06-06 11:41...

Castle Windsor configuration based on build or config file

I am using Castle Windsor in my own implementation of the Resolver Pattern. I have two implementations of a service MethodAService and MethodBService that both implement IMethodService. I am using "Convention Over Configuration" when bootstrapping Windsor in. How can I tell Castle Windsor to use always use MethodAService in one instance ...

Handling properties in Scala

I'd like to know what is the most efficient way of handling properties in Scala. I'm tired of having gazillion property files, xml files and other type of configuration files in Java and wonder if there's "best practice" to handle those someway more efficient in Scala? ...

App.config dllmap entry portability

The dllmap configuration file entry is used in Mono to map requests for windows DLLs to Linux (.so) libraries. But it seems that if Microsoft's .NET framework tries to parse a configuration file with such an entry, an error occurs because it doesn't understand "dllmap". I think everything else in my distribution can be distributed unch...

Externalizing Grails Datasource configuration

Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available for externalizing the database configuration in Datasource.groovy (without setting up JNDI)? It would prove helpful to be able to configure DB credentials in a simple configuration file outside the...

Testing for mysterious load errors in python/django

This is related to this http://stackoverflow.com/questions/926579/configure-apache-to-recover-from-modpython-errors, although I've since stopped assuming that this has anything to do with mod_python. Essentially, I have a problem that I wasn't able to reproduce consistently and I wanted some feedback on whether the proposed solution see...

How to deal with null request scoped objects in Spring.NET

I have a couple of objects in Spring.NET that I have created in the request scope. This works fine when the instance exists but sometimes they need to be null. If I return null from the factory that creates them I get an error from Spring.NET indicating that it cannot wrap a null object. I gather it is trying to create a proxy around ...

Http header injection test

Hi guys, How can you test Http header injection in your application. Actually I want to see what is the diff after adding enableheader=false in config and before in my application. Can somebody help me with that. Framework .NET 2.0 Language C# Platform: windows XP ...

Set another config file for the proxy

Hi, I have a WCF client generated with Add Service Reference, problem is that the classes of this client will get embeded in a .msi (WIX project), together with its config file. From the msi, proxy doesn't recognize the config file. I want take config file outside of msi and tell the proxy to read what it needs from there. Is there a...

Ant copy file to leaf directory

I'm trying to use Apache Commons Configuration and using ant for my build tool. I have one namespaced class, and when ant builds it of course sub-directories. I need to put my .xml configuration file in the leaf directory (ie: ${build}/com/cross/xxx/). Is there an automated way to do this, or do I just manually configure the path of t...

Unity/Spring or System.Configuration for configuration?

If you are already using Unity as a part of your project, is there any sense in bothering with writing traditional configuration classes? Doing so seems like it's extra work, but the positives would be more domain specific XML tag names and more concise XML. But then the question becomes when you draw the line between the two and consi...

.NET: centralizing split configuration

Let's say I have a large .NET solution that has some data access projects that are used by a couple of other project types, like a console app and a web app. I want them to both be able to use the data access project, but the data access app has to grab configuration from its configuration file...so web.config for the web project and app...