Further to Serge's notes yesturday, here is a quick patch that disables
the 'die!' call in ViaSocketManager. Can someone commit this to the
Avalon branch? (output from cvs diff -c).
I'll commit the amended Avalon jars to James cvs.
Charles

=====
Index: ViaSocketManager.java
===================================================================
RCS file:
/products/cvs/master/framework/src/org/apache/avalon/loader/Attic/ViaSocketManager.java,v
retrieving revision 1.3
diff -c -r1.3 ViaSocketManager.java
*** ViaSocketManager.java       2000/06/22 03:09:47     1.3
--- ViaSocketManager.java       2000/10/20 09:08:40
***************
*** 69,79 ****
      private boolean parseCommand(String command) {
          if (command.equalsIgnoreCase("quit")) {
              out.println("Bye");
!             return false;
          } else if (command.equalsIgnoreCase("die!")) {
!             exit = true;
!             out.println("Aghh!");
!             return false;
          } else if (command == null || command.length() == 0) {
              return true;
          } else if (command.equalsIgnoreCase("stop")) {
--- 69,79 ----
      private boolean parseCommand(String command) {
          if (command.equalsIgnoreCase("quit")) {
              out.println("Bye");
!             return true;
          } else if (command.equalsIgnoreCase("die!")) {
!             //exit = true;
!             out.println("Aghh! - Not so fast, hotshot!");
!             return true;
          } else if (command == null || command.length() == 0) {
              return true;
          } else if (command.equalsIgnoreCase("stop")) {


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to