OSNAT/Readme

This project uses Google Web Toolkit ( http://code.google.com/webtoolkit/gettingstarted.html ).

The libraries are required to be in the classpath:


 * gwt-dnd ( using 2.6.4, )
 * gwt-incubator ( using july-14-2009, )
 * gwt-log ( using 2.6.2, )
 * gwt-query ( using 1.0-SNAPSHOT, )

Eclipse with Plugin
The project can be build by installing the Google Web Toolkit Plugin for Eclipse ( http://code.google.com/appengine/docs/java/tools/eclipse.html ), opening the project in eclipse, adjusting the to include the required libraries ( or placing the libraries in the project folder ), and compiling the web application using the plugin.

Apache Ant
See. To build with Ant, download and extract the Google Web Toolkit, and install Apache Ant. To build with Ant, simply run:

ant build

Notes: 
 * The script has to be modified to point to the Google Web Toolkit path:
 * Make sure that that the environment variable JAVA_HOME is pointing to the JDK
 * Currently, the build script expects the libraries to be in this folder, and with the exact file names as the version above

Running the application
In order to run correctly, the Same Origin Policy must be adhered to, and therefore the application will require that it be run under the same domain name as the eXist server REST interface. ./war/Transcription.html should also be modified to point to the correct eXist server ( its a parameter in a Javacript dictionary located in a script tag ). To run the application, open ./war/Transcription.html in a browser.

The eXist server is currently running at http://shell.jewishliturgy.org:8080/exist/rest/, and is proxied via Apache at http://shell.jewishliturgy.org/exist/rest/. In addition, the domain name shell.jewishliturgy.org is pointing to the same IP address as jewishliturgy.org.

If you want to run your own eXist server, see Mirroring_the_database.

[Category:OSNAT]