/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 1. Download the River source and expand to an Eclipse workspace 2. Open Eclipse, "New Project", give it the name that you've downloaded to for project home 3. Open the Ant view, and move the build.xml into it 4. Run the all.build Ant task, on my laptop this takes approximately 6.5 minutes 5. Run the build.extras Ant task to build the additional JARs This has built the River distribution and put it all in lib, lib-dl and lib-ext directories inside your project. So let's call your project directory $RIVER_HOME. We now have the dirs - $RIVER_HOME/lib - $RIVER_HOME/lib-dl - $RIVER_HOME/lib-ext It's important to know what the value of these directories are because we'll need them later. = Starting The HTTP Server = Supplying the correct arguments, run the StartHttpServer.java found in ... The correct arguments are; args[0] = $RIVER_HOME args[1] = HTTP port to use You should get some nice output. You can validate that it's working correctly by using a browser (or wget) and trying to download "http://localhost:8081/reggie-dl.jar" = Starting a Lookup Service = Notice the difference between the lookup service's memberGroups and lookupGroups and the lookuoGroups as specified for different services