This documentation relates to last stable version of Cipango.
visit the last unstable documentation home.
How deploy a SIP application from a custom directory ?
The simpliest way to deploy a SIP application from a custom directory is to use context deployer.
- Create an XML file in
${jetty.home}/contexts
with the following content (replace "test" by your application name)Sample context file<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configure class="org.cipango.sipapp.SipAppContext"> <Set name="contextPath">/test</Set> <Set name="war">YourCustomDirectory/YourApplicationName</Set> <Set name="defaultsDescriptor"><SystemProperty default="." name="jetty.home"/>/etc/webdefault.xml</Set> <Set name="defaultsSipDescriptor"><SystemProperty default="." name="jetty.home"/>/etc/sipdefault.xml</Set> </Configure>