|
Page Edited :
FELIX :
Apache Felix SCR Plugin FAQ
Apache Felix SCR Plugin FAQ has been edited by Carsten Ziegeler (Oct 01, 2008). Content:Apache Felix SCR Plugin Frequently Asked QuestionsSyntax Error when Enums are used?During a SCR plugin run, a syntax error might occur if enums are used in the source code. This is a know problem of the used QDox version that reads the Java source files. Usually this happens when an enum is used inline and does not end with a ";". So adding this character should solve the problem: public interface MyTest {
/** more error codes may be added */
enum Result {
OK, UNKNOWN, ERROR, DENIED
}; // <!-- HERE
/** @return the result */
public void getResult();
}
|
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
