Reputation: 3460
I am looking for a list of all file types that can be associated to a Delphi project (all versions of Delphi), more specifically all file types that should be under source control.
This site doesn't mention Delphi 2009 so I'm not sure if there may be new file types.
Is there maybe such a list directly from Codegear?
Putting all the answers together, here is a list:
Files -> Source Control
I am not sure about these: Should they be included?
Maybe there is anything still missing?
Upvotes: 20
Views: 11026
Reputation: 68033
The ".local" files probably SHOULD be included in version control - at least with Rad Studio 2010 (I haven't checked more recent versions).
They are XML files that include (among other cruft) the visual ordering of files in the project within each folder:-
<ProjectSortOrder AutoSort="0" SortType="0">
<File Path="..\PPP\base.optset"/>
<File Path="..\HPPP\debug.optset"/>
<VirtualFolder ID="{BC2DCF60-71AB-4F00-AFCB-CC7FA5414FB5}"/>
<VirtualFolder ID="{DFA8BFE5-37E7-45F6-B964-18198CB18581}"/>
<File Path="..\PPP\Xyzzy.cpp"/>
If you delete the .local files, the files in the project are shown in alphabetical order rather than the order you had dragged them into. This is a handy trick to quickly get your files back into alphabetical order!
Upvotes: 0
Reputation: 5624
Here's a guide for setting up Subversion with Delphi. He uses this "Global Ignore Patterns" file filter for subversion:
I use
*.dcu *.~* dcu temp *.exe *.zip *.bkm *.ddp *.cfg *.dof *.dsk *.ini *.hlp *.gid
*.bmp *.png *.gif ~* *.log bin debug release *.map *.chm *.bkf Thumbs.db *.mdb
.obj *.elf *.stat *.ddp *.bpl *.map *.GID *.hlp *.opt *.dll *.raw *.BIN *.obj
*.pdb *.scc Debug Release *.xml obj *.~* *.backup *.INI *.ArmLog *.KeyLog
*.NanoLog *.Stats *.PreARM *.old *.drc *.*~ *.doc *.pdf *.bmp *.jpg *.MRW *.NEF
*.ORF *.psd *.X3F __history *.local *.identcache *.bak Thumbs.db *.ldb *.dex
*.rar DllDcu *.lck CVS cvs *.txt *.TXT *.jdbg *.HLP *.KWF *.xls *.cnt *.dsm
*.dti *.tmp *.lnk *.cbk *.mes
Note that the patterns are case sensitive.
Upvotes: 4
Reputation: 646
Just a couple of extra ones that should not be included (at least I don't.):
Ones that should:
Others that depend on what your storing:
Upvotes: 5
Reputation: 1197
From this link a .local file is for
Delphi/CB 2005 onwards: User-specific project options. When using Starteam projects it will contain overrides to settings from the .bdsproj file.
Upvotes: 1
Reputation: 39261
Prior to Prism:
From my limited work with Prism it seems
Upvotes: 6