Table of Contents Previous Section

Creating WebObjects Application Projects

A WebObjects application project contains all the files needed to build and maintain your application. You use Project Builder to create a new project.

  1. Launch Project Builder.

    To do this, launch ProjectBuilder.app, which is found in the NextDeveloper/Apps/ directory. On Mach systems, this directory is under the root directory /. On Windows NT, it is under %NEXT_ROOT%, an environment variable defined when you installed WebObjects (C:\NeXT by default).

    On Windows NT, you can launch Project Builder from the WebObjects program group in the Start menu.

  2. Choose Project New.

    The New Project panel has a Project Type pop-up list that lets you choose the type of project you want to create. WebObjectsApplication is shown by default.

  3. In the Project Type pop-up list, make sure WebObjectsApplication is selected.

    Another type of project you may want to create is WebObjectsFramework. See "Frameworks" for more information.

  4. Click Browse to specify your project's location.

    Note: You can also type your project's location and name directly in the Project Path text field.

  5. Navigate to the directory in which to create your project.

    During development, you typically create a project in the <DocumentRoot>/WebObjects directory. <DocumentRoot> is your HTTP server's document root, which you specified when you installed WebObjects. It is convenient to have your entire project under this directory so project resources can be located without going through the installation process (see "Installing Your Application"). However, when deploying your application, you can place parts of your project elsewhere, so that only those files needed by the web server are accessible to users.

  6. Type the name of the project you want to create.

  7. Click Save.

    The New Project panel shows the path you specified.

  8. Click OK.

    The WebObjects Application Wizard starts.

Table of Contents Next Section