HTML Production using command line

Simple use case

<CapellaInstallationPath>/capellac.exe -nosplash
-application org.polarsys.capella.core.commandline.core
-appid org.polarsys.kitalpha.doc.gen.business.capella.commandline
-data <workspacePath>
-filepath /EOLE_AF/EOLE_AF.aird
-outputfolder /DocProject/HTML
-forceoutputfoldercreation

This command will generate HTML report from the EOLE-AF aird file specified to the output folder HTML present into Doc project.

Complex use cases

Import Capella project and generate inside it

<CapellaInstallationPath>/capellac.exe -nosplash
-application org.polarsys.capella.core.commandline.core
-appid org.polarsys.kitalpha.doc.gen.business.capella.commandline
-data <targetWorkspacePath>
-import <absolutePath>/EOLE_AF
-input /EOLE_AF/EOLE_AF.aird
-outputfolder /EOLE_AF/HTML
-logfile D:/CommandLineLog/log.html

This command will import the EOLE_AF project from <absolutePath> workspace into <targetWorkspacePath> workspace before generating the HTML report inside it.

Import Capella project and generate inside a new project

<CapellaInstallationPath>/capellac.exe -nosplash
-application org.polarsys.capella.core.commandline.core
-appid org.polarsys.kitalpha.doc.gen.business.capella.commandline
-data <targetWorkspacePath>
-import <absolutePath>/EOLE_AF
-input /EOLE_AF/EOLE_AF.aird
-outputfolder /DocProject/HTML
-logfile D:/CommandLineLog/log.html

This command will import the EOLE_AF project from <absolutePath> workspace into <targetWorkspacePath> workspace and create the DocProject to generate the HTML report inside it.

Import Capella project and a Doc project to generate inside it

<CapellaInstallationPath>/capellac.exe -nosplash
-application org.polarsys.capella.core.commandline.core
-appid org.polarsys.kitalpha.doc.gen.business.capella.commandline
-data <targetWorkspacePath>
-import "<absolutePath>/EOLE_AF | <absolutePath>/DocProject"
-input /EOLE_AF/EOLE_AF.aird
-outputfolder /DocProject/HTML
-logfile D:/CommandLineLog/log.html

This command will import two projects (EOLE_AF and DocProject) from <absolutePath> workspace into <targetWorkspacePath> workspace before generating the HTML report inside the DocProject.

NOTE: The source and target workspaces have to be different.