Wiki source code of Programming__WebObjects-Web Applications-Deployment-Split Install
Version 9.1 by cmeyer on 2007/11/07 20:14
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
4.1 | 1 | When deploying WebObjects applications, a split install allows you to separate the static resources which can be served automatically by the web server from the WebObjects application itself. |
2 | |||
3 | A split install can be difficult to configure if you have embedded frameworks or if you have multiple versions of the same application (for instance production and development) on the same machine. As of this writing, I don't know the correct way to handle resources in embedded frameworks. | ||
4 | |||
5 | The basic steps for doing a split install are: | ||
6 | |||
7 | ~1. Add the ##wsDestDir## attribute to the ##woapplication## task in your ##build.xml## file. See [[WOApplication Task Manual>>WOL:WOApplication]] for more information. This will automatically build with split resources when you Ant ##build.xml##. | ||
8 | 2. Add an appropriate value for the ##frameworksBaseURL## to the ##woapplication## task in your ##build.xml## file. This facilitates embedded frameworks. | ||
9 | 3. During deployment, you will (typically) copy your .woa file to ##/Library/WebObjects/Applications## and your split resources to ##/Library/WebServer/Documents/WebObjects##. | ||
10 | |||
11 | Here are some useful links for figuring out how to do a split install: | ||
12 | |||
13 | [[Split Install Deployment in Tutorials>>WOL:Split Install Deployment]] | ||
14 | [[WebObjects Deployment Guide from Apple>>http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Deployment/chapter_6_section_3.html]] |