Using an enumeration with @DataElement causes errors until mvn build is run
Created by: jayjaybillings
Declaring an enumeration for the first time in a spec like this in Person.java
/**
* Basic enumeration example. Note that the fully qualified value name needs
* to be added and the first time the enumeration is used the build needs
* to be run.
*/
@DataField.Default(value="org.eclipse.ice.renderer.PersonEnum.TALL");
@DataField public PersonEnum height;
causes the following errors in Eclipse:
Multiple markers at this line
- Syntax error, insert "enum Identifier" to complete
EnumHeaderName
- Syntax error, insert "EnumBody" to complete EnumDeclaration
This appear to resolve after a Maven build.