The following steps describe how to create an Eclipse project for the RI OCAP stack source code that will enable debugging of the OCAP java source code

1. Create a new project

2. Import OCAP source

... Repeat above for ds, dvr, fp, and hn in directories located in the $OCAPROOT/ri/RI_Stack/java/src/

3. Add Exclusion patterns

4. Configure the project to work with the OCAP code

5. Configure the compiler

6. Add line numbers to output

7. Configure the RI Stack to accept remote debugging connections

8. Create a remote JVM debug launcher configuration in eclipse

9. Launch and debug the code