Author: gtrasuk
Date: Thu Jan 20 15:32:36 2011
New Revision: 1061347
URL: http://svn.apache.org/viewvc?rev=1061347&view=rev
Log:
Changed to numeric ip address for codebases rather than host names. This works
better when starting up on laptops, and the host name won't be in anyone else's
DNS or hosts.txt.
Modified:
incubator/river/extra/JiniInfrastructure/trunk/manifest.mf
incubator/river/extra/JiniInfrastructure/trunk/src/startAllNonsecure.config
incubator/river/extra/JiniInfrastructure/trunk/src/startBrowserNonsecure.config
Modified: incubator/river/extra/JiniInfrastructure/trunk/manifest.mf
URL:
http://svn.apache.org/viewvc/incubator/river/extra/JiniInfrastructure/trunk/manifest.mf?rev=1061347&r1=1061346&r2=1061347&view=diff
==============================================================================
--- incubator/river/extra/JiniInfrastructure/trunk/manifest.mf (original)
+++ incubator/river/extra/JiniInfrastructure/trunk/manifest.mf Thu Jan 20
15:32:36 2011
@@ -1,3 +1,5 @@
Manifest-Version: 1.0
X-COMMENT: Main-Class will be added automatically by build
+Class-Path: lib/jsk-platform.jar lib/jsk-resources.jar lib/jsk-lib.jar
+ lib/RiverConfigurationResources.jar lib/start.jar lib/tools.jar
Modified:
incubator/river/extra/JiniInfrastructure/trunk/src/startAllNonsecure.config
URL:
http://svn.apache.org/viewvc/incubator/river/extra/JiniInfrastructure/trunk/src/startAllNonsecure.config?rev=1061347&r1=1061346&r2=1061347&view=diff
==============================================================================
--- incubator/river/extra/JiniInfrastructure/trunk/src/startAllNonsecure.config
(original)
+++ incubator/river/extra/JiniInfrastructure/trunk/src/startAllNonsecure.config
Thu Jan 20 15:32:36 2011
@@ -16,6 +16,7 @@
* limitations under the License.
*/
+import java.io.File;
import com.sun.jini.start.NonActivatableServiceDescriptor;
import com.sun.jini.start.ServiceDescriptor;
import com.sun.jini.config.ConfigUtil;
@@ -26,9 +27,10 @@ start {
com.sun.jini.start {
private static policy = "policy/jsk-all.policy";
- private static host = ConfigUtil.getHostName();
+ private static host = ConfigUtil.getHostAddress();
private static port = start.port;
private static jskdl = " http://" + host + ":" + port + "/jsk-dl.jar";
+ private static pathSep=File.pathSeparator;
serviceDescriptors = new ServiceDescriptor[]{
new NonActivatableServiceDescriptor(
@@ -59,7 +61,7 @@ com.sun.jini.start {
new NonActivatableServiceDescriptor(
"http://" + host + ":" + port + "/reggie-dl.jar" + jskdl,
policy,
- "lib/reggie.jar lib/RiverConfigurationResource.jar",
+ "lib/reggie.jar",
"com.sun.jini.reggie.TransientRegistrarImpl",
new String[] { "startAllNonsecure.config",
"start.discoveryGroup=\"" + start.discoveryGroup + "\""}),
Modified:
incubator/river/extra/JiniInfrastructure/trunk/src/startBrowserNonsecure.config
URL:
http://svn.apache.org/viewvc/incubator/river/extra/JiniInfrastructure/trunk/src/startBrowserNonsecure.config?rev=1061347&r1=1061346&r2=1061347&view=diff
==============================================================================
---
incubator/river/extra/JiniInfrastructure/trunk/src/startBrowserNonsecure.config
(original)
+++
incubator/river/extra/JiniInfrastructure/trunk/src/startBrowserNonsecure.config
Thu Jan 20 15:32:36 2011
@@ -45,7 +45,7 @@ com.sun.jini.start {
new NonActivatableServiceDescriptor(
"http://" + host + ":" + port + "/browser-dl.jar" + jskdl,
policy,
- "lib/mercury.jar",
+ "lib/browser.jar",
"com.sun.jini.example.browser.Browser",
new String[] { "startBrowserNonsecure.config"})