...
- Right click on newly created project from step 1 & select "Properties'"
- Click "Java Build Path" in the left pane of the properties form
- Click on the "Source" tab and then select the "Link Source..." Button
- Navigate to and select $OCCAPROOT$OCAPROOT/ri/RI_Stack/java/src/base
- use the default folder name
- Select the "OK" button
- Click on the "Source" tab and then select the "Link Source..." Button
... Repeat above for ds, dvr, fp, hn , and msm , and svm in directories located in the $OCCAPROOT$OCAPROOT/ri/RI_Stack/java/src/
3. Configure the project to work with the OCAP code
- Right click on newly created project from step 1 & select "Properties'"
- Click "Java Build Path" in the left pane of the properties form then select the "Libraries" tab
- Remove "JRE System Library" (select and hit "Remove" button)
- In order to compile OCAP code succesfully add the following external jar files
- Hit "Add External JARs..." button
- browse to & select $OCAPROOT/bin/lib/ocap-stub.jar
- browse to & select $OCAPROOT/tools/generic/cybergarage/cybergarageJanuary212009.jarbrowse to & select $OCAPROOT/tools/generic/jakarta-log4j-me/log4jMini-1.2alphacybergarage.jar
- browse to & select $OCAPROOT/tools/generic/NanoXML-2.2.3/lib/nanoxml.jar
...