Wiki source code of Split Deployments
Last modified by Paul Hoadley on 2010/11/30 06:42
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{note title="Deprecated"}} | ||
2 | Do not follow these instructions if you are using WOLips 3.4 or later. Split installs are now automatic. | ||
3 | {{/note}} | ||
4 | |||
5 | 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. | ||
6 | |||
7 | 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. | ||
8 | |||
9 | The basic steps for doing a split install are: | ||
10 | |||
11 | ~1. Add the {{code language="none"}}wsDestDir{{/code}} attribute to the {{code language="none"}}woapplication{{/code}} task in your {{code language="none"}}build.xml{{/code}} file. See [[WOApplication Task Manual>>doc:WOL.Home.WOProject-Ant.WOApplication.WebHome]] for more information. This will automatically build with split resources when you Ant {{code language="none"}}build.xml{{/code}}. | ||
12 | 2. Add an appropriate value for the {{code language="none"}}frameworksBaseURL{{/code}} to the {{code language="none"}}woapplication{{/code}} task in your {{code language="none"}}build.xml{{/code}} file. This facilitates embedded frameworks. | ||
13 | 3. During deployment, you will (typically) copy your .woa file to {{code language="none"}}/Library/WebObjects/Applications{{/code}} and your split resources to {{code language="none"}}/Library/WebServer/Documents/WebObjects{{/code}}. | ||
14 | |||
15 | Here are some useful links for figuring out how to do a split install: | ||
16 | |||
17 | [[Split Install Deployment in Tutorials>>doc:WOL.Home.Deprecated info.Split Install Deployment.WebHome]] | ||
18 | [[WebObjects Deployment Guide from Apple>>url:http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Deployment/chapter_6_section_3.html||shape="rect"]] |