User:Zolta/annotations

From APIDesign

< User:Zolta
Revision as of 14:18, 6 December 2010 by Zolta (Talk | contribs)
Jump to: navigation, search

How to get LiveDB sample work

I may learn meantime :)

I use NetBeans Development build (101206-535bcec0a140 ) while trying

I design a simple ontology based knowledge management system. I think I'll make good use of LiveDB.

current situation:

I added derbyclient.jar to Libraries ,Test Libraries and added some Logging to org.apidesign.livedb.impl.LiveDBProcessor

  1. Clean and build livedb project
  2. Compile file Test Packages/org.apidesign.livedb.example.package-info.java

Here is the IDE Log I got:

INFO [org.apidesign.livedb.impl.LiveDBProcessor]:  
method process started 
        annotations:[org.apidesign.livedb.LiveDB] 
        roundEnv:[errorRaised=false, rootElements=[org.apidesign.livedb.example], processingOver=false]
FINE [org.apidesign.livedb.impl.LiveDBProcessor]: clsName:org.apidesign.livedb.example.Age md.getColumnCount():2
FINE [org.apidesign.livedb.impl.LiveDBProcessor]: columnName (1):ID
FINE [org.apidesign.livedb.impl.LiveDBProcessor]: columnName (2):NAME
INFO [org.apidesign.livedb.impl.LiveDBProcessor]: method process finished
INFO [org.apidesign.livedb.impl.LiveDBProcessor]:  
method process started 
        annotations:[] 
        roundEnv:[errorRaised=false, rootElements=[org.apidesign.livedb.example.Age], processingOver=false]
INFO [org.apidesign.livedb.impl.LiveDBProcessor]: method process finished
INFO [org.apidesign.livedb.impl.LiveDBProcessor]:  
method process started 
        annotations:[] 
        roundEnv:[errorRaised=false, rootElements=[], processingOver=true]
INFO [org.apidesign.livedb.impl.LiveDBProcessor]: method process finished

But still I get cannot find symbol org.apidesign.livedb.example.Age Jan Lahoda is working on this: [Support Annotation Processors in Java Editor] Also he provided a module to Support AnnotationProcessors

Personal tools
buy