Archive for the ‘English’ Category

Lazy Delphi Builder is out

April 12th, 2011 Comments off

Lazy Delphi Builder Grunge Stamp logo

Lazy Delphi Builder is out.

Funny stuff: everyone, who seen poster from the previous post asked me “why the gallows?”. Indeed it was the crane pulling delphi work up.

Few words on project. LazyDB was designed as instrument to simplify project/components compilation. It scans folders, find all source files. Asks you what do you want to compile. Let you specify build settings and output folders. It will compile everything, and even copy all resource files to one folder. Then it will save your settings to disk and allow to run them later, even from console. It can replace path parts with variables. It can use enviroinment variables: system, Delphi, internal. It can override variable values. All settings are stored in text files (ini format).

During last week, I was working on new version, spending several hours per day. I polished console version. I added “fast compile just for test” mode. And I implemented variable value define for console version. Got no time to work on documentation, although.


  1. Console version: All errors should be handled properly now. In case of error in proram, %ERRORLEVEL% will be set to 1. Improved error description.
  2. Added build modes. New build mode: TestBuild. It allows to quickly run build process with all output files created in Temporary directory (%TEMP%). These files will be deleted on Lazy Delphi Builder exit. This mode allows to ensure, that current config can be compiled. For console version there is new cmd switch /tb. For GUI version there is a button in Build settings dialog. Settings for TestBuild mode will not be saved in profile.
  3. Added verification of command line switches on program start. If LazyDB will not recognize any param it will show error message (console version will stop). But you can bypass that check by specifying /by cmd parameter.
  4. Now paths shortening (replace absolute paths with relative, and long file/folder names with short) is enabled only if Delphi version prior to 2005 is used. Also, added cmd param /sp – (Short Paths) that allows to enable/disable use of short paths for any Delphi version.
  5. Fixed: don’t work buttons in Build settings dialog.
  6. Fixed: Scan New Folder.. error in packages tree for virtual folders “Resources”, “Sources”.
  7. Fixed: hanging when open “Browse for Folder” dialog.
  8. Packages tree: show Shell Context menu for any file or folder.
  9. Packages tree: fixed errors in popup menu for items in Recycle Bin.
  10. For /verbose and /debug modes, full list of specified command line parameters (and values) is displayed now. Added to ease debugging when program run from scripts.
  11. Console version: updated /help command output.
  12. Console version: Allow define/redefine environment options from command line using /ev <EnvVarName=Value[;EnvVar2=Valu2]> switch. It can override variables stored in Lazy Profile, Delphi environment variables, and also system environment variables in paths. Works only for variables, that were defined in format $(EnvVar).
  • Still not fixed: incorrect .dproj files parsing. Waiting for a fix from JCL team.


  • Simplify workflow
  • Documentation writing

Lazy Delphi Builder (stable)

April 4th, 2011 Comments off

Рекламный постер Lazy Delphi Builder

Lazy Delphi Builder arrived.


  1. Added Delphi XE support.
  2. Fixed bug that allowed randomly to get compilation error without any details in error log.
  3. More debug messages in /debug mode.
  4. Check that dcc32.exe is functional (not trial) before compile. In earlier versions, Lazy Delphi Builder did nothing, displaying text: Compiled success.
  5. Build settings dialog completely reworked. Now with wizard. Before running build process it displays short summary with full description of jobs to be done (which folders will be used, what will be compiled, what not).
  6. Fixed: “Ignore IDE Paths” value was not saved.
  7. Files tree: Scan new folder action now changes $(variable) to actual folder.
  8. Debug output text is displayed in different color (gray in GUI, cyan in console).
  9. Additional log in main window is now hidden.
  10. Changed icon and logo.
  11. Added option to ignore settings from .dproj, .bdsproj, .dof files. (.cfg were ignored in all versions).
  • Known issue: Lazy Delphi Builder incorrectly parses .dproj files. Settings for every configuration but the Base are ignored.

Development plan

  • work on manual
  • allow rapid build to temporary folder (to check, that compilation will be successful)
  • maybe rework algorythm to compile first in temporary folder, and only then copy to destionation Output folders.
  • increase amount of checks executed before build
  • maybe allow to generate .bat that will compile everything
  • command line parameters check
  • test that console version returns error codes

Need help

  • In testing.
  • Writing documentation.
  • Need information on how to add support of CBuilder. Output and input files descriptions. How do components installed to CBuilder. What’s the difference from Delphi.