I want to create an automated build for creating a code warrior 10.4 workspace, which includes the .metadata file inside. Is there a IDE out there for it? I have been searching have not been able to find one unless it is labeled as something else that I don't understand.
Thanks,
Ross
已解决! 转到解答。
Hi Ross,
The .metadata folder is automatically created when you open the workspace folder with Eclipse. So all what you need is to have an empty folder, launch Eclipse with it and it will add the .metadata.
See as well:
https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/
https://mcuoneclipse.com/2013/10/26/eclipse-command-line-code-generation-with-processor-expert/
I hope this helps,
Erich
Erich,
Is there a way to import a Project file via command line argument? Example I want to import a project.wsd file and then be able to build the entire workspace via command line. Thank you so much for answering all my questions! You have been beyond helpful.
Thanks,
Ross
Erich,
Thank you very much. The command line "ecd -build -data (desired workspace path)" placed the .metadata folder in my desired workspace path. This provided me with the .plugins folder, which inside included only 4 separate folders. (org.eclipse.cdt.core, org.eclipse.cdt.make.core) etc. When I create a workspace from the Codewarrior program itself the workspace contains more .plugins folders, includes a folder called jythoncache, and files (.lock, .log, and version.ini). Is there a commandline interface to replicate that workspace?
Also how do you create a project from the commandline and have it combined with the workspace? Thank you so much helping me learn this as I new to all of this!
Thanks,
Ross
Hi Ross,
why do you want to create all the things in the .metadata? You should not worry about it, it is like a cache and data storage for Eclipse, but not used/needed directly by a user.
There is no way to create a new project afaik. You only can import an existing one.
I hope this helps,
Erich
Hi Ross,
The .metadata folder is automatically created when you open the workspace folder with Eclipse. So all what you need is to have an empty folder, launch Eclipse with it and it will add the .metadata.
See as well:
https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/
https://mcuoneclipse.com/2013/10/26/eclipse-command-line-code-generation-with-processor-expert/
I hope this helps,
Erich