Name | Date | Size | |
---|---|---|---|
.. | 12-Mar-2015 | 4 KiB | |
app/ | 12-Mar-2015 | 4 KiB | |
conf/ | 12-Mar-2015 | 4 KiB | |
README.txt | 12-Mar-2015 | 1.2 KiB | |
servlet/ | 12-Mar-2015 | 4 KiB |
README.txt
1This directory contains a simple irc app which is a work in progress. 2 3/app - contains the manifest and any additional resources which are to be 4 packaged in a crx. 5 6/servlet - contains the java servlet which will serve the live resources and 7 also proxy the irc traffic between the client and irc servers 8 9/conf - contains configuration files for running the servlet. 10 11This example depends on WebSockets, so it must be run inside a servlet container 12which supports WebSockets. 13 14The following are instructions for setting up a development jetty server to 15host the servlet. 16 171) Get the jetty 7.x distribution from eclipse.org. Unpack it anywhere. We'll 18 call that directory JETTY_HOME 192) Delete the contents of JETTY_HOME/webapps. 203) Copy /conf/irc.xml to JETTY_HOME/contexts, edit the value of resourceBase in 21 irc.xml to point to the contents of /servlet. 224) Copy jetty.xml and webdefault.xml to JETTY_HOME/etc 235) Copy the following jars from JETTY_HOME/lib to /servlet/WEB-INF/lib: 24 25 jetty-client, jetty-continuation, jetty-http, jetty-io, jetty-servlets, 26 jetty-util 27 286) Compile /servlet/src/org/chromium/IRCProxyWebSocket.java and put the 29 resulting class file in /servlet/WEB-INF/classes 30