configuration

Where to put a configuration file for an Axis2 web service?

I'd like to have my Axis2 Web Service read from a configuration file, whose name is sent as a parameter to the service. Where is the best place to put this file? And How to best access it? Examples welcome. I've checked the current directory is the Apache/Tomcat/bin file, I could put it in the parent directory, or put it into a Apache/...

gedit underscore as a word_character

Is it possible to configure gedit to treat the underscore character as a word character? Currently, it appears that the editor treats "two_words" as two separate words when selecting, instead of a single word as in many other mainstream text editors. ...

Track active item in Application Explorer in jDeveloper

Is there a setting in jDeveloper 11g where the file of the code I'm seeing is automatically focused on the application explorer? I'm specifically looking for the VS.NET setting "track active item in solution explorer" ...

Visual Studio 2008 project configuration changes by platform/configuration

I've got about two dozen projects here in one solution that need changes to the include paths. I can go through and change each one, but what's really annoying me right now is that it looks like I have to change each one four times (debug vs. release, win32 vs. x64). Is there an easier way to do this than changing the include paths abo...

Within SSIS - Is it possible to deploy one package multiple times in the same instance and set different ConfigFilters (I'm using SQL for config)

In my environment my Dev and QA Database Instances are on the same server. I would like to deploy the same package (or different versions of the package) into SSIS and set the filter to select different rows in the Config table. Is this possible? This is SQL 2005. For the sake of this question lets say I have one variable, which is a ...

CKEditor configuration, prefer img tag atrributes over inline style

On su it was suggested to ask this here... Looking for a way to disable a feature in CKEditor that messes with attributes height and width on my and converts them into inline styles. The version of CKEditor is 3.2 and I have access to config files. Along the same lines is there somewhere an overview (or procedure) for changing the way...

Why don't eclipse run configurations survive a merge?

I had some nice eclipse run configurations I had created while working on a branch in SVN. I then merged these changes back into the trunk, and now my eclipse run configurations are gone. Why? My eclipse configuration directory is totally separate from my svn directory. ...

SQL Server 2008 > how to get service startup parameter values by query?

Is it possible to query for the SQL Server 2008 service startup parameter values using T-SQL? I'm specifically looking for the -g parameter that indicates how much memory that SQL Server will leave available for memory allocations within the SQL Server process, but outside the SQL Server memory pool [msdn reference]. ...

How do I configure ELMAH programmatically?

I'm interested in using ELMAH but need to configure it programmatically. We have existing infrastructure for determining connection strings and the like, and can't code them into Web.Config. How do I go about using ELMAH in this case? ...

log4net configuration problem

I have a seperate Log4Net.config file. I added [assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log4Net.config", Watch = true)] to AssemblyInfo.cs When I run the application with debug mode, lognet is logging. When i publish the application to IIS, lognet is not logging anything. I have the followings also : BasicConfigurat...

Detect template presence at compilation time

GCC up to 4.5 doesn't have standard C++0x type trait template has_nothrow_move_constructor. I could use it in my package for optimization, but I don't want to rule out one of the common compilers and don't want to overload configuration with symbols like HAVE_STD_HAS_NOTHROW_MOVE_CONSTRUCTOR. Is it somehow possible to use that template...

How to configure the 5554:WVGA800H model in android

HI Can any one help me out in Configuring the 5554:WVGA800H model in android,as per this link http://developer.android.com/guide/developing/tools/emulator.html#emulatornetworking they have given the screen for the TABLET ,can any one guide me in this? Thanks & Regards P.Sivasankar ...

Programmatically configure MATLAB

Since MathWorks release a new version of MATLAB every six months, it's a bit of hassle having to set up the latest version each time. What I'd like is an automatic way of configuring MATLAB, to save wasting time on administrative hassle. The sorts of things I usually do when I get a new version are: Add commonly used directories to t...

How to configure AutoMapper if not ASP.net Application?

I'm using AutoMapper in a number of projects within my solution. These projects may be deployed independantly, across multiple servers. In the documentation for AutoMapper it says: If you're using the static Mapper method, configuration only needs to happen once per AppDomain. That means the best place to put the configurati...

How can I specify a single .config file for multiple EXE projects in .NET

I have a project that I am breaking up into multiple .exe projects. I still plan on publishing them, using click once, into the same location at the same time, and I would like to use the same config file. I have added the app.config to each project using the "Add link" option in Visual Studio, which is great for debugging, but in produ...

I need an app.config file to be used by an assembly at assembly initialization

How do I ensure that an app.config file gets read on assembly initialization, for .Net 3.5-4 ? It's a class library assembly. VS2008 provides a menu to add an app.config file, but it's ignored so far. I need to use the app.config to provide information for logging from the assembly. Thanks in advance! ...

Section or group name 'cachingConfiguration' is already defined - but where?

On Windows XP I am working on a .NET 3.5 web app that's a combination of WebForms and MVC2 (The WebForms parts are legacy, and being migrated to MVC). When I run this from VS2008 using the ASP.NET web server everything works as expected. However, when I host the app in IIS and try to use it, I see the following error Section or group n...

My Windows Service cannot write to the Application Event Log

I have 2 Windows services installed. They both have the same configuration for enterprise logging. 1 Windows Service successfully logs to the Application Event Log while the other one does not. The one that does successfully post to the log I see errors being generated. For the service that does not log successfully we see Service St...

Cucumber - How configure it to use "--format pretty" as default?

I'm starting learning rails, and having some troubles on configure cucumber to run my bdd tests. What I want is run cucumber features and this translate to cucumber features --format pretty I tried to do this editing the config/cucumber.yml file (on a rails project). Edited the line: default: <%= std_opts %> features r...

Multiple values for a single config key

I'm trying to use ConfigurationManager.AppSettings.GetValues() to retrieve multiple configuration values for a single key, but I'm always receiving an array of only the last value. My appsettings.config looks like <add key="mykey" value="A"/> <add key="mykey" value="B"/> <add key="mykey" value="C"/> and I'm trying to access with Conf...