[ 
https://jira.codehaus.org/browse/JIBX-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=287041#comment-287041
 ] 

Malachi de AElfweald commented on JIBX-471:
-------------------------------------------

I was just trying to do 
http://jibx.sourceforge.net/fromcode/bindgen-example3.html as an apklib

Specifically, I created an apklib 
(http://code.google.com/p/maven-android-plugin/wiki/ApkLib) with the xsd on 
your example then tried to put your test xml in the APK itself.

If you do a JAR project, then the generated classes are there.  If you do an 
APKLIB project, then the generated sources are not there.

Maybe this is the wrong approach?  I am just trying to figure out the correct 
way to use JiBX with APKLIB?

I'll attach the zip (without the keystore,proguard,hg,etc)
                
> 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

Reply via email to