Build Automation
Build Automation
Need information related to Build Automation for Team Developer4.2. Please let me know what are possible approaches to implement automated Build Process. Also please let me know if there are any tools that helps in implementing the same.
-
- Founder/Site Admin
- Posts: 3512
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: Build Automation
Automated builds are only possible by starting TD with these command line options:
-b
-m
See
https://wiki.tdcommunity.net/index.php/Compile_Build
You can create batch files to compile/build multiple executables or dynalibs like this example:
Here TD 61 (=cbi61.exe) is used to build. Replace this by the needed TD version.
(For TD42 you will have cbi42.exe)
To be more in control, you can also create your own automatic builder application.
From this application you can execute a build using SalLoadAppAndWait.
Before build you can remove any .err file present in the folder and after building check if a .err file was created which indicates an error occurred during build.
Another advantage creating your own builder application: using CDK you can automatically change build version settings before the actual build is done.
-b
-m
See
https://wiki.tdcommunity.net/index.php/Compile_Build
You can create batch files to compile/build multiple executables or dynalibs like this example:
Code: Select all
cbi61.exe -b main.apt main.exe
cbi61.exe -b producteditor.apt producteditor.exe
cbi61.exe -m customer.apt customer.apd
cbi61.exe -m product.apt product.apd
(For TD42 you will have cbi42.exe)
To be more in control, you can also create your own automatic builder application.
From this application you can execute a build using SalLoadAppAndWait.
Before build you can remove any .err file present in the folder and after building check if a .err file was created which indicates an error occurred during build.
Another advantage creating your own builder application: using CDK you can automatically change build version settings before the actual build is done.
Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Who is online
Users browsing this forum: [Ccbot] and 1 guest