<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis Design StudioのトピックRe: Headless build problem!</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459802#M4763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the screenshots it seems everything OK. I'd double check that the KSDK_PATH environment variable is available and with correct value during the headless build (if it is executed via any continuous integration system or with another user it may result in different environment set), e.g. echoing to the console just before the build is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 06:14:21 GMT</pubDate>
    <dc:creator>liborukropec</dc:creator>
    <dc:date>2016-04-20T06:14:21Z</dc:date>
    <item>
      <title>Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459799#M4760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set up a new continuous integration environment and can build my project in KDS fine.&amp;nbsp; However, when I use eclipsec to build headless, I get this error in the log:&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;java.lang.IllegalStateException: Workbench has not been created yet. &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:93) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.kpsdk.preferences.PEProjectExtenderSDK.projectLoadCompleted(PEProjectExtenderSDK.java:1335) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.ProjectPE.projectLoadCompleted(ProjectPE.java:6216) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.client.ProjectPEclient.loadProject(ProjectPEclient.java:2206) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.client.PEApplicationClient.openProject(PEApplicationClient.java:162) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.ProjectManager.getProject(ProjectManager.java:240) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.application.PExApplication.generateProject(PExApplication.java:144) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.application.PExApplication.run(PExApplication.java:83) &amp;nbsp;&amp;nbsp;&amp;nbsp; at com.processorexpert.core.application.PExApplication.start(PExApplication.java:55) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) &amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) &amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) &amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.reflect.Method.invoke(Unknown Source) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) &amp;nbsp;&amp;nbsp;&amp;nbsp; at org.eclipse.equinox.launcher.Main.run(Main.java:1465) com.freescale.processorexpert.core: java.lang.IllegalStateException: Workbench has not been created yet. Project KDS3_DN2 cannot be opened ilg.gnuarmeclipse.managedbuild.cross.stop() ilg.gnuarmeclipse.core.stop() LateInitializer.added() org.eclipse.core.runtime.preferences.IEclipsePreferences$NodeChangeEvent[source=/default] org.eclipse.debug.core&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project continues to compile despite this error, but the end result is that several source files do not compile, so the linker fails.&amp;nbsp; Even if the linking step succeeded, I would be a little nervous due to this error message.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I open the same project in KDS and build there, my code compiles and links without any errors.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me how to fix or further debug this problem?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459799#M4760</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-04-19T16:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459800#M4761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems like a problem in Processor Expert headless generation, when the Kinetis SDK preferences have some problem. Please try to open the PEx project in the UI, open PEx project and open the Kinetis SDK preferences and see if there's problem (probably with path) that has to be fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not help, you can try to add additional parameter "-PExQuietMode" to the command line that disables UI dialogs when some problem is reported using dialogs. This can be workaround for the mentioned probelm in KSDK preferences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the command line parameters that you are using can help us, including screenshot of the KSDK preference panel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Libor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 20:36:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459800#M4761</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2016-04-19T20:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459801#M4762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, Libor.&amp;nbsp; I will have to edit my post -- I did try running the build from KDS, and I do not get any errors there.&amp;nbsp; It compiles and links great.&amp;nbsp; It's just the headless build that doesn't work.&amp;nbsp; On another build server with the same versions of KDS/Eclipse components, headless builds work fine.&amp;nbsp; I'll double check the KSDK preferences, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had inquired in a different post about quieting UI dialogs -- thank you for mentioning this!&amp;nbsp; However, I am of the mindset now that having the build freeze on me is okay, as this implies that there's something wrong going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my KSDK and Processor Expert preferences:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;IMG alt="pastedImage_0.png" src="https://community.nxp.com/t5/image/serverpage/image-id/32810i539E752685D38684/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;IMG alt="pastedImage_0.png" src="https://community.nxp.com/t5/image/serverpage/image-id/32898i57922E7F4486D982/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_0.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is the command line string used for generating the PEx code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_14611024510547982 jive_macro_code jive_text_macro" data-renderedposition="981_8_1192_16" jivemacro_uid="_14611024510547982"&gt;&lt;P&gt;c:\Freescale\KDS_3.0.0\eclipse\eclipsec.exe -noSplash -data C:\MyProjectFolder -application com.freescale.processorexpert.core.PExApplication -generate MyProjectName&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459801#M4762</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2020-11-02T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459802#M4763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the screenshots it seems everything OK. I'd double check that the KSDK_PATH environment variable is available and with correct value during the headless build (if it is executed via any continuous integration system or with another user it may result in different environment set), e.g. echoing to the console just before the build is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 06:14:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459802#M4763</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2016-04-20T06:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459803#M4764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great idea!&amp;nbsp; Thank you, I will give that a try right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 06:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459803#M4764</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-04-20T06:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459804#M4765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were right!&amp;nbsp; The KSDK_PATH variable is not being used.&amp;nbsp; Probably because I had set it as a User environment variable, rather than a System one.&amp;nbsp; That was dumb.&amp;nbsp; I'm rebooting the server to see if that changes anything, and will mark your answer once I find it!&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 06:28:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459804#M4765</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-04-20T06:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Headless build problem!</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459805#M4766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Libor, thank you very much!&amp;nbsp; That was the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 13:36:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Headless-build-problem/m-p/459805#M4766</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2016-04-20T13:36:13Z</dc:date>
    </item>
  </channel>
</rss>

