Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One simple change to your build.xml: Simply add the wsDestDir property to the woapplication (or woframework in the case of a framework project) task in your project's build.xml as shown below. As stated by the documentation, presence of that parameter triggers a split install and thus creates an additional woa bundle for the webserver resources.

Code Block
titlewoapplication opening tag with wsDestDir property
<woapplication name="${project.name}"  stdFrameworks="false"
                                            destDir="${dest.dir}"
                                            customInfoPListContent="${customInfoPListContent}"
                                            principalClass="${principalClass}"
                                            webXML="${webXML}"
                                            webXML_CustomContent="${webXML_CustomContent}"
                                            wsDestDir="/Library/WebServer/Documents">
  
Code Block
titlewoframework opening tag with wsDestDir property

<woframework name="${framework.name}" 
        	destDir="${dest.dir}" 
        	customInfoPListContent="${customInfoPListContent}" 
        	principalClass="${principalClass}" 
        	eoAdaptorClassName="${eoAdaptorClassName}"
                wsDestDir="/Library/WebServer/Documents">

A Better Way

So that both Install works and ant build into project dist (right-click build.xml -> Run As/Ant Build) provides a split install, make the following 4 1-line changes to your build.xml file as shown in snippet below:

...