Building json-jdk15.jar
- From: "Jan Sneep" <jan@xxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 20:54:03 -0400
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@xxxxxxxxxxxxxxxxxxxx:/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@ubuntu:/tmp/json-jdk15# cvs -d
:pserver:anonymous@xxxxxxxxxxxxxxxxxxxx:/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@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
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- RE: Building json-jdk15.jar
- From: Jan Sneep
- RE: Building json-jdk15.jar
- Prev by Date: Ubuntu-desktop defaults
- Next by Date: Re: Rename external HD
- Previous by thread: Ubuntu-desktop defaults
- Next by thread: RE: Building json-jdk15.jar
- Index(es):
Relevant Pages
|