Downloads: 10564
Rating:
Participated in rating: 5
Recent change notes:
Changes:
- [NEW] Updated to work with IntelliJ IDEA 9
- [NEW] Updated JiBX to version 1.2.1
- Now using IntelliJ facets with auto-detection of JiBX bindings
- Support for 'format' settings in the binding
Comments:
I'm using the 9.0.4 EAP version of Idea - (Maia) IU-95.495 - and the 80.9000 distribution of the JiBX plugin.
Specific issues with the JiBX plugin:
1. Automatic plugin installation through the IDE fails. It appears that the distribution file is lacking a top-level "jibx" directory. I had to create that directory myself, and then manually extract the contents of the JiBX plugin distribution into it.
2. Once a binding.xml file has been identified by IDEA as a JiBX facet, there is no visual representation of this facet association. Binding.xml files still have the ubiquitous [X] icon which applies to all "ordinary" .XML files.
3. I have a multi-module project. My binding of a class in the -server module references a class in the -common module. Maven weaves these JiBX bindings happily, but the JiBX plugin cannot resolve the class in the -common module when executing the binding.xml file of the -server module. (I am _not_ using "pre-compiled" bindings).
4. I use elements within which are nested elements. The "code analysis" provided by the JiBX plugin tries to resolve "aaa" as a member of the class being mapped; but this is wrong - "aaa" is a member of the class type of the field "xxx" in the class being mapped. As a result I have a lot of "red" in the UI, despite Maven being very happy to weave the binding.
Robin Roos (robin at roos dot uk dot net)
Cheers
Daniel
Thanks
When you compile, the JiBX bind will run after the Java compilation.