I am using GWT 2.5.0. I want to use some methods in org.apache.commons. GWT want source code also for adding external jar. So I downloaded source and class files and merge both in jar. It is not giving any error for some methods but some classes of org.apache refering other class outside this package. So it gives the following error
[ERROR] [rmchecking] - Errors in 'org/apache/commons/lang/StringUtils.java'
[ERROR] [rmchecking] - Line 237: The method isWhitespace(char) is undefined for the type Character
Is there any package in gwt that giving same facility of this org.apache.commons? or how to use this same package in gwt?
It is not really possible since StringUtils is based on
javaregular expression and the GWT regularexpression emulator is based on a
javascript. You will need to write it by your own