Skip to main content

Issues while compiling OCAP RI stack using eclipse IDE

1 reply [Last post]
Joined: 2009-11-03
Points: 0

Hi All,
I have been trying to compile the OCAP RI stack (Rev 1.1.2) after configuring eclipse as explained in the OCAP RI Wiki.
I am facing compilation errors most of which are related to a particular package import. Eclipse is unable to resolve this particular import
" " which cannot be found anywhere in the codebase. Any help in solving this issue would be appreciated.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-07-03
Points: 0

The Wiki page that you refer to provides instructions for [i]debugging[/i] the stack, not [i]compiling[/i]. You must use ant to build the stack. (

Many of the developers on this project use Eclipse as a rich Java code editor. The on-the-fly compilation by Eclipse can be useful in determining whether or not your code will compile with ant -- but ant is the only real compilation tool. The "ParentalControl" files that you speak about are present in the codebase, but are not compiled by the build system.

You can find the code filelists that contain all of the classes that are actually part of the stack in $OCAPROOT/java. The build system reads these files to determine while classes to compile.