Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Project Pre-Build and Post-Build Unable To Run dir Command

by Administrator ‎11-18-2011 04:30 PM - edited ‎11-15-2011 11:45 AM (2,299 Views)

Summary

 

This article applies to the following:

  • BlackBerry® JDE

 

Description

 

Problem

 

"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.

  

Cause

 

You cannot call dir from a pre-build or post-build command.

 

Workaround

 

Create a batch file that contains the dir command and use that in the pre-build or post-build entry.

Contributors