Documentation Archive Developer
Search
Table of Contents Previous Section

Set up Project Builder and WebObjects Builder

Before you can write a compiled WebObjects application, you must set up Project Builder so that it recognizes the WebObjects application project type. Before you can write an application in Java, you must tell WebObjects Builder that you want to use Java to write the component logic. You only need to perform these steps once. After that, you can create as many WebObjects applications as you need.

  1. Launch Project Builder by choosing it from the OpenStep Enterprise program group in the Start menu.

  2. Choose Tools Preferences to open the Preferences panel.

  3. Choose Bundles from the pop-up list in the Preferences panel.

  4. Click the Add button.

  5. Select <NextRoot>/NextDeveloper/PBBundles/WebObjectsSupport.bundle, and click Open.

  6. Exit Project Builder.

    You must exit and relaunch Project Builder for the bundle to be loaded.

  7. Launch WebObjects Builder by choosing WebObjects Builder from the WebObjects program group in the Start menu.

  8. Choose Tools Preferences to open the Preferences panel.

  9. Click the Language tab.

  10. Choose the Java option, and then close the Preferences panel.

When Java is selected as the WebObjects Builder language preference, WebObjects Builder creates .java files instead of .wos files in each component.

Note: WebObjects Builder's language preference specifies that all new components will be created using that language. If you change the language preference and then add a new component to an existing application, the new component uses a different language than the rest of the application. To prevent this from happening, always set the language preference before you create the application.

Table of Contents Next Section