AnsweredAssumed Answered

Headless build trouble

Question asked by David Sherman on Aug 3, 2015
Latest reply on Aug 3, 2015 by David Sherman

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"

Outcomes