This documentation relates to last stable version of Cipango.
visit the last unstable documentation home.

Using SIP Annotations

To enable Sip Servlets annotations with Cipango, it should be started with configuration file cipango-plus.xml, i.e.

java -jar start.jar --ini=start-cipango.ini etc/cipango-plus.xml
cipango-plus.xml
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">

<Configure class="org.cipango.deploy.providers.SipAppProvider" id="SipAppProvider">

  <Array id="plusConfig" type="java.lang.String">
    <Item>org.eclipse.jetty.webapp.WebInfConfiguration</Item>
    <Item>org.eclipse.jetty.webapp.WebXmlConfiguration</Item>
    <Item>org.eclipse.jetty.webapp.MetaInfConfiguration</Item>
    <Item>org.eclipse.jetty.webapp.FragmentConfiguration</Item>
    <Item>org.eclipse.jetty.plus.webapp.EnvConfiguration</Item>
    <Item>org.eclipse.jetty.webapp.JettyWebXmlConfiguration</Item>
    <Item>org.eclipse.jetty.webapp.TagLibConfiguration</Item>
    <Item>org.cipango.sipapp.SipXmlConfiguration</Item>
    <Item>org.cipango.plus.sipapp.PlusConfiguration</Item>
    <Item>org.cipango.annotations.AnnotationConfiguration</Item>
  </Array>
 
  <Set name="configurationClasses"><Ref id="plusConfig"/></Set>

</Configure>