I am trying to turn our IDE project into a command line build using Nant. I am getting stuck because the makefile is not being generated. The .project, .cproject, and .ccsproject files are in source control and downloaded with the source code before calling the builder. Here is the relevant Nant output:
[exec] Starting 'c:\ti\ccsv5\eclipse\eclipsec (-nosplash -data "C:\tidcs\AV-900 Upgrade\DC Controller\TestBuild" -application com.ti.ccstudio.apps.projectBuild -ccs.autoImport -ccs.projects "M3 ARM" -ccs.configuration Flash)' in 'C:\tidcs\AV-900 Upgrade\DC Controller\TestBuild'
[exec]
[exec] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[exec] CCS headless build starting... [Wed Jan 23 16:58:03 PST 2013]
[exec] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[exec]
[exec] ================================================================================
[exec] Pre processing...
[exec]
[exec]
[exec] ================================================================================
[exec] Building...
[exec]
[exec]
[exec] **** Build of configuration Flash for project M3 ARM ****
[exec]
[exec] C:\ti\ccsv5\utils\bin\gmake -k all
[exec] gmake: *** No rule to make target `all'.
[exec]
[exec] **** Build Finished ****
[exec]
[exec]
[exec] ================================================================================
[exec] CCS headless build complete!
[exec] C:\tidcs\AV-900 Upgrade\DC Controller\TestBuild\AV900.build(195,4):
[exec] External Program Failed: c:\ti\ccsv5\eclipse\eclipsec (return code was 1)
It says it can't find target 'all', but the directory shows that makefile and the associated *.mk files were created with file size zero (empty). The ccsObjs.opt and ccsSrcs.opt file seem to be ok. When I compile from the IDE workspace using the same project file set, it generates the makefile. The build workspace is separate and created on the fly with autoImport used to add the project files to it. The auto generate makefiles options is set in the project file according to the IDE.
Any ideas on what the problem might be? This is the first time I've tried to set up command line script compilation.
Thank you