Certain productivity features, refactorings, and the debugger do not appear to work in JBuilder

Abstract: Certain productivity features, refactorings, and the debugger do not appear to work in JBuilder

Issue:

In a particular project that uses Ant as the build system, I am not able to use refactorings, or the debugger. Why is this happening and how do I resolve it?

Description:

Certain productivity features such as�refactoring and the debugger all have something in common. Namely, that they all rely on the classes that are built from your source to function. By default in JBuilder, the output path (Project Properties | Paths | Output path) points to the 'classes' directory under your project folder. When you use Ant to build your project, however, those classes are stored in the 'classes.ant' (or 'build.ant') directory under your project folder.

Solution:

When working with Ant to build your project, you must remember to set the output path in the Project Properites to point to the 'classes.ant' (or 'build.ant') directory, so that the productivity feature, refactorings, and the debugger can find your classes directory.