[
http://jira.codehaus.org/browse/JIBX-110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158684#action_158684
]
Kenny Ho commented on JIBX-110:
-------------------------------
I looked into it a bit more and I've manually run the enablej2me in the command
line (by copying JEnable to the build directory and do it from there... for
some reason "src/**/*" worked but ../src/**/* doesn't) this resulted in a
modification of 9 files (6 in src, 1 in extras, 2 in test, it would be great if
someone can verify)
Then I go into Eclipse and run the j2me target again but this time the build
still failed. I am using java1.6.0_07. Other than a bunch of warnings from
deprecation of the toURL() method in java.io.file and project in
org.apache.tools.ant.ProjectComponent, I get the following error:
[echo] Checking asymmetric bindings --
[echo] Will generate warnings for no way to load prior value
[bind] Error during initialization; is jibx-run.jar in load classpath?
[bind] java.lang.IllegalArgumentException: Serializer
org.jibx.runtime.Utility.serializeSqlDate not found
[bind] at
org.jibx.binding.def.StringConversion.<init>(StringConversion.java:154)...
Now I am not sure if this means things are good or not because I do get the
jibx-j2me-bind, extras and run.jar in the lib folder. Is this just the error
from running the test?
Also, do I need a j2me specific xpp3.jar? I noticed that's what I need for run
time on standard java. I am trying to get this working on BlackBerry but these
(XML binding, Ant, etc) are all new to me. Any help would be greatly
appreciated.
> Having a J2ME compatible official jibx release
> ----------------------------------------------
>
> Key: JIBX-110
> URL: http://jira.codehaus.org/browse/JIBX-110
> Project: JiBX
> Issue Type: New Feature
> Components: core
> Environment: J2ME
> Reporter: Lars
> Assignee: Dennis Sosnoski
> Fix For: JiBX 1.1 beta4
>
>
> It would be great having an offical jibx release for J2ME environments.
> With respect to our code analysis in the current version only slight
> modifications are necessary (below I have copied a part of the original post
> of Dirk Bade from the jibx-users list):
> The only Problem is the usage of java.sql.Time, java.sql.Date and
> java.sql.Timestamp within the jibx.runtime.Utility-class.
> If you simply remove the imports of these packages within the class and
> change the methods for serialization and deserialization
> (using Object instead of java.sql.* in the method-signature) it works fine.
> And because java.sql.* is not
> included in the 'Personal Profile' for mobile devices you won't miss the
> methods anyway. The binding-compiler does not like the changes in the
> method-signatures, so one has to use the original Utility-class for
> binding-compiling.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs