Headless build trouble

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Headless build trouble

ソリューションへジャンプ
1,338件の閲覧回数
davidsherman
Senior Contributor I

This might be a question for Erich Styger, but I've followed his example on doing headless builds.  When I tried to run it though, I'm getting an error.  When I look at the source, it says:

 

java.lang.IllegalStateException: The platform metadata area could not be written: C:\KDSProjects\Git\C3MainPM\.c:\KDSProjects\.metadata.  By default the platform writes its content

under the current working directory when the platform is launched.  Use the -data parameter to

specify a different content area for the platform.

 

Windows seems to show that .metadata is read only, but I can't seem to make it writable, even though KDS is not open.

 

I'm trying to launch the build using:

 

c:\freescale\KDS_3.0.0\eclipse\eclipsec -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data .c:\KDSProjects -build "C3MainPM/release"

ラベル(1)
0 件の賞賛
返信
1 解決策
1,107件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Just a wild guess, try to pass the .ini like below:

c:\freescale\kds_3.0.0\eclipse\eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data .\wsp_kds3.0.0 -build MyProject --launcher.ini c:\Freescale\KDS_3.0.0\eclipse\kinetis-design-studio.ini --launcher.suppressErrors

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,108件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Just a wild guess, try to pass the .ini like below:

c:\freescale\kds_3.0.0\eclipse\eclipsec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data .\wsp_kds3.0.0 -build MyProject --launcher.ini c:\Freescale\KDS_3.0.0\eclipse\kinetis-design-studio.ini --launcher.suppressErrors

Erich

0 件の賞賛
返信
1,107件の閲覧回数
davidsherman
Senior Contributor I

Thank you Erich!  Seems the root of the problem was I had mistakenly put in the project directory instead of the workspace.  It's building properly now.

0 件の賞賛
返信