hi all,
i have just completed the retrofitting of jmatter to not use jibx for
marshalling objects. i am now using json instead.
here is what you need to know to retrofit your existing projects:
~~~~~~~~~~
How to revise your project to live without jibx:
1. Revise build.xml
- remove jibx-related taskdef and target (named "bind")
- replace dependency listing for all targets that depend on "bind" to depend on "compile"
- revise any antcall targets that call "bind" to call "compile"
you can generate a detailed diff, using for example, the changes made to the sympster build file by invoking this command:
cd demo-apps/Sympster
svn diff -r1471:1474 build.xml
or if you like, you can use the build.xml template located in jmatter/resources/project-template/build.xml to diff against
2. replace class-list.xml with class-list.json (there's a template you can use as a starting point at jmatter/resources/project-template/src/class-list.json)
3. remove the file "resources/binding.xml" from your project
~~~~~~~~~~
thanks,
/ eitan