This article applies to the following:
- BlackBerry® JDE
"Error while building project" is shown when attempting to build a project which has a pre-build or post-build entry that includes the "dir" command.
You cannot call dir from a pre-build or post-build command.
Create a batch file that contains the dir command and use that in the pre-build or post-build entry.