Hi all,
I am on Debian Etch AMD64.
I installed all 3d parties librabry.
I build json.jar according the howto: http://typo3.open-xchange.com/wiki/i...lding_JSON_jar
When I make the compilation with javac I have a warning. It is said to be normal on the howto.
Inside the json.jar I have these files in /org/json:
JSONArray.class
JSONTokener.class
JSONException.class
JSONObject$Null.class
JSONObject$1.class
JSONObject.class
JSONString.class
JSONStringer.class
JSONWriter.class
I feel it strange to have 3 JSONObject files.
Then, when I launch ant, I have this message:
I opened /tmp/open-xchange/src/com/openexchange/ajax/Mail.java.
Here are the lines around 1037:
However, in the Javadoc of JSONObject, there is no function called reset().
ANy ideas ?
Thanks
I am on Debian Etch AMD64.
I installed all 3d parties librabry.
I build json.jar according the howto: http://typo3.open-xchange.com/wiki/i...lding_JSON_jar
When I make the compilation with javac I have a warning. It is said to be normal on the howto.
Inside the json.jar I have these files in /org/json:
JSONArray.class
JSONTokener.class
JSONException.class
JSONObject$Null.class
JSONObject$1.class
JSONObject.class
JSONString.class
JSONStringer.class
JSONWriter.class
I feel it strange to have 3 JSONObject files.
Then, when I launch ant, I have this message:
Code:
/tmp/open-xchange/src/com/openexchange/ajax/Mail.java:1037: cannot f ind symbol [javac] symbol : method reset() [javac] location: class org.json.JSONObject [javac] jo.reset();
Here are the lines around 1037:
final JSONObject jo = new JSONObject();
for (int i = 0; i < insertedObjs.length; i++)
{
final CommonObject current = insertedObjs[i];
jo.reset();
for (int i = 0; i < insertedObjs.length; i++)
{
final CommonObject current = insertedObjs[i];
jo.reset();
ANy ideas ?
Thanks
Comment