SachinPuthran / bluecove

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

TRying to include bluecove in j2mepolish #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Proguard can't obfuscate bluecove jar
2. There are some referenced methods that can't be founded
3. If I include it without obfuscating is displayed that error:
java/lang/NoClassDefFoundError: com/ibm/oti/connection/CreateConnection

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

I try to include bluecove in a j2mepolish  project, but i cannot obfuscate
and without obfuscating i get the following error:
java/lang/NoClassDefFoundError: com/ibm/oti/connection/CreateConnection

What BlueCove version are you using (include build number for SNAPSHOT)? On
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?

Bluecove 2.0.2, Tryed with different jvm 1.4, 1.5, 1.6 32-bit Windows vista

Please provide any additional information below.

Thanks, help me please...

This is error the error provided from eclipse when i try to compile with
ant my j2mepolish project:

[j2mepolish] Warning: inherits: class not found: org/apache/log4j/Category
[j2mepolish] Warning: inherits: class not found: org/apache/log4j/Category
[j2mepolish] Warning: inherits: class not found: org/apache/log4j/Category
[j2mepolish] obfuscating for device [Generic/Midp2Cldc11].
[j2mepolish] proguard: ProGuard, version 4.1
[j2mepolish] proguard: Warning: com.sun.cdc.io.j2me.btspp.Protocol: can't
find superclass or interface com.sun.cdc.io.ConnectionBaseInterface
[j2mepolish] proguard: Warning: com.intel.bluetooth.btgoep.Connection:
can't find superclass or interface com.ibm.oti.connection.CreateConnection
[j2mepolish] proguard: Warning: com.intel.bluetooth.BlueCoveImpl$1: can't
find superclass or interface java.security.PrivilegedExceptionAction
[j2mepolish] proguard: Warning: com.intel.bluetooth.tcpobex.Connection:
can't find superclass or interface com.ibm.oti.connection.CreateConnection
[j2mepolish] proguard: Warning: com.sun.cdc.io.j2me.tcpobex.Protocol: can't
find superclass or interface com.sun.cdc.io.ConnectionBaseInterface
[j2mepolish] proguard: Warning: com.sun.cdc.io.j2me.btgoep.Protocol: can't
find superclass or interface com.sun.cdc.io.ConnectionBaseInterface
[j2mepolish] proguard: Warning: com.intel.bluetooth.btspp.Connection: can't
find superclass or interface com.ibm.oti.connection.CreateConnection
[j2mepolish] proguard: Warning: com.sun.cdc.io.j2me.btl2cap.Protocol: can't
find superclass or interface com.sun.cdc.io.ConnectionBaseInterface
[j2mepolish] proguard: Warning: com.intel.bluetooth.btl2cap.Connection:
can't find superclass or interface com.ibm.oti.connection.CreateConnection
[j2mepolish] proguard: Warning: com.intel.bluetooth.UtilsJavaSE: can't find
referenced method 'java.lang.StackTraceElement[] getStackTrace()' in class
java.lang.Throwable
[j2mepolish] proguard: Warning: com.intel.bluetooth.UtilsJavaSE: can't find
referenced method 'void setDaemon(boolean)' in class java.lang.Thread
[j2mepolish] proguard: Warning: com.intel.bluetooth.UtilsJavaSE: can't find
referenced method 'void addShutdownHook(java.lang.Thread)' in class
java.lang.Runtime
[j2mepolish] proguard: Warning: com.intel.bluetooth.UtilsJavaSE: can't find
referenced method 'java.util.Properties getProperties()' in class
java.lang.System
[j2mepolish] proguard: Warning: com.intel.bluetooth.UtilsJavaSE: can't find
referenced method 'java.lang.String
setProperty(java.lang.String,java.lang.String)' in class java.lang.System
[j2mepolish] proguard: Warning: com.intel.bluetooth.UtilsJavaSE: can't find
referenced method 'java.lang.String clearProperty(java.lang.String)' in
class java.lang.System
[j2mepolish] proguard: Warning: com.intel.bluetooth.BluetoothStackToshiba:
can't find referenced method 'boolean interrupted()' in class java.lang.Thread
[j2mepolish] proguard: Warning: com.intel.bluetooth.SelectServiceHandler:
can't find referenced method 'boolean add(java.lang.Object)' in class
java.util.Vector
[j2mepolish] proguard: Warning:
com.intel.bluetooth.BluetoothStackBlueSoleil: can't find referenced method
'boolean interrupted()' in class java.lang.Thread
[j2mepolish] proguard: Warning: com.intel.bluetooth.BluetoothStackOSX:
can't find referenced method 'boolean interrupted()' in class java.lang.Thread
[j2mepolish] proguard: Warning: com.intel.bluetooth.BluetoothStackWIDCOMM:
can't find referenced method 'boolean interrupted()' in class java.lang.Thread
[j2mepolish] proguard: Warning: com.intel.bluetooth.NativeLibLoader: can't
find referenced method 'void loadLibrary(java.lang.String)' in class
java.lang.System
[j2mepolish] proguard: Warning: com.intel.bluetooth.NativeLibLoader: can't
find referenced method 'void load(java.lang.String)' in class java.lang.System
[j2mepolish] proguard: Warning: com.intel.bluetooth.NativeLibLoader: can't
find referenced method 'java.lang.ClassLoader getClassLoader()' in class
java.lang.Class
[j2mepolish] proguard: Warning:
com.intel.bluetooth.BluetoothStackMicrosoft: can't find referenced method
'boolean interrupted()' in class java.lang.Thread
[j2mepolish] proguard: Warning: com.intel.bluetooth.DebugLog: can't find
referenced method 'void printStackTrace(java.io.PrintStream)' in class
java.lang.Throwable
[j2mepolish] proguard: Warning: there were 9 unresolved references to
superclasses or interfaces.
[j2mepolish] proguard:          You may need to specify additional library
jars (using '-libraryjars'),
[j2mepolish] proguard:          or perhaps the
'-dontskipnonpubliclibraryclasses' option.
[j2mepolish] proguard: Warning: there were 16 unresolved references to
program class members.
[j2mepolish] proguard:          Your input classes appear to be inconsistent.
[j2mepolish] proguard:          You may need to recompile them and try again.
[j2mepolish] proguard:          Alternatively, you may have to specify the
options 
[j2mepolish] proguard:          '-dontskipnonpubliclibraryclasses' and/or
[j2mepolish] proguard:          '-dontskipnonpubliclibraryclassmembers'.
[j2mepolish] proguard: Error: Please correct the above warnings first.

Original issue reported on code.google.com by zamboni....@gmail.com on 5 Aug 2008 at 8:55

GoogleCodeExporter commented 9 years ago
The progard can be used to shrink the size see example projects.

As to you particular problem bluecove can't be used as part of MIDP application 
on
the phone.

Original comment by skarzhev...@gmail.com on 5 Aug 2008 at 1:44