cd {release}/hypercontent2
Start your deployment by opening a terminal or cmd prompt. Change into the hypercontent2 directory inside the release folder, e.g.
cd C:\hypercontent-dist\hypercontent2
edit source/properties/hypercontent.properties
Before you deploy HyperContent 2.0 as a web application, you need to set two properties:
The base server URL should contain host, port and context, but NOT a trailing slash
abs.server.base = http://deployed.server.edu:port/hypercontentThe repository base must contain the absolute path of the repositories directory from the distribution.
repository.base = C:\hypercontent-dist\repositories
ant compile
Compile sources and copy changed properties to the "webapp" directorycp hypercontent-handler.jar tomcat5/common/endorsed
The HyperContent handler needs to be installed in the endorsed directory for hypercontent:/ URLs to be resolved internally. This is primarily used for including images in PDFs.cp endorsed/* tomcat5/common/endorsed
Copy the xml libraries to the tomcat endorsed directory. If you would prefer not to install Xerces and Xalan in the common endorsed, you can copy them to webapp/WEB-INF/libcp endorsed/* webapp/WEB-INF/lib