Skip to content
rahatjaan edited this page Apr 9, 2015 · 2 revisions

Generated Code

One very important thing to note while working in an IDE with oxTrust is that there are auto generated code used in oxTrust which is not mentioned anywhere (not at least in my knowledge). For generating source code you need special plugins otherwise you will see compilation errors. For example first thing you must know is the project lombok

http://projectlombok.org/

the good news is when you build with maven these classes are auto generated but IDEs complaints about these. For example the entity classes which has annotation @Data these classes dont have getter/setter so you would see errors on all the classes.

You need to install lombok plugin to your IDE to work with oxTrust and then add lombok jar to your classpath.

Questions to be answered

  1. In AppInitializer.java class we have two imports import org.xdi.oxauth.client.uma.MetaDataConfigurationService; import org.xdi.oxauth.model.uma.MetadataConfiguration;

I search these classes in the whole trunk of oxTrust, oxAuth and oxCore but I could not yet find the location of these classes.