I have an XCode project (A) referencing another project (B). By default (as far as I understand it) XCode will implicitly build the configuration for the B dependency that matches the configuration of the A's target (e.g., "Debug"). But what if I want, say, A to build as "Debug" and the B to build as "Release"? How would I go about speci...
I have a GlassFish/j2ee application, and I develop on one box, and production is a remote box.
I have a function that makes files, and I need the files' location to be different based on my dev box or production.
What is an automatic way to do the switching so I do not have to edit the source file based on where it is being deployed?
...
Can someone tell me how to configure hibernate (Annotations) with Eclipse?
...
Hi All,
We are creating a shared libraries which is basically wrapper over the Microsoft Application Blocks (Caching, Logging etc).
I am trying to make this library available to multiple ASP.Net application.
This library is deployed in a shared foler.
I have created a custom Container which will be used by all ASP.net application to...
I am trying to Configure my IIS programmatically following the steps on this
msdn guide
the only difference i made was switching to winforms instead of console..
and variables instead of function parameters.
however the code throws an exception when i try to set the singleproperty value...
here is my code..
string metabasePath = "...
Hello there,
I am using Fluent NHibernate with an external 'hibernate.cfg.xml' file.
Following is the configuration code where I am getting error:
var configuration = new Configuration();
configuration.Configure();
_sessionFactory = Fluently.Configure(configuration)
.Mappings(m => m.FluentMappings...
Hi. i read in oracle docs sentense like this: "Each property maps to an element attribute in the orion-application.xml descriptor." These properties are from deployment plan and i need to know what is the name of the element in orion-application.xml wich is mapped to webSiteBinding property (from deployment plan).
...
How do I use Notepad++ (or any other editor besides vim) with msysgit?
I tried all of the following to no avail:
git config --global core.editor C:\Program Files\Notepad++\notepad++.exe
git config --global core.editor "C:\Program Files\Notepad++\notepad++.exe"
git config --global core.editor C:/Program Files/Notepad++/notepad++.exe
...
Having browsed the net for a while, I've found that searching for a list of all the params available to add in the ./configure directive set when you make (compile) PHP is very hard to find since it will get you a lot of answers on how to use ini_set() and how to manipulate the php.ini file.
What I'm after - and it's probably available ...
Hi everybody. First i'd like to apologize for my english. I'm from Argentina, and i'm not a good english speaker.
I'm trying to improve performance in a torrent tracker site, here in Argentina (http://www.trackerx.com.ar). But i've been running with some troubles. It has started to work real slow, and hung up from time to time.
I want ...
The company I work for has attempted to maintain configuration data for our application across multiple environments, but syncing that data has always been problematic and we've never come up with a good solution.
To help clarify, we (developers or business) might change some configuration using our admin interface on the Staging enviro...
I'm thinking of setting up a simple web application that sends the user a confirmation email when they first register. If I build this on the Amazon Web Service infrastructure, how can I send email from another instance? I would probably have one instance that is just for the application and another instance for the email server.
My...
I've got several sites, each with a distinct settings file -- and with distinct names. There's a floral theme to all the variant settings. We have to keep the sites separate.
C:\Proj-Carnation> echo %DJANGO_SETTINGS_MODULE%
path.to.settings_carnation_win32
We have many test procedures which don't use the built-in django-admin.py tes...
I'm working on a site that can be displayed to the user in several different ways, kind of like themes, but more functionality related. So basically, the page you are viewing is in a certain state (based on the user, country etc).
The rendering of the controls on a page will vary a bit depending on the current state, and I want this to ...
Many frameworks keep their configuration files in a language different from the rest of the program. Eg, Appengine keeps the configuration in yaml format. to compare, DJango settings.py is a python module. There are many disadvantages I can see with this.
If its in same language as rest of the program, I can
Do interesting things in th...
So Wendy's advertises their sandwich as having 256 combinations - meaning there are 8 ingredients you can either have to not have (although I wonder why they would count the combination where you include nothing as valid, but I digress).
A generalized approach allows you to multiply the various states of each selection together, which a...
Hello,
I have a .net solution having a reference hierarchy like this
MyWinApp->ServerCore->DataAccess
where the last two are class libraries and myWinApp is a windows app.
Now, each time I want to run this project on different servers I need to rebuild the project since I couldn't manage to separate the configuration file(app.config)...
How do I get jetty to turn down the level of logging from the default of INFO?
I'm actually trying to run the default Apache Solr installation, which ships with jetty, but dumps a lot of information to the console, and I'd only like to see warnings.
I don't want to go hack up the code, I just would like to be able to drop a config file...
I have designed a custom section handler before but I'm faced with a problem that I can not seem to think up. I have a configuration section like this:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<configSections>
<section name="providers" requirePermission="false" type="MyProject.Configuration...
Is there a build-in way in C# to work with simple config files which ate not XML? Or maybe there are popular free libraries?
I'm making a simple tool for non-programmers to use, and I don't want to complicate it by adding UI for configuration editing. I just want users (all comfortable enough with computers) to just be able to open conf...