Run or debug your application from Eclipse
- Add a new Run into eclipse (type Java Application)

- In the Main tab, the Main class must be set to org.mortbay.start.Main.

- In the Arguments tab, the working directory must be set your Cipango installation directory.

- In the Classpath tab, add Cipango librairies
- start.jar in cipango root directory
- all .jar that belongs to the cipango /lib directory: cipango-XXX.jar, jetty-utilXXX.jar, servlet-api-XXX.jar, sip-api-XXX.jar, cipango-jetty-XXX.jar.)
- eventually if you use JSP and JDK 1.4, all .jar in directory lib/jsp-2.0
- eventually if you use JSP and JDK > 1.5, all .jar in directory lib/jsp-2.1
- eventually to have log4j traces, all .jar in lib/ext and the resources directory.


- Create the directory contexts in your Cipango installation directory and the [project-name].xml file with following content
<?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">/${project-name}</Set>
<Set name="resourceBase">${project-build-path}</Set>
</Configure>Replace ${project-name} with your project name (for instance b2b) and ${project-build-path} with your project build path (this path should be a valid exploded SIP application: i.e. it should have the structure:
project-build-path
+ WEB-INF
- sip.xml
+ classes
+ lib
- Run the application: Menu run > run
