Building json-jdk15.jar



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


Relevant Pages

  • RE: Building json-jdk15.jar
    ... For Debian and Ubuntu distributions I needed to do; ... At the point were I need to get the json-jdk15.jar the instructions are; ... The first time I tried the cvs command it failed, ... cvs checkout: warning: cannot write to history file ...
    (Ubuntu)
  • Re: ACATS results with Gnat5.01p
    ... Until recently the semi-internal ACT CVS archive for the Ada ... sources (what gets built and shipped to the customers). ... There build instructions for building from source indicates that you had ...
    (comp.lang.ada)
  • Re: What the...
    ... > The one you build from a CVS checkout yourself, ... > you'll find Gnome's instructions on accessing Pan through CVS. ... cvs -z3 checkout pan ... "Lost? ...
    (comp.os.linux.misc)
  • Re: fdp: www from scratch
    ... manee@bank /home/manee/tmp> cvs checkout www doc ... cvs checkout: Updating www ... cvs checkout: Updating www/data ... cvs update: but CVS uses CVS for its own purposes; ...
    (freebsd-questions)
  • Re: Samba CVS at NetLabs - Not Enough Info
    ... cvs checkout: cannot open CVS/Entries for reading: No such file or directory ...
    (comp.os.os2.beta)