Build Automation on CW 10.1.8

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build Automation on CW 10.1.8

ソリューションへジャンプ
2,321件の閲覧回数
kt3072
Contributor I

Hi,

 

I'm trying to automate the build of projects under Codewarrior 10.1.8 (StarCore). I have not been able to find a tcl build command yet, so I'm wondering how I could build a project by any other means or even with TCL, maybe I'm missing something.

 

The whole process has to be automated for a nightly build system, anything that requires interaction with a GUI is not usable for this task.

 

My other option seems to be setting up my own Makefiles, especially since the ones generated don't perform a clean properly when called from cmd.exe (I'm stuck with windows (commandline is too long)).

 

If you have any ideas on how to setup such a system or have at least answers to my questions above, I would be glad to receive your input.

 

Regards,

 

Killian

ラベル(1)
0 件の賞賛
返信
1 解決策
1,437件の閲覧回数
CrasyCat
Specialist III

Hello

 

As far as I know you should be able to use the option -config "MyConfig" to build the configuration MyConfig.

 

Here is the help from the ecd binary:

 

Eclipse Command Line Driver.Usage: -command optionsavailable commands:        -help        -generateMakefiles [-verbose] [-project path [-config name | -allConfigs]]        -build [-verbose] [-cleanAll] [-project path [-config name | -allConfigs] -cleanBuild]

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,437件の閲覧回数
CrasyCat
Specialist III

Hello

 

There is a tool called ecd that can be used to perform automated build.

 

Please look at {Install}\SC\Help\PDF\Freescale Eclipse Extensions Guide.pdf, chapter Debugger section Automated Builds for more information.

 

CrasyCat

0 件の賞賛
返信
1,437件の閲覧回数
kt3072
Contributor I

This is great! It does pretty much what I want. Do you see any chance of setting the Build Configuration before the call to ecd (other than from the IDE) or as command line parameter?

 

Regards,

 

Killian

0 件の賞賛
返信
1,438件の閲覧回数
CrasyCat
Specialist III

Hello

 

As far as I know you should be able to use the option -config "MyConfig" to build the configuration MyConfig.

 

Here is the help from the ecd binary:

 

Eclipse Command Line Driver.Usage: -command optionsavailable commands:        -help        -generateMakefiles [-verbose] [-project path [-config name | -allConfigs]]        -build [-verbose] [-cleanAll] [-project path [-config name | -allConfigs] -cleanBuild]

 

CrasyCat

0 件の賞賛
返信
1,437件の閲覧回数
kt3072
Contributor I

This is perfect. Thanks a lot for your help.

 

Regards,

 

Killian

0 件の賞賛
返信