You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by he...@apache.org on 2004/06/22 11:05:38 UTC

cvs commit: ws-axis/contrib/ews/samples/ejb/bookquote build.xml

hemapani    2004/06/22 02:05:38

  Modified:    contrib/ews/samples/ejb/bookquote/com/jwsbook/jaxrpc
                        BookQuote.java
               contrib/ews/samples/ejb/bookquote build.xml
  Log:
  add test cases to test WAR and JAR files
  
  Revision  Changes    Path
  1.2       +1 -1      ws-axis/contrib/ews/samples/ejb/bookquote/com/jwsbook/jaxrpc/BookQuote.java
  
  Index: BookQuote.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/ejb/bookquote/com/jwsbook/jaxrpc/BookQuote.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BookQuote.java	14 Jun 2004 08:22:55 -0000	1.1
  +++ BookQuote.java	22 Jun 2004 09:05:38 -0000	1.2
  @@ -8,5 +8,5 @@
   package com.jwsbook.jaxrpc;
   
   public interface BookQuote extends java.rmi.Remote {
  -    public float getBookPrice(java.lang.String isbn) throws java.rmi.RemoteException, com.jwsbook.jaxrpc.InvalidIsbnException;
  +    public float getBookPrice(java.lang.String isbn) throws java.rmi.RemoteException;
   }
  
  
  
  1.3       +11 -6     ws-axis/contrib/ews/samples/ejb/bookquote/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/ejb/bookquote/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	14 Jun 2004 08:50:53 -0000	1.2
  +++ build.xml	22 Jun 2004 09:05:38 -0000	1.3
  @@ -21,13 +21,18 @@
   		<mkdir dir="${jar.dir}"/>
    		<jar jarfile="${jar.dir}/bookquote.jar" basedir="${build.classes}" >
   		<include name="**" />
  -		<manifest>
  -			<section name="org/apache/ws4j2ee">
  -			<attribute name="Implementation-Title" value="Apache jsr109 impl"/>
  -			<attribute name="Implementation-Vendor" value="Apache Web Services"/>
  -			</section>
  -		</manifest>
   		</jar>
  +
  +		<copy file ="${basedir}/META-INF/webservice.xml" todir="${build.classes}/META-INF"/>
  +		<copy file ="${basedir}/META-INF/application.xml" todir="${build.classes}/META-INF"/>
  +		<copy file ="${jar.dir}/bookquote.jar" todir="${build.classes}"/>
  +		<jar jarfile="${jar.dir}/bookquote.ear" basedir="${build.classes}">
  +			<include name="**/webservice.xml" />
  +			<include name="**/application.xml" />
  +			<include name="**/*.jar" />
  +			<include name="**/*.war" />
  +		</jar>
  +		 
   		<delete dir="${build}"/>
   	</target>
   </project>