avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/server PDKDemoServerImpl.java
Date Fri, 31 May 2002 21:43:44 GMT
hammant     2002/05/31 14:43:44

  Modified:    .        build.xml
               src/pdk  build.xml
               src/pdk/src/java/phoenixdemo/api PDKDemoServer.java
               src/pdk/src/java/phoenixdemo/block DefaultPDKDemoServer.java
               src/pdk/src/java/phoenixdemo/server PDKDemoServerImpl.java
  Log:
  General update to PDK
  
  Revision  Changes    Path
  1.131     +3 -0      jakarta-avalon-phoenix/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/build.xml,v
  retrieving revision 1.130
  retrieving revision 1.131
  diff -u -r1.130 -r1.131
  --- build.xml	25 May 2002 16:14:30 -0000	1.130
  +++ build.xml	31 May 2002 21:43:43 -0000	1.131
  @@ -554,6 +554,9 @@
               </fileset>
               <fileset dir=".">
                   <include name="lib/**"/>
  +                <exclude name="lib/xdoclet*.jar"/>
  +                <exclude name="lib/xjavadoc*.jar"/>
  +                <exclude name="lib/xerces.jar"/>
               </fileset>
               <fileset dir="build">
                   <include name="lib/phoenix-client.jar"/>
  
  
  
  1.7       +1 -1      jakarta-avalon-phoenix/src/pdk/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/pdk/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	11 Dec 2001 10:13:36 -0000	1.6
  +++ build.xml	31 May 2002 21:43:43 -0000	1.7
  @@ -33,7 +33,7 @@
       <echo>This sub project is not intended to be built in situ.</echo>
       <echo>It is supposed to be self contained and part of a separate PDK distribution</echo>
       <echo>Run the make-pdk target in the Phoenix project to make the PDK</echo>
  -    <fail>Build aborted.</fail>
  +    <fail message="Build aborted."/>
     </target>  
   
     <!-- Compiles project -->
  
  
  
  1.5       +2 -1      jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/api/PDKDemoServer.java
  
  Index: PDKDemoServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/api/PDKDemoServer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PDKDemoServer.java	25 Mar 2002 09:06:18 -0000	1.4
  +++ PDKDemoServer.java	31 May 2002 21:43:43 -0000	1.5
  @@ -11,8 +11,9 @@
    * Interface PDKDemoServer
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version * $Revision: 1.4 $
  + * @version * $Revision: 1.5 $
    */
   public interface PDKDemoServer
   {
  +    void message(String string);
   }
  
  
  
  1.5       +6 -2      jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/block/DefaultPDKDemoServer.java
  
  Index: DefaultPDKDemoServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/block/DefaultPDKDemoServer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DefaultPDKDemoServer.java	25 Mar 2002 09:06:18 -0000	1.4
  +++ DefaultPDKDemoServer.java	31 May 2002 21:43:43 -0000	1.5
  @@ -13,7 +13,6 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
  -import org.apache.avalon.phoenix.Block;
   import phoenixdemo.api.PDKDemoServer;
   import phoenixdemo.server.PDKDemoServerImpl;
   
  @@ -23,7 +22,7 @@
    */
   public class DefaultPDKDemoServer
       extends AbstractLogEnabled
  -    implements Block, PDKDemoServer, Configurable, Startable, Initializable
  +    implements PDKDemoServer, Configurable, Startable, Initializable
   {
       private int m_port;
       private PDKDemoServerImpl m_pdkServer;
  @@ -39,6 +38,11 @@
           throws Exception
       {
           m_pdkServer = new PDKDemoServerImpl();
  +    }
  +
  +    public void message(String string)
  +    {
  +        System.out.println( "String passed = " + string );
       }
   
       public void start()
  
  
  
  1.5       +8 -2      jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/server/PDKDemoServerImpl.java
  
  Index: PDKDemoServerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/pdk/src/java/phoenixdemo/server/PDKDemoServerImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PDKDemoServerImpl.java	25 Mar 2002 09:06:18 -0000	1.4
  +++ PDKDemoServerImpl.java	31 May 2002 21:43:44 -0000	1.5
  @@ -15,7 +15,7 @@
   
   /**
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class PDKDemoServerImpl
       implements PDKDemoServer
  @@ -37,7 +37,7 @@
               {
               }
   
  -            System.out.println( "String passed = " + string );
  +            message(string);
               ois.close();
               socket.close();
           }
  @@ -46,6 +46,12 @@
               System.out.println( "Unexpected IO Exception" );
           }
       }
  +
  +    public void message(String string)
  +    {
  +        System.out.println( "String passed = " + string );
  +    }
  +
   
       public static void main( final String[] args )
           throws IOException
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message