xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: xml-soap/java/samples/stockquote GetQuote.java GetQuoteSMTP.java StockQuoteService.java
Date Mon, 22 May 2000 00:33:30 GMT
rubys       00/05/21 17:33:29

  Modified:    java     build.xml
               java/samples/addressbook Address.java AddressBook.java
                        GetAddress.java PhoneNumber.java PutAddress.java
               java/samples/calculator Calculator.java
               java/samples/stockquote GetQuote.java GetQuoteSMTP.java
                        StockQuoteService.java
  Log:
  make samples build correctly
  
  Revision  Changes    Path
  1.2       +6 -3      xml-soap/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2000/05/22 00:03:45	1.1
  +++ build.xml	2000/05/22 00:33:25	1.2
  @@ -38,7 +38,7 @@
   Copyright:
     Copyright (c) 2000 Apache Software Foundation.
   
  -   $Id: build.xml,v 1.1 2000/05/22 00:03:45 rubys Exp $
  +   $Id: build.xml,v 1.2 2000/05/22 00:33:25 rubys Exp $
   
   ==================================================================== -->
   
  @@ -104,8 +104,11 @@
     <!-- =================================================================== -->
     <target name="samples" depends="compile">
       <mkdir dir="${build.samples}"/>
  -    <javac srcdir="${samples.dir}" destdir="${build.samples}" 
  -           classpath="${build.dir}/${name}.jar" debug="${debug}"/>
  +    <javac srcdir="${src.dir}" destdir="${build.samples}" 
  +           classpath="${build.lib}/${name}.jar" debug="${debug}">
  +      <include name="**/samples/**" />
  +      <exclude name="**/*SMTP*.java" unless="smtp.present" />
  +    </javac>
       <copydir src="${samples.dir}" dest="${build.samples}" />
     </target>
   
  
  
  
  1.2       +3 -3      xml-soap/java/samples/addressbook/Address.java
  
  Index: Address.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/addressbook/Address.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Address.java	2000/05/22 00:03:45	1.1
  +++ Address.java	2000/05/22 00:33:25	1.2
  @@ -55,10 +55,10 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.addressbook;
  +package samples.addressbook;
   
   /**
  - * See \demos\addressbook\readme for info.
  + * See \samples\addressbook\readme for info.
    *
    * @author Matthew J. Duftler (duftler@us.ibm.com)
    */
  @@ -152,4 +152,4 @@
              city + ", " + state + " " + zip + "\n" +
              phoneNumber;
     }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +3 -3      xml-soap/java/samples/addressbook/AddressBook.java
  
  Index: AddressBook.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/addressbook/AddressBook.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AddressBook.java	2000/05/22 00:03:45	1.1
  +++ AddressBook.java	2000/05/22 00:33:26	1.2
  @@ -55,12 +55,12 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.addressbook;
  +package samples.addressbook;
   
   import java.util.*;
   
   /**
  - * See \demos\addressbook\readme for info.
  + * See \samples\addressbook\readme for info.
    *
    * @author Matthew J. Duftler (duftler@us.ibm.com)
    */
  @@ -91,4 +91,4 @@
   
       return (Address)name2AddressTable.get(name);
     }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +3 -3      xml-soap/java/samples/addressbook/GetAddress.java
  
  Index: GetAddress.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/addressbook/GetAddress.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GetAddress.java	2000/05/22 00:03:45	1.1
  +++ GetAddress.java	2000/05/22 00:33:26	1.2
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.addressbook;
  +package samples.addressbook;
   
   import java.io.*;
   import java.util.*;
  @@ -68,7 +68,7 @@
   import org.apache.soap.rpc.*;
   
   /**
  - * See \demos\addressbook\readme for info.
  + * See \samples\addressbook\readme for info.
    *
    * @author Matthew J. Duftler (duftler@us.ibm.com)
    */
  @@ -149,4 +149,4 @@
         System.out.println ("  Fault String = " + fault.getFaultString());
       }
     }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +3 -3      xml-soap/java/samples/addressbook/PhoneNumber.java
  
  Index: PhoneNumber.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/addressbook/PhoneNumber.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PhoneNumber.java	2000/05/22 00:03:45	1.1
  +++ PhoneNumber.java	2000/05/22 00:33:26	1.2
  @@ -55,10 +55,10 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.addressbook;
  +package samples.addressbook;
   
   /**
  - * See \demos\addressbook\readme for info.
  + * See \samples\addressbook\readme for info.
    *
    * @author Matthew J. Duftler (duftler@us.ibm.com)
    */
  @@ -113,4 +113,4 @@
     {
       return "(" + areaCode + ") " + exchange + "-" + number;
     }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +3 -3      xml-soap/java/samples/addressbook/PutAddress.java
  
  Index: PutAddress.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/addressbook/PutAddress.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PutAddress.java	2000/05/22 00:03:45	1.1
  +++ PutAddress.java	2000/05/22 00:33:26	1.2
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.addressbook;
  +package samples.addressbook;
   
   import java.io.*;
   import java.util.*;
  @@ -68,7 +68,7 @@
   import org.apache.soap.rpc.*;
   
   /**
  - * See \demos\addressbook\readme for info.
  + * See \samples\addressbook\readme for info.
    *
    * @author Matthew J. Duftler (duftler@us.ibm.com)
    */
  @@ -160,4 +160,4 @@
         System.out.println ("  Fault String = " + fault.getFaultString());
       }
     }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.2       +2 -2      xml-soap/java/samples/calculator/Calculator.java
  
  Index: Calculator.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/calculator/Calculator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Calculator.java	2000/05/22 00:03:51	1.1
  +++ Calculator.java	2000/05/22 00:33:28	1.2
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.calculator;
  +package samples.calculator;
   
   import java.io.*;
   import java.net.*;
  @@ -204,7 +204,7 @@
          throws SOAPException {
       // Build the call.
       Call call = new Call ();
  -    call.setTargetObjectURI ("urn:ibm-soap-demo-calculator");
  +    call.setTargetObjectURI ("urn:xml-soap-samples-calculator");
       call.setMethodName (op);
       call.setEncodingStyleURI(encodingStyleURI);
       Vector params = new Vector ();
  
  
  
  1.2       +1 -1      xml-soap/java/samples/stockquote/GetQuote.java
  
  Index: GetQuote.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/stockquote/GetQuote.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GetQuote.java	2000/05/22 00:03:51	1.1
  +++ GetQuote.java	2000/05/22 00:33:28	1.2
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.stockquote;
  +package samples.stockquote;
   
   import java.io.*;
   import java.net.*;
  
  
  
  1.2       +1 -1      xml-soap/java/samples/stockquote/GetQuoteSMTP.java
  
  Index: GetQuoteSMTP.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/stockquote/GetQuoteSMTP.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GetQuoteSMTP.java	2000/05/22 00:03:51	1.1
  +++ GetQuoteSMTP.java	2000/05/22 00:33:28	1.2
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.stockquote;
  +package samples.stockquote;
   
   import java.io.*;
   import java.net.*;
  
  
  
  1.2       +2 -2      xml-soap/java/samples/stockquote/StockQuoteService.java
  
  Index: StockQuoteService.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/samples/stockquote/StockQuoteService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StockQuoteService.java	2000/05/22 00:03:51	1.1
  +++ StockQuoteService.java	2000/05/22 00:33:28	1.2
  @@ -55,7 +55,7 @@
    * <http://www.apache.org/>.
    */
   
  -package demos.stockquote;
  +package samples.stockquote;
   
   import java.net.URL;
   import java.io.*;
  @@ -64,7 +64,7 @@
   import org.apache.soap.util.DOMUtils;
   
   /**
  - * See \demos\stockquote\readme for info.
  + * See \samples\stockquote\readme for info.
    *
    * @author Sanjiva Weerawarana (sanjiva@watson.ibm.com)
    */
  
  
  

Mime
View raw message