configuration

Configuring Multiple Build Configurations from Shared VCS Root in TeamCity

I have a single SVN repository containing multiple projects, e.g. /molindo/trunk/foo /molindo/trunk/bar /molindo/trunk/baz Currently, I've configured 3 projects, all using the shared VCS root /molindo. By default, every commit would trigger build of all 3 projects (although trunk/foo doesn't care about changes in trunk/bar or trunk...

Configuration Validation

I'm implementing a somewhat complex configuration section for a system monitoring project: <monitoring> <components> <component name="Remote Server" statusProviderType="ClientEndpoint" statusProviderName="endpoint1" /> </components> </montioring> <system.serviceModel> <client> <endpoint name=...

Visual Studio 2008 Editor Configuration - Caret & Current Line

I am trying to do a couple of things to customize the Visual Studio 2008 Editor Configuration. I want to do this via some setting or macro that I can write myself. I can't install third-party add-ins such as resharper to achieve these goals in the environment where I work. Here is what I need to do: I want to change the color of the ca...

ConfigurationSection - Custom Section is undefined - Why?

Hi, I'm trying to build a custom configuration and with some reason, I can't get it work. I'll appreciate if anyone can see where my problem is. Here is the code: public class PointServices : ConfigurationSection { public static PointServices Get() { var t = ConfigurationManager.GetSection("point.Se...

How do I access a text file from within my war

How do I know what file reference to use to get a file from my WAR. The structure of the WAR is: WAR src - model - web build   WebContent     META-INF     WEB-INF       LIB The JSPs are under WebContent, I have put the config.txt file under the WebContent folder and tried to get to it with Buffered...

Sections must only appear once per config file! why???

hi, I'm getting the following exeption: "Sections must only appear once per config file. See the help topic for exceptions. " my configuration file look like this: <configSections> <sectionGroup name="point.System"> <section name="singleInstanceCache" type="xyz.Point.System.Configuration.SingleInstanceCache, Point.System" ...

Change font size in Emacs cli

How can i change Emac's default font size in command-line, not the X version of emacs? ...

How to force eclipse to use a specified interface language?

My new work laptop has my native (Polish) locale set. However, I'm simply not able to use eclipse in any language other than English. I'm so used to English names I don't understand the translations. How do I force Eclipse to start with other language than the OS uses? ...

Maven : Is it possible to override the configuration of a plugin already defined for a profile in a parent POM

In a POM parent file of my project, I have such a profile defining some configurations useful for this project (so that I can't get rid of this parent POM) : <profile> <id>wls7</id> ... <build> <plugins> <!-- use java 1.4 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifact...

Best way to configure a run script?

I am tasked with supportting a run script that uses environment variables to determine which tools to use, which directories to grab source files from, etc. This does not seem like the best technique to me. It seems like it would be much better to have configuration files that set all these things and have the run script parse this inste...

Installing PHP & Apache in Vista

Hi All, I'm new to PHP programming. I want to install PHP & Apache in my Vista machine. Could you guide me to get those installed? I would really appreciate, if you explain step by step. ...

Recurring configurations of a certain class: better to create subclasses or a factory?

Short summary: When you want to predefine certain instantiations of a class, is it better to create subclasses or a factory? Problem Context I have a view helper class MyWebserviceUrl that has a bunch of properties. It's purpose is to generate an url. I would like to be able to have preconfigured instances of this class, so that I do...

Configure MySQL to work with Django

Just installed Django (with easy_install) and created a project, but can't get mysql to work. python manage.py syncdb throws this error: ..... File "/Library/Python/2.6/site-packages/Django-1.1.1-py2.6.egg/django/db/backends/mysql/base.py", line 13, in <module> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)...

How to integrate drupal this way?

I don't want to use it to construct the whole site, instead I want to use it just to manage part of the posts on the site. Is drupal fit for this kind of job? EDIT If the answer is yes,can you provide some guidance here? I just want to use it to edit/manage the posts,but show it with my own code. ...

Grails Integration with another Spring app - dataSource being overloaded.

Hi, I'm currently in the process of building a CRUD tool for an existing Spring-based application. The application is being included in the Grails app as a JAR library which seems to work fine. To make use of the library's own spring context, I used to load it through: def ctx = new ClassPathXmlApplicationContext( 'classpath:/applicat...

"Unrecognized configuration section connectionStrings."

I had been working on a project in VS2005 that utilized a local connection to an Access DB. In the past week, I installed .NET framework 3.5 for use w/ a different project as well as VS6. I went back to my VS2005 application and suddenly there are big issues: In the designer for any class utilizing my OLEDB connection showed this: Un...

How can I use an XML file to select dyanmic templates for an ASP.net Repeater?

I am developing an application that has a repeater that will use dynamic templates for each row based on the underlying DataItem (in this case a product). What I would like to do is have some sort of XML file that will store which templates are to be used with which templates, and then use a default template if there is not one specifie...

Configuration system failed to initialize in .NET exe

I have an .NET winforms application(A). I am calling another .NET exe(B) file from the winforms application. When executes, it throws the following error. I haven't kept any configuration file for the second exe file(B). "Configuration system failed to initialize" Please help me. Thanks in Advance ...

Where does this permanent SQLExpress connectionstring come from (not web.config)?

Today I noticed that in my ConfigurationManager.ConnectionStrings the very first instance is .\SQLEXPRESS. I remembered explicitly removing this entry from my web.config so I checked again, but didn't find a thing. Then I did a search over my entire solution, not a single match. Where the hell is this connection string coming from and ho...

Castle Windsor: how to know that the container has been initialized or configured ?

Hello. I'm using Castle Windsor with a configuration from my App.config file. In the code I use : IWindsorContainer container = new WindsorContainer(new XmlInterpreter()); to get the container. But for some configurations of my application I don't want to use CastleWindsor (for some migration issues...) and therefore, I don't wan...