Building Applications

If your project fails to build for some reason, try the following solutions.

Problem: Build Silently Fails

Stop the application, and then build and run again. If the problem still persists, you might want to clean the index. Select the project in the Files tab, and choose Show Info from the Project menu. Click the Rebuild Index button.

Error: Build Fails

Projects will not build if any folder it is in contains a space. For example, a project in ~/Project Folder/WOGuide/Forum will not build.

Build Warning: Deprecated API

There can be several places where deprecated API is used. Try the following:

1.
If the class is a WOComponent, make sure that the (WOContext) single argument default constructor is defined.
2.
Use stringFormValueflorKey ...

Get WebObjects® Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.