Hi, On Tue, Jun 28, 2011 at 11:24 PM, Chamika Weerasinghe <[email protected]>wrote:
Hi, I modified navigator in xwiki-android-components so that it will communicate to XWiki instance via xwiki-android-rest. But it cannot be tested due to following problems.
1. After building xwiki-android-rest library it doesn't have GSON library. Therefore REST isn't working since GSON classes are not found withing the library. I searched a method to include gson (or any other) jar file to add to my custom library. It is said that if we use scope of the dependency of the maven configuration as "compile" it will include jar files in our build. But it doesn't work for me.
Compile dependencies are used when compiling but when packaging you have to include all the jar files yourself. I'm not sure about android specific things but isn't there a way to bundle all the dependant jar files into the .apk file?
2. Since xwiki-android-component use xwiki-android-rest, I want to import rest library to the component. I've done this in eclipse. But cannot figure it out how should I do this in maven.
Isn't this a normal pom file dependency?
Due to above issues current repository give build errors.
I planned to develop object/class editor component in next few days since xwiki-navigator is almost finish. Eduard suggested, it should be an "open objects and classes (in a separate and configurable object/class editor widget) ". Can you describe about this widget further so that I can get a clear idea about it.
Have you looked at XWiki class / object editor? I hope you are already familiar with xwiki data model (classes / objects). So basically you need to provide the same functionality in your widget. - Asiri
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs