Hello,
I'm trying to build PEx object from Jenkins(or from command line).
This are steps, which I want to do:
1) Import project into workspace - works
2) Generate PEx code - code is generated but kinets process never exits.
3) Synchronize PEx static code - how to do it?
4) Compile - this is simple
So I have question regarding step two.
This is how I'm calling PEx:
In my project directory:
First import project into workspace, works:
"c:\Freescale\KDS_v3\eclipse\eclipsec.exe" --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild --launcher.ini "c:\Freescale\KDS_v3\eclipse\kinetis-design-studio.ini" -data "C:\Program Files (x86)\Jenkins\workspace\KDS" -import "."
Then generate PEx code:
"c:\Freescale\KDS_v3\eclipse\eclipsec.exe" --launcher.suppressErrors -nosplash --launcher.ini "c:\Freescale\KDS_v3\eclipse\kinetis-design-studio.ini" -data "C:\Program Files (x86)\Jenkins\workspace\KDS" -application com.freescale.processorexpert.core.PExApplication -generateAll
It generates PEx code(without synchronizing static code), but it hangs after that. Process never exits.
(There is no difference whether you call kinetis-design-studio.exe or eclipsec.exe with configuration file, so this is not the problem).
Here is the output:
Opening project LakeView-PS ...
generating
Here is log from workspace:
!SESSION 2017-02-15 22:47:32.708 -----------------------------------------------
eclipse.buildId=3.2.0.201603041649
java.version=1.7.0_76
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.somniumtech.branding.kds.ide -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import .
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.somniumtech.branding.kds.ide -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data C:\Program Files (x86)\Jenkins\workspace\KDS -import .
!ENTRY org.eclipse.cdt.core 1 0 2017-02-15 22:47:48.288
!MESSAGE Indexed 'LakeView-PS' (20 sources, 25 headers) in 0.65 sec: 774 declarations; 2,604 references; 138 unresolved inclusions; 2 syntax errors; 470 unresolved names (12%)
!SESSION 2017-02-15 22:47:51.402 -----------------------------------------------
eclipse.buildId=3.2.0.201603041649
java.version=1.7.0_76
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.somniumtech.branding.kds.ide -application com.freescale.processorexpert.core.PExApplication -generateAll
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.somniumtech.branding.kds.ide -data C:\Program Files (x86)\Jenkins\workspace\KDS -application com.freescale.processorexpert.core.PExApplication -generateAll
!ENTRY org.eclipse.core.resources 2 10035 2017-02-15 22:47:52.251
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
My KDS version is 3.2.0, I have tried on second computer with fresh install, same happens.
Does anyone know the solution?
Lukas
Hello Lukas,
Does the code can build without error on KDS , while there is error when use Jenkins ?
If yes, I recommend you find and ask this problem on the Jenkins website ,
there is more people know the Jenkins clearly .
My software builds on my computer but not on Jenkins - Jenkins - Jenkins Wiki
Where to find us - Jenkins - Jenkins Wiki
On the NXP community , there is only a tutorial about use Jenkis to build a CW project, it is Classic CW,
the KDS is based on Eclips.
And there is a related question :
ecd.exe does not yield same results when running several times.
BR
Alice