Delphi 5
Have existing (legacy-don't-blame-me) app with 100+ packages.

Want to create a new version.
-Change output paths, search paths, compiler options.
-Change location of source files

Big job!

1. Any tools out there which will help? Simple search and replace in
DOF/CFG/DPK files seems to be perilous.

2. Any other approach, apart from doing each package by hand?

PS: We use all approaches: compile within IDE, compile using batch file,
final compile with VisualBuildPro. So all files (DOF/CFG/DPK) need to be
updated.

===

To avoid this in future, all paths should be relative. We can aim for
this, but in practice it becomes difficult. Since Delphi wants to include
full path information automagically, it's a constant battle to check and
see if Delphi has "de-relatived" parts of the project.

Another solution might be to leave the search and output paths blank for
all packages, then rely on the global setting under the tools menu.

...but then we'd want a fast way to switch those settings (I assume they
are stored in the registry).

===

Just wondered what other people were doing to cope with this kind of issue...

Many thanks in advance.


Reply via email to