SuperHich / plist

Automatically exported from code.google.com/p/plist
0 stars 0 forks source link

Compatibility with J2ME #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I am trying to use this library for a BlackBerry project using Eclipse IDE.

I have added the dd-plist.jar file to projects build-path. When I launch my 
application in Simulator it gives me the Error starting App: Module 'dd-plist' 
not found.

I have searched regarding it and found that the dd-plist is not preverified.

Now, when I preverify the jar file it is giving me the following error:
"Error preverifying class Test
    VERIFIER ERROR Test.main([Ljava/lang/String;)V:
Cannot find class java/awt/Frame"

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
dd-plist-r59.zip

Please provide any additional information below.

Original issue reported on code.google.com by sfaruq...@gmail.com on 20 Feb 2012 at 10:45

GoogleCodeExporter commented 9 years ago
Oh, somehow an test class made it into the released package. 
I updated the download. Try it again.

Original comment by daniel.dreibrodt on 20 Feb 2012 at 10:55

GoogleCodeExporter commented 9 years ago
Thank you for your quick reply. Now, I am having following error while 
preverifying:

Error preverifying class com.dd.plist.ASCIIPropertyListParser
    VERIFIER ERROR com/dd/plist/ASCIIPropertyListParser.parse(Ljava/util/Scanner
;)Lcom/dd/plist/NSObject;:
Cannot find class java/text/ParseException

Original comment by sfaruq...@gmail.com on 20 Feb 2012 at 11:16

GoogleCodeExporter commented 9 years ago
Ok the problem is a bit more complex than I thought. The BlackBerry API lacks 
many classes of the standard Java API. One would probably have to rewrite 
several parts of the library to make it work under BlackBerry. But at the 
moment I have no time to do so.

However you could try to do the necessary modifications yourself. The source 
code is available in the projects Subversion repository 
(http://code.google.com/p/plist/source/checkout).

Original comment by daniel.dreibrodt on 21 Feb 2012 at 10:04

GoogleCodeExporter commented 9 years ago
oh yes :) you are right. There are many limitations with J2ME. Anyway I am 
really thankful for your help.

Original comment by sfaruq...@gmail.com on 21 Feb 2012 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by daniel.dreibrodt on 19 Sep 2012 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by daniel.dreibrodt on 19 Sep 2012 at 1:30