AnyDAC
ContentsIndexHome
PreviousUpNext
Compile (tool name).bat

All about automatic recompiling AnyDAC packages.

Group
Links
General

The set of compile<tool name>.bat files allows you to automatically rebuild the AnyDAC Win32 packages. That may be required, when you have:

  • updated AnyDAC source files, received from the AnyDAC team;
  • changed AnyDAC source files;
  • installed IDE Service Pack, which breaks package compatibility;
  • installed/removed/updated SynEdit.

 

Supported Tools
Tool 
BAT file 
Delphi 5 
compileD5.bat 
C++ Builder 5 
compileBCB5.bat 
Delphi 6 
compileD6.bat 
C++ Builder 6 
compileBCB6.bat 
Delphi 7 
compileD7.bat 
Delphi 2005 
compileD2005.bat 
Delphi 2006 
compileD2006.bat 
Delphi / C++ Builder 2007 
compileD2007.bat 
Delphi / C++ Builder 2009 
compileD2009.bat 
Delphi / C++ Builder 2010 
compileD2010.bat 
Delphi / C++ Builder XE 
compileDXE.bat 
Delphi / C++ Builder XE2 
compileDXE2.bat 
Delphi / C++ Builder XE3 
compileDXE3.bat 

 

Note: AnyDAC does not support command line compiling for FPC or other than Win32 platforms. You should do that from the IDE. 

Preconditions
  • Close the running IDE;
  • Close any running AnyDAC applications built with run time packages;
  • If you have SynEdit installed/updated, then check:
    • SynEdit design time package must be installed into IDE;
    • path to the SynEdit source files must be included into Library Search Path;
    • file Bin\_noSynedit.txt does not exists;

 

Performed Actions

Each of batch files performs the following actions:

  • Detect current environment and generate configuration files:
    • Bin\_COMPILEENV.BAT;
    • Source\uADEnv.inc;
  • Recompile all packages;
  • Move DCU, OBJ to Lib\<tool name>;
  • Move BPL, DCP to Package and DCP Output Path's, specified in IDE.

Note: compile<tool name>.bat does not install AnyDAC design time packages (AnyDAC_Dcl_<tool name>) into the IDE. If that is required, you should do that manually.

What do you think about this topic? Send feedback!