Notifications
Clear all

[Solved] Class, Defined in the Dataset, Which Uses Server Classes.

3 Posts
2 Users
0 Reactions
801 Views
0
Topic starter

I defined a class in the dataset which extends a class defined in the server project. I've added the server directory to my Eclipse build path. However, when compiled there is an error that the compiler doesn't recognize the server class file. How do I allow the class file to be compiled with classes from the server project?

3 Answers
0
Topic starter

To compile a dataset class outside of Eclipse using server class files, edit or create build.properties for the dataset project. Then add this line:

#include platform private apis to compile class path i.e. dvce.jar
includePrivateApis=true
0

Add this to your module's build.properties:

includePrivateApis=true
0
Topic starter

To compile a dataset class outside of Eclipse using server class files, edit or create build.properties for the dataset project. Then add this line:

#include platform private apis to compile class path i.e. dvce.jar
includePrivateApis=true