AnsweredAssumed Answered

build project from command line

Question asked by Sven Savic on Oct 9, 2017
Latest reply on Oct 19, 2017 by Sven Savic

I have problem building application from command line in windows. It seems that it only works if project was left open in the workspace. As I have multiple projects in one Workspace, I do close projects on which I dont work at the moment. So when I run the script for automated build it fails for closed project.

 

 

"C:\nxp\MCUXpressoIDE_10.0.0_344\ide\mcuxpressoidec.exe" --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild MyProject1/Debug -data "C:\Projects\Xpresso"

 

Error message that I get for closed projects is:

 

Project: MyProject1 doesn't appear to be a CDT project. Skipping...
WARNING: No Config matched "MyProject1/Debug". Skipping...

 

Works fine if I leave project opened before closing the IDE.

 

Is there a workaround for that "feature" ?

Outcomes