hammant     2003/01/01 12:49:51

  Modified:    demo/src/conf avalon-demo-config.xml
               demo/src/java/org/apache/avalon/apps/demos/helloworldserver
                        HelloWorldServerImpl.java
  Log:
  Proof of config bug by Ulrich Mayring
  
  Revision  Changes    Path
  1.10      +1 -0      jakarta-avalon-apps/demo/src/conf/avalon-demo-config.xml
  
  Index: avalon-demo-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/demo/src/conf/avalon-demo-config.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- avalon-demo-config.xml    13 Aug 2002 23:10:42 -0000      1.9
  +++ avalon-demo-config.xml    1 Jan 2003 20:49:51 -0000       1.10
  @@ -42,6 +42,7 @@
         <helloworldhandler>
           <connectiontimeout>360000</connectiontimeout>
         </helloworldhandler>
  +      <test></test> 
     </helloworldserver>
   
   </config>
  
  
  
  1.13      +1 -0      
jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerImpl.java
  
  Index: HelloWorldServerImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- HelloWorldServerImpl.java 31 Aug 2002 06:50:00 -0000      1.12
  +++ HelloWorldServerImpl.java 1 Jan 2003 20:49:51 -0000       1.13
  @@ -82,6 +82,7 @@
           {
               throw new ConfigurationException( "Malformed bind parameter", 
unhe );
           }
  +             String test = configuration.getChild("test").getValue();
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to