lwuit - Codename one builds failing -
i trying port lwuit app codenameone.
i have used json package in application. (org.json.me). package part of json jar , contains classes manipulate json files.
the application working fine when used make j2me builds lwuit.
in codename 1 emulator also, application working without issues.
when i, try send j2me build server right clicking project , selecting 'send j2me build', application's build process crashes warnings.
executing: javac -source 1.2 -target 1.2 -classpath c:\users\shai\appdata\local\temp\build925171746515355215xxx\tmpclasses;c:\users\shai\desktop\j2me\midpapis.jar -d c:\users\shai\appdata\local\temp\build925171746515355215xxx\tmpclasses c:\users\shai\appdata\local\temp\build925171746515355215xxx\tmpsrc\grestub.java executing: java -jar c:\users\shai\desktop\j2me\proguard.jar -injars . -libraryjars c:\users\shai\desktop\j2me\midpapis.jar -outjars c:\users\shai\appdata\local\temp\build925171746515355215xxx\result\gre.jar -target 1.3 -keep public class ** extends javax.microedition.midlet.midlet { public *; } -defaultpackage '' -printmapping c:\users\shai\appdata\local\temp\build925171746515355215xxx\result\obfuscation_mapping.txt -overloadaggressively -dontusemixedcaseclassnames -useuniqueclassmembernames -dontoptimize proguard, version 4.7 reading program directory [c:\users\shai\appdata\local\temp\build925171746515355215xxx\tmpclasses] reading library jar [c:\users\shai\desktop\j2me\midpapis.jar] warning: com.mycompany.myapp.gre: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.gre: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.gre: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.gre: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.gre: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.gre$8: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.gre$8: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonexception warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$4: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$4: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$4: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$4: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$8: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$8: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$9: can't find referenced class org.json.me.jsonobject warning: com.mycompany.myapp.verbal$9: can't find referenced class org.json.me.jsonobject note: com.codename1.impl.midp.gamecanvasimplementation: can't find dynamically referenced class com.siemens.mp.game.light note: com.codename1.impl.midp.gamecanvasimplementation: can't find dynamically referenced class com.motorola.phonebook.phonebookrecord note: com.codename1.impl.midp.gamecanvasimplementation: can't find dynamically referenced class com.nokia.mid.ui.fullcanvas note: com.codename1.impl.midp.gamecanvasimplementation: can't find dynamically referenced class net.rim.device.api.system.application note: com.codename1.impl.midp.gamecanvasimplementation: can't find dynamically referenced class com.mot.iden.util.base64 note: com.codename1.impl.midp.gamecanvasimplementation: can't find dynamically referenced class mmpp.media.mediaplayer note: there 6 unresolved dynamic references classes or interfaces. should check if need specify additional program jars. warning: there 26 unresolved references classes or interfaces. may need specify additional library jars (using '-libraryjars'). error: please correct above warnings first.
now, feel server not finding json package. need build succeed. have used classes of jar lot in app. , don't want migrate inbuilt json parser i'll have change code lot wish strictly avoid.
1)what can resolve this?
2)can not use third party jars in codename one?
you can't change library classpath in codename one. must part of source directories in order work properly.
codename 1 has own json parser please read in codename 1 developer guide.
Comments
Post a Comment