Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 605

Summary: Please allow TeeRecompile to run unattended
Product: VCL TeeChart Reporter: h.hasenack <hans>
Component: InstallAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david, hans, sandra
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE5
Attachments: Beta version with command line support for automated builds

Description h.hasenack 2014-02-26 06:43:18 EST
Is I have some of my own patches in the Teechart sources and use FMX as well as VCL tcharts, I frequently require tchart to be rebuilt.
TeeRecompile manages to generate the sources for VCL and FMX subforlders from the mainj SOurces folder, this cannot be done any other way.

I run my build scripts from finalbuilder, so what I need is 

TeeRecompile.exe /unattended /buildall

or something likewise. Now I have to do this by hand, for only the teechart library (we use many different libs) each time I want to run my build script.

Ideally, setting the parameters would also be available on the command line, but if this is managed through the registry then this is fine.
Comment 1 h.hasenack 2014-02-26 06:45:14 EST
This has already been discussed several times:

http://www.teechart.net/support/viewtopic.php?f=3&t=14161

http://209.68.2.74/stee/support/viewtopic.php?f=3&t=12928

But it seems no action as been taken on it (yet).

Kind regards,

Hans Hasenack
Comment 2 david berneda 2014-02-27 05:36:05 EST
This has been implemented, attached a new TeeRecompile.exe but I think it'll need the latest TeeChart source code to work properly (I can send it to you by email).

Usage examples:  

TeeRecompile.exe -silent -build:7,19 -debug -install -skip:vcl,fmx,tree,qr,maker

start /wait TeeRecompile.exe -silent -build:all -sources:”c:\mysources”

TeeRecompile.exe /silent /build:Lazarus,16,18 /log:”c:\logs\teelog.txt”

Notes: 

All parameters are optional except “-build:”

-build: XX,YY is a comma separated list with IDE numbers (7=D7, 19 = XE5, etc)

-silent Means it will close when finished, returning 0 or an error code on exit.

-debug Will compile everything using $D+ debug info ($D2 in XE5 and up)

-noinstall After compilation, packages will NOT be copied and installed.

-skip Do not compile packages for specified components and/or platforms:

 -skip:vcl,fmx,tree,qr,maker,win32,win64,osx,iosdevice,iossimulator,android

-sources:”path” Indicates the root folder containing TeeChart source code.

-log:”filename” Indicates the filename to save the process log.
Comment 3 david berneda 2014-02-27 05:37:13 EST
Created attachment 103 [details]
Beta version with command line support for automated builds