← Back to team overview

dhis-mobile-devs team mailing list archive

Compilation error on trunk

 

I am trying to compile the current trunk version of the mobile client (rev
112) and am getting this error..

C:\dhis2\dhis-mobile-client>c:\apache-ant-1.8.2\bin\ant
-Dwtk.home=c:\WTK2.5.2_0
1 build-obfuscated

....

 [proguard] Reading library jar [C:\WTK2.5.2_01\lib\jsr179.jar]
 [proguard] Note: there were 44 duplicate class definitions.
 [proguard] Warning: org.hisp.dhis.mobile.ui.DHISMIDlet$5: can't find
referenced
 method 'void access$400(org.hisp.dhis.mobile.ui.DHISMIDlet)' in class
org.hisp.
dhis.mobile.ui.DHISMIDlet
 [proguard] Note: jmunit.framework.cldc11.TestSuite calls
'(jmunit.framework.cld
c11.Test)Class.forName(variable).newInstance()'
 [proguard] Note: there were 1 class casts of dynamically created class
instance
s.
 [proguard]       You might consider explicitly keeping the mentioned
classes an
d/or
 [proguard]       their implementations (using '-keep').
 [proguard] Warning: there were 1 unresolved references to program class
members
.
 [proguard]          Your input classes appear to be inconsistent.
 [proguard]          You may need to recompile them and try again.
 [proguard]          Alternatively, you may have to specify the option
 [proguard]          '-dontskipnonpubliclibraryclassmembers'.

BUILD FAILED
C:\dhis2\dhis-mobile-client\build.xml:168: Please correct the above warnings
fir
st.

Total time: 2 seconds

C:\dhis2\dhis-mobile-client>


Any tips? The run and build-non-obfuscated options of the ant build.xml file
work fine.


Regards,
Jason

-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+260974901293

Follow ups