[ http://jira.codehaus.org/browse/JIBX-110?page=comments#action_66769 ] 

Dennis Sosnoski commented on JIBX-110:
--------------------------------------

I just downloaded the release, unpacked it, and ran the "j2me" target. I then 
unpacked the generated jibx-j2me-run.jar file and tried grepping the class 
files. There's no reference to "sql" in the class files at all.

I'd suggest you try running the "enablej2me" Ant target separately and then 
look at the source code. At least on my system, the java.sql stuff is commented 
out after doing this. Note that you need to refresh after you've run the 
target, since the changes will not be detected automatically - the JEnable 
settings tell it to preserve the original file timestamps in order to avoid 
confusing CVS.

The JEnable documentation and distribution is at 
http://www.sosnoski.com/opensrc/jenable/index.html

> Having a J2ME compatible official jibx release
> ----------------------------------------------
>
>          Key: JIBX-110
>          URL: http://jira.codehaus.org/browse/JIBX-110
>      Project: JiBX
>         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

Reply via email to