Platform Builder Question (project.bib file is being overwritten) RRS feed

  • Question

  • Hi,

    When I perform a clean build using the command line,  "blddemo clean -q" the project.dat, project.bib and project.reg files in my _PROJECTOAKROOT\files folder all get overwritten.  It seems that the some step copies them from Wince600\Public\Cebase\oak\files into the _PROJECTOAKROOT\files folder.

    I should add that before calling blddemo I do set all the appropriate environment vars.  My overall build is based on this example:

    Does anyone know why this might be happening?  It seems like the step that calls the pbxmlutils.exe application might be doing this, but I'm not sure.  (I could not find any direct "copy" command in any of the build batch files). The files are replaced before the copy to release or make image stages start.

    Thanks in advance,


    Wednesday, January 19, 2011 6:27 PM

All replies

  • blddemo does execute the command "pbxmlutils.exe /createfolders" which will create the _PROJECTROOT folder and populate it with a set of default files, including the PROJECT.* files from CEBASE\OAK\FILES, if the _PROJECTROOT folder does not already exist, or more specifically it seems, if the folder %_PROJECTOAKROOT%\MISC does not exist.  Make sure before you run blddemo that the %_PROJECTOAKROOT%\MISC folder does exists and that nothing in your build environment is deleting it.

    Tom Gensel PTG Systems, LLC
    Thursday, January 20, 2011 12:16 AM
  • Hmm, yes the MISC and FILES folders both exist (in PROJECTOAKROOT), but at least you verified that the piece I was suspecting can copy files to the _PROJECTOAKROOT folder.  Are there any other folders and/or files that might need to exist in _PROJECTOAKROOT that might be tripping this behaviour?

    Thanks for your help, I'll continue to poke around.


    Thursday, January 20, 2011 4:11 PM