TwineCompile breaks XE4 command-line after installing for RAD Studio 13

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
tzvif
Posts: 4
Joined: Tue Feb 01, 2022 5:05 am

TwineCompile breaks XE4 command-line after installing for RAD Studio 13

Post by tzvif »

After installing TwineCompile for RAD Studio 13, command-line builds for XE4 projects fail.
Scenario:
After installing TwineCompile for XE4 → command-line build works fine.
After installing TwineCompile for RAD 11 (via GetIt) → still works.
After installing TwineCompile for RAD 13 (via GetIt) → command-line build of XE4 projects fails with the following error:

Code: Select all

jtmake C:\Source\Client\Client.cbproj
TwineCompile Project Build Tool 5.10
Copyright JomiTech 2025. All Rights Reserved.

Building c:\Source\Client\Client.cbproj using default platform, default configuration
Making Client.cbproj...
Making...
Project builder exception. (A property cannot be set to null)
Notes:
  • The project still compiles fine when building from the XE4 IDE.
  • Backing up jtmake.exe from the XE4 TwineCompile installation and restoring it after installing TwineCompile for RAD Studio 13 fixes XE4 command-line builds, but likely breaks builds of newer projects versions.
It seems that the RAD Studio 13 TwineCompile installation overwrites or modifies shared TwineCompile components, causing incompatibility with older versions when building from the command line.
Could you please take a look and suggest a fix or workaround?
Thank you.
jomitech
Site Admin
Posts: 2205
Joined: Wed Oct 08, 2008 12:23 am

Re: TwineCompile breaks XE4 command-line after installing for RAD Studio 13

Post by jomitech »

Thanks for reporting this. Can you use a backup copy of jtmake, but just rename it? So for XE4 use it jtmake-xe4.exe, and for anything newer jtmake.exe?
Jon
tzvif
Posts: 4
Joined: Tue Feb 01, 2022 5:05 am

Re: TwineCompile breaks XE4 command-line after installing for RAD Studio 13

Post by tzvif »

That would be a problem, as all my build tools are using jtmake.exe via windows path.
Post Reply