Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » svn question(maintaining different configuration profiles)
svn question [message #987474] Mon, 26 November 2012 13:39
sneakyimp Mising name is currently offline sneakyimp Mising name
Messages: 33
Registered: December 2009
Member
I'm working on a PHP project using Eclipse with Subclipse installed. In this project, the codebase has a configuration.php file which is currently checked into the webroot in our repository. The problem is that each developer needs a different local version of this file, we need one more version for the development server (dev.example.com) and still another for the production site (www.example.com).

I have suggested we remove configuration.php from version control and instead check in configuration-dev.php and configuration-production.php so that we will have the necessary credentials under version control and then we each add an ignore rule for configure.php and create our own local configuration.php as needed.

Has anyone dealt with this situation before? Can you recommend a good approach for dealing with this situation?
Previous Topic:AST View for PHP
Next Topic:Eclipse and multiple Navigator
Goto Forum:
  


Current Time: Fri Aug 29 16:39:26 EDT 2014

Powered by FUDForum. Page generated in 0.01490 seconds