Ahmed-Ouf / mobile-web-development-with-phonegap

Automatically exported from code.google.com/p/mobile-web-development-with-phonegap
0 stars 0 forks source link

update to commons-codec-1.7.jar #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi list, i would report that i was encountering a strange behaviuor.
Latest applaud plugin installed andworking for bundled library until cordova 
1.9. I
'm on win7, eclipse juno+adt.
I was having a problem with non-bundled cordova chain.
The problem, and maybe it is just a problem of mine, as in a my system 
misconfiguration, is that when i was trying using an external cordova tree (say 
2.4.x downloaded from cordova\phonegap home) i was getting an error from wizard 
saying that some file is missing (and showing the top path in windows notation 
terminating with the subdirectories in unix notation, don't know if this is an 
issue). 
The file said missing is 
C:\[user_path]\cordova-2.4.0\cordova-android\framework\libs\commons-codec-1.3.ja
r, and it was indeed true, because in that path there's 
C:\[user_path]\cordova-2.4.0\cordova-android\framework\libs\commons-codec-1.7.ja
r wich is the latest version, and it seems that on 
http://archive.apache.org/dist/commons/codec/ the 1.3 codec release is'nt 
available anymore.
As a workaround, i've find it in 
http://grepcode.com/snapshot/repo1.maven.org/maven2/commons-codec/commons-codec/
1.3 and copied aside to 1.7, and it worked, but it is anyway a strange 
behaviour.
Looking at AppLaud code, if i was looking at the right code snippet, it seems 
that common codec file name is hardcoded 
(http://code.google.com/a/eclipselabs.org/p/mobile-web-development-with-phonegap
/source/browse/trunk/com.mds.apg/src/com/mds/apg/wizards/PhonegapProjectPopulate
.java?r=164#196). 
that's working for me and i don't know if its generalized.
Hope that could be useful.

Original issue reported on code.google.com by paul.beu...@gmail.com on 4 Mar 2013 at 4:02