building
Submitted by gregwilkins on Thu, 06/12/2008 - 02:10.
Check out Jetty (or download a release)
To build from the top level:
Cometd is in To run cometd, there are several options:
The cometd-jetty code is currently both part of the jetty release and part of the cometd release. It can be built from either checkout, however as it currently depends on jetty, it is simpler to build from a checkout of jetty.
Building from cometd-jetty
Checkout either one of the releases from http://svn.cometd.com/tags/ or the latest from http://svn.cometd.com/trunk and build:
svn co http://svn.cometd.com/trunk cometd cd cometd mvn cd cometd-jetty mvn cd demo mvn jetty:run-war
Building from jetty
mvn install
contrib/cometd for jetty-6.1 and in modules/extra/cometd for jetty-7
- From the top level of a jetty release, run:
java -jar start.jar
The cometd demo war is deployed by default on http://localhost:8080/cometd/
- To run from maven, cd to the cometd/demo module and run:
mvn jetty:run-war
- To run from an IDE, import the projects and run the dojox.cometd.demo.CometdDemo class as a main. It has an embedded jetty server which runs the demos on http://localhost:8080/cometd/
»
- Printer-friendly version
- Login or register to post comments