Forum Post: RE: Two people exchanging projects with different base directories

  • Thread starter Thread starter andrew.may
  • Start date Start date
Status
Not open for further replies.
A

andrew.may

Guest
The entries in the .dbconnection file are just references into the .metadata/xxxxxx/databaseConnection.xml file (via the "identifier" field). I'm guessing that since the metadata access is probably via Java code, the ID field is case sensitive. The identifier field is not maintainable using the UI (renaming the connection does not amend the ID). The only way to change the identifier seems to be to close eclipse & amend the metadata using a text editor. This implies that .dbconnection files are only really suitable for sharing between developers if you've got some way of ensuring that your databaseConnection.xml files are identical. In our team, we've chosen to standardise our metadata to make project sharing simple. If standardising the metadata isn't suitable then you may be better off not sharing the .dbconnection file & instead making the required DB connections be listed in project documentation & configured by each dev when they import a project into their workspace.

Continue reading...
 
Status
Not open for further replies.
Back
Top