Building json-jdk15.jar
Jan Sneep
jan at azureservices.ca
Thu May 31 00:54:03 UTC 2007
I've been following the instructions on this page;
http://wiki.open-xchange.com/wiki/index.php?title=Open_Xchange_Installation#
IV._Installation
At the point were I need to get the json-jdk15.jar the instructions are;
as of 24.04.2007 you need to checkout the modified version here:
cvs -d :pserver:anonymous at www.open-xchange.com:/var/lib/cvs co json-jdk15
You'll have to build the jar yourself.
Once you have checked out json-jdk15 from the cvs do:
& cd /tmp/json-jdk15
& ant
& cp lib/json.jar /opt/open-xchange/lib
Retrieved from
http://www.open-xchange.com/wiki/index.php?title=Building_JSON_jar
The first time I tried the cvs command it failed, but the error message
kindly told me that if I did an "apt-get install cvs" I could install the
cvs application. So I did that and then tried it again. The following is the
output;
root at ubuntu:/tmp/json-jdk15# cvs -d
:pserver:anonymous at www.open-xchange.com:/var/lib/cvs co json-jdk15
cvs checkout: CVS password file /root/.cvspass does not exist - creating a
new file
cvs checkout: warning: cannot write to history file
/var/lib/cvs/CVSROOT/history: Permission denied
cvs checkout: Updating json-jdk15
U json-jdk15/build.xml
cvs checkout: Updating json-jdk15/src
cvs checkout: Updating json-jdk15/src/org
cvs checkout: Updating json-jdk15/src/org/json
U json-jdk15/src/org/json/CDL.java
U json-jdk15/src/org/json/Cookie.java
U json-jdk15/src/org/json/CookieList.java
U json-jdk15/src/org/json/HTTP.java
U json-jdk15/src/org/json/HTTPTokener.java
U json-jdk15/src/org/json/JSONArray.java
U json-jdk15/src/org/json/JSONException.java
U json-jdk15/src/org/json/JSONObject.java
U json-jdk15/src/org/json/JSONString.java
U json-jdk15/src/org/json/JSONStringer.java
U json-jdk15/src/org/json/JSONTokener.java
U json-jdk15/src/org/json/JSONWriter.java
U json-jdk15/src/org/json/Test.java
U json-jdk15/src/org/json/XML.java
U json-jdk15/src/org/json/XMLTokener.java
As per the instructions I then tried to "ant" and that failed.
root at ubuntu:/tmp/json-jdk15# ant
Error: JAVA_HOME is not defined correctly.
We cannot execute java
Any ideas on what I need to do to create this .jar file?
Cheers,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070530/86b28a11/attachment.html>
More information about the ubuntu-users
mailing list