Changeset 2709
- Timestamp:
- 02/17/05 15:45:23 (8 years ago)
- Location:
- trunk/jp
- Files:
-
- 2 added
- 3 edited
- 5 moved
-
build.xml (modified) (6 diffs)
-
src/jp/example (added)
-
src/jp/example/rmiserver (added)
-
src/jp/example/rmiserver/PartyClient.java (moved) (moved from trunk/jp/src/jp/lang/PartyClient.java) (1 diff)
-
src/jp/example/rmiserver/PartyConfig.java (moved) (moved from trunk/jp/src/jp/lang/PartyConfig.java) (2 diffs)
-
src/jp/example/rmiserver/PartyServer.java (moved) (moved from trunk/jp/src/jp/lang/PartyServer.java) (2 diffs)
-
src/jp/example/rmiserver/PartyServer_intf.java (moved) (moved from trunk/jp/src/jp/lang/PartyServer_intf.java) (1 diff)
-
src/jp/example/rmiserver/PartyWorker.java (moved) (moved from trunk/jp/src/jp/lang/PartyWorker.java) (1 diff)
-
src/jp/lang/ConfigJP.java (modified) (1 diff)
-
src/jp/lang/Configuration.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jp/build.xml
r2707 r2709 274 274 <exclude name="jp/lang/RemoteThread.java" /> 275 275 <exclude name="jp/lang/RuntimeExplorer.java" /> 276 277 <exclude name="jp/lang/Party*.java" />278 276 </jpc> 279 277 … … 286 284 <include name="jp/lang/JavaParty.java" /> 287 285 <include name="jp/lang/RMICompatibility.java" /> 288 289 <include name="jp/lang/PartyConfig.java" />290 286 </javac> 291 287 … … 295 291 <include name="jp/lang/RemoteThread.java" /> 296 292 <include name="jp/lang/RuntimeExplorer.java" /> 297 298 <include name="jp/lang/PartyWorker.java" />299 293 </jpc> 294 </target> 295 296 <target name="jp-example" depends="jp-env"> 297 <jpc destdir="${classes}" debug="on" generatedJPPath="${jpgen}"> 298 <classpath refid="cp" /> 299 <src path="${javasrc}" /> 300 <include name="jp/example/rmiserver/PartyConfig.java" /> 301 <include name="jp/example/rmiserver/PartyWorker.java" /> 302 </jpc> 300 303 301 304 <javac destdir="${classes}" debug="on"> … … 303 306 <src path="${javasrc}" /> 304 307 305 <include name="jp/ lang/PartyClient.java" />306 <include name="jp/ lang/PartyServer.java" />308 <include name="jp/example/rmiserver/PartyClient.java" /> 309 <include name="jp/example/rmiserver/PartyServer.java" /> 307 310 </javac> 308 311 … … 310 313 <classpath refid="cp" /> 311 314 312 <include name="jp/ lang/PartyServer.class" />313 </rmic>315 <include name="jp/example/rmiserver/PartyServer.class" /> 316 </rmic> 314 317 </target> 315 318 … … 338 341 </target> 339 342 340 <target name="jp-jar" depends="jp-env, jp- tools, jp-sync">343 <target name="jp-jar" depends="jp-env, jp-example, jp-tools, jp-sync"> 341 344 <jar jarfile="${build}/jp.jar"> 342 345 <fileset dir="${classes}" 343 includes="jp/ **"/>346 includes="jp/lang/**"/> 344 347 </jar> 345 348 </target> -
trunk/jp/src/jp/example/rmiserver/PartyClient.java
r2708 r2709 1 package jp.lang; 1 /* *************************************************************************** 2 * JavaParty 3 * 4 * Copyright (C) 1996-2005 The JavaParty Team, University of Karlsruhe 5 * 6 * Permission is hereby granted to modify and use this software for research 7 * and teaching purposes. Modification for commercial purposes requires 8 * prior written permission by the author. 9 * 10 * The software, or modifications thereof, may be redistributed only 11 * if this copyright notice stays attached. 12 *****************************************************************************/ 13 14 package jp.example.rmiserver; 2 15 3 16 import java.rmi.registry.Registry; 4 17 import java.rmi.registry.LocateRegistry; 18 5 19 6 20 /** The client-tier application. */ -
trunk/jp/src/jp/example/rmiserver/PartyConfig.java
r2707 r2709 2 2 * JavaParty 3 3 * 4 * Copyright (C) 1996-200 2The JavaParty Team, University of Karlsruhe4 * Copyright (C) 1996-2005 The JavaParty Team, University of Karlsruhe 5 5 * 6 6 * Permission is hereby granted to modify and use this software for research … … 11 11 * if this copyright notice stays attached. 12 12 *****************************************************************************/ 13 /*14 * $Revision: 1.7 $15 * $Date: 2002/05/24 19:19:07 $16 */17 13 18 package jp.lang; 14 package jp.example.rmiserver; 15 16 import jp.lang.ConfigJP; 17 19 18 20 19 /** -
trunk/jp/src/jp/example/rmiserver/PartyServer.java
r2708 r2709 1 package jp.lang; 1 /* *************************************************************************** 2 * JavaParty 3 * 4 * Copyright (C) 1996-2005 The JavaParty Team, University of Karlsruhe 5 * 6 * Permission is hereby granted to modify and use this software for research 7 * and teaching purposes. Modification for commercial purposes requires 8 * prior written permission by the author. 9 * 10 * The software, or modifications thereof, may be redistributed only 11 * if this copyright notice stays attached. 12 *****************************************************************************/ 13 14 package jp.example.rmiserver; 2 15 3 16 import jp.lang.ApplicationContext; … … 6 19 import jp.lang.RuntimeEnvironment; 7 20 import jp.lang.RuntimeManager; 8 9 import jp.lang.PartyConfig;10 21 11 22 -
trunk/jp/src/jp/example/rmiserver/PartyServer_intf.java
r2707 r2709 1 package jp.lang; 1 /* *************************************************************************** 2 * JavaParty 3 * 4 * Copyright (C) 1996-2005 The JavaParty Team, University of Karlsruhe 5 * 6 * Permission is hereby granted to modify and use this software for research 7 * and teaching purposes. Modification for commercial purposes requires 8 * prior written permission by the author. 9 * 10 * The software, or modifications thereof, may be redistributed only 11 * if this copyright notice stays attached. 12 *****************************************************************************/ 13 14 package jp.example.rmiserver; 2 15 3 16 -
trunk/jp/src/jp/example/rmiserver/PartyWorker.java
r2708 r2709 1 package jp.lang; 1 /* *************************************************************************** 2 * JavaParty 3 * 4 * Copyright (C) 1996-2005 The JavaParty Team, University of Karlsruhe 5 * 6 * Permission is hereby granted to modify and use this software for research 7 * and teaching purposes. Modification for commercial purposes requires 8 * prior written permission by the author. 9 * 10 * The software, or modifications thereof, may be redistributed only 11 * if this copyright notice stays attached. 12 *****************************************************************************/ 13 14 package jp.example.rmiserver; 2 15 3 16 import jp.lang.ConfigJP; -
trunk/jp/src/jp/lang/ConfigJP.java
r1663 r2709 25 25 public abstract class ConfigJP extends ConfigBase implements Constants { 26 26 // default values 27 String host = null;28 int port = -1;29 String code = null;27 public String host = null; 28 public int port = -1; 29 public String code = null; 30 30 31 int timeout = 10;31 public int timeout = 10; 32 32 33 boolean verbose = false;34 boolean debug = false;33 public boolean verbose = false; 34 public boolean debug = false; 35 35 36 36 public String argumentDescription() { -
trunk/jp/src/jp/lang/Configuration.java
r1664 r2709 360 360 } 361 361 362 p rotectedRuntimeManager getRuntimeManager(int timeout) throws ConfigurationException {362 public RuntimeManager getRuntimeManager(int timeout) throws ConfigurationException { 363 363 if (debug) System.err.println("lookup runtime manager at " + this); 364 364
Note: See TracChangeset
for help on using the changeset viewer.
