[ https://jira.codehaus.org/browse/JIBX-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287247#comment-287247 ]
Don Corley commented on JIBX-471: --------------------------------- Malachi, Yikes, this is a tough one. Your pom is very complicated. The apklib goal must be new, because I couldn't find any examples and the documentation is very brief. It looks to me that an apklib packages the raw resources such as source files, images, etc. This will not work with jibx, since you need to include the jibx-processed class files. You have a few alternative solutions: 1. Use your Eitr-1.0-SNAPSHOT.jar. Is is a valid Android library project with valid jibx class files. 2. Bind your schema using the standard jibx-maven-plugin as a separate project and include it in your android project. Your class files will be converted to .dex files on the android package phase. You can find a nice example of this in our source repository at: https://github.com/jibx/schema-library/tree/master/schema-utilities/examples/android/jibxapp 3. You may want to get some help from the apklib authors. jibx is running correctly. Please close this bug when you get a chance. Good Luck! Don > Compatability with apklib? > -------------------------- > > Key: JIBX-471 > URL: https://jira.codehaus.org/browse/JIBX-471 > Project: JiBX > Issue Type: Improvement > Components: maven plugin > Affects Versions: JiBX 1.2.3 > Reporter: Malachi de AElfweald > Assignee: Don Corley > Priority: Minor > Attachments: eitr.zip > > > I am trying to define the schema (using the schema-codegen) in an apklib > module (using maven-android-plugin). > The resulting apklib does not contain any of the auto-generated code. > As a result, the actual APK can not access any of the pre-generated source. > And since the apklib is not extracted, it isn't re-generatating the source. > I tried attaching both the jar and the apklib, but that caused loads of > problems. Tried excluding many of the transitive dependencies, but no luck. > Ideal solution: > apklib contains the autogenerated *.java (including JiBX_binding*.java) so > that it will recompile in the Android APK > or, still acceptable > plugin is able to generate and bind to XSDs contained in the apklib -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs