Headless-build no more able to import project into workspace
Hello,
WIth TrueStudio, I was using the headless.bat script to import projects into an empty workspace and clean build all of them.
The script was something like this:
set ECLIPSE_WORKSPACE=%WORKSPACE%\Jenkins\workspace
rmdir "%ECLIPSE_WORKSPACE%" /s /q
c:
cd "C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\ide"
headless.bat -data "%ECLIPSE_WORKSPACE%" ^
-import "%WORKSPACE%\project_A" ^
-import "%WORKSPACE%\project_B" ^
-cleanBuild all
In this script, %WORKSPACE% is passed to the script by jenkins, it's the directory which constains the projects.
I migrate projects to cubeIDE. This script does not work anymore. I looked at the headless-build.bat script and changed my script to something like this:
headless-build.bat -workspace "%ECLIPSE_WORKSPACE%" ^
-project "%WORKSPACE%\project_A" ^
-project "%WORKSPACE%\unitTests" ^
-clean allThis does not work. The error is:
Project/Configuration Regular Expression Syntax error: java.util.regex.PatternSyntaxException: Illegal Unicode escape sequence near index 23
D:\Dev\xxxxxx\yyyyyyy\unitTests
^
Skipping "D:\Dev\xxxxxx\yyyyyyy\unitTests"
Saving workspace.If I remove unitTests project, The error is on the other project.
From the name of the parameters of the script, my interpretation is that CudeIDE is not able to import a project. in a workspage as attolic did.
Is that right?
Wil this function be available in the future.
Thanks
Julien