Board index » cppbuilder » RADStudio project file annoyances.
Roddy Pratt
![]() CBuilder Developer |
RADStudio project file annoyances.2007-12-04 07:02:45 PM cppbuilder27 I've been trying to sanitize and upgrade some of my projects to RADStudio 2007 and some upgraded third party component versions, and here are some of the issues that I keep running into, relating to the project files (.cbproj) :- 1: There's no way of editing a project file from the IDE. You have to use notepad. 2: File formatting - newlines aren't inserted in sensible places, so using notepad is painful. 3: Spontaneous reordering of tags. Whenever I try diffing two project files, they seem to have had random sections reordered for no reason. I'm not sure if this is related to RADStudio 'updates' or something more insidious 4: History lists. Again, these make diffing almost impossible. They shouldn't be stored in the project file itself. This is QC'd already 5: Duplicate entries in PackageLibs/AllPackageLibs tags. I had one project file that had literally hundreds of copies of the same ten packages listed here. Typically, they seem to grow over time for no obvious reason. Again this makes 'diff' useless! 6: You can't edit the "PackageLibs" and "AllPackageLibs" sections of the project files from within the IDE. If you replace a package with another (fred2006.lib vx fred2007.lib) you'll need to manually edit the project file to sort this. 7: Absolute vs. relative paths. Sometimes I end up with absolute path references to the project directory (or it's subdirectories) in project files. This makes moving the project to a different directory difficult. Items 3,5,6 and 7 happen often, but I haven't got repeatable QC cases for them yet. - Roddy |