Headless build

WiSE-Studio can run in non-GUI mode. This mode is limited to project import and build.

Import project into a workspace

To import project in command-line mode, enter the following command on the terminal:

$> WiSE-Studio.exe --launcher.suppressErrors -nosplash -application fr.ac6.ide.wise.managedbuild.core.headlessbuild -data ${WORKSPACE_LOC} -importAll ${PROJECT_PARENT_LOC}

Build project

To run the headless build, enter the following command on the terminal:

$> WiSE-Studio.exe --launcher.suppressErrors -nosplash -application fr.ac6.ide.wise.managedbuild.core.headlessbuild -data ${WORKSPACE_LOC} -build ${PROJECT_NAME}/${CONFIG_NAME}

Clean project

To run the headless build, enter the following command on the terminal:

$> WiSE-Studio.exe --launcher.suppressErrors -nosplash -application fr.ac6.ide.wise.managedbuild.core.headlessbuild -data ${WORKSPACE_LOC} -cleanBuild ${PROJECT_NAME}/${CONFIG_NAME}

Help

$> WiSE-Studio.exe --launcher.suppressErrors -nosplash -application fr.ac6.ide.wise.managedbuild.core.headlessbuild
Usage:
-import {[uri:/]/path/to/project}
-importAll {[uri:/]/path/to/projectTreeURI} Import all projects under URI
-build {project_name_reg_ex{/config_reg_ex} | all}
-cleanBuild {project_name_reg_ex{/config_reg_ex} | all}
-no-indexer Disable indexer
-markerTypeMarker types to fail build on {all | cdt | marker_id}
-printErrorMarkers Print all error markers
-I {include_path} additional include_path to add to tools
-include {include_file} additional include_file to pass to tools
-D {prepoc_define} addition preprocessor defines to pass to the tools
-E {var=value} replace/add value to environment variable when running all tools
-Ea {var=value} append value to environment variable when running all tools
-Ep {var=value} prepend value to environment variable when running all tools
-Er {var} remove/unset the given environment variable
-T {toolid} {optionid=value} replace a tool option value in each configuration built
-Ta {toolid} {optionid=value} append to a tool option value in each configuration built
-Tp {toolid} {optionid=value} prepend to a tool option value in each configuration built
-Tr {toolid} {optionid=value} remove a tool option value in each configuration built
Tool option values are parsed as a string, comma separated list of strings or a boolean based on the option's type