Converting old projects – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 27

Advertising
background image

Converting Old Projects

27

will reside under the document root, usually DocumentRoot/

WebObjects

.

The file contains a line you can uncomment for this purpose.

4. In Project Builder’s Build panel, click

.

5. From the Target pop-up menu, choose

install

. (By default, the target is

set to

woapp

.)

6. Click

in the Build panel to install your application.

The full application wrapper is copied into the “Install In:” directory,
and a wrapper containing only the Web Server Resources is copied into
the document root.

See Serving WebObjects for more information about installing your
application.

Converting Old Projects

Under version 3.5 of WebObjects, projects are organized differently than
under previous versions. This section describes how to convert your old
projects to the new organization so that you can work with them in
WebObjects 3.5 and beyond.

If your existing project is already a WebObjectsApplication project (that is,
it was created by Project Builder and has a

PB.project

file), you can use Project

Builder to convert your project. If your project does not have a

PB.project

file,

you must create a new project and add your existing files to the appropriate
suitcases.

In version 3.5, the

.woa

extension is reserved for the application wrapper.

Previously, the project directory itself had the

.woa

extension. Before

converting your project, you should rename its folder to remove the

.woa

extension.

Select “Install.”

Advertising