axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject cvs commit: ws-axis/contrib/ews/samples/ejb/time build.xml
Date Mon, 26 Jul 2004 12:23:07 GMT
hemapani    2004/07/26 05:23:07

  Modified:    contrib/ews/samples/servlet/bookquote build.xml
               contrib/ews/samples/ejb/zip build.xml
               contrib/ews/samples/ejb/google build.xml
               contrib/ews/samples/ejb/bookquote build.xml
               contrib/ews/samples/ejb/echo build.xml
               contrib/ews/samples/ejb/time build.xml
  Log:
  update the sample build files to create the module IFF it is not u to date
  
  Revision  Changes    Path
  1.2       +17 -3     ws-axis/contrib/ews/samples/servlet/bookquote/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/servlet/bookquote/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	22 Jul 2004 07:51:01 -0000	1.1
  +++ build.xml	26 Jul 2004 12:23:06 -0000	1.2
  @@ -1,12 +1,14 @@
   <project name="axis" default="war" basedir=".">
   	<property name="build" value="build"/>
  +	<property name="src" value="."/>
   	<property name="jar.dir" location="../../../target/generated/samples/"/>
  -	<target name="war" description="Create the web application" >
  +	<target name="war" description="Create the web application" 
  +		depends="init" unless="jars.uptodate">
   		<mkdir dir="${build}" />
   		<mkdir dir="${build}/WEB-INF/lib"/>
   		<mkdir dir="${build}/WEB-INF/classes"/>
   		<copy todir="${build}" >
  -			<fileset dir=".">
  +			<fileset dir="${src}">
   			<include name="*.html"/>
   			<include name="**/*.class"/>
   			<include name="**/*.xml"/>
  @@ -25,10 +27,22 @@
   		</copy>
   		<javac destdir="${build}/WEB-INF/classes" debug="on">
   			<classpath refid="maven.dependency.classpath" />
  -			<src path="."/>
  +			<src path="${src}"/>
   		</javac>
   	    <jar jarfile="${jar.dir}/simple.war" basedir="${build}"/>
   	    <delete dir="${build}"/>
  +	</target>
  +	
  +	<target name="init">
  +		<uptodate property="jars.uptodate" targetfile="${jar.dir}/simple.war">
  +			<srcfiles dir="${src}">
  +				<include name="**/*.java"/>
  +				<include name="**/*.xml"/>
  +				<include name="**/*.wsdl"/>
  +				<exclude name="${build}/**"/>
  +			</srcfiles>
  +		</uptodate>
  +		<echo message="the files are upto date = ${jars.uptodate}"></echo>
   	</target>
   </project> 
   
  
  
  
  1.3       +13 -2     ws-axis/contrib/ews/samples/ejb/zip/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/ejb/zip/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	26 Jul 2004 12:23:07 -0000	1.3
  @@ -7,7 +7,7 @@
   	<property name="lib" location="lib"/>
   	<property name="jar.dir" location="../../../target/generated/samples/"/>
   
  -	<target name="compile">
  +	<target name="compile" unless="jars.uptodate" depends="init">
   	   <mkdir dir="${build.classes}"/>
   	   <mkdir dir="${build.lib}"/>
   		<javac destdir="${build.classes}" debug="on">
  @@ -15,7 +15,7 @@
   			<src path="${src}"/>
   		</javac>
   	</target>
  -	<target name="jar" depends="compile">
  +	<target name="jar" depends="compile" unless="jars.uptodate">
   		<mkdir dir="${build.classes}/META-INF/"/>
   		<copy file ="${src}/META-INF/webservice.xml" todir="${build.classes}/META-INF"/>
   		<copy file ="${src}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
  @@ -30,5 +30,16 @@
   		</manifest>
   		</jar>
   		<delete dir="${build}"/>
  +	</target>
  +	<target name="init">
  +		<uptodate property="jars.uptodate" targetfile="${jar.dir}/zip.jar">
  +			<srcfiles dir="${src}">
  +				<include name="**/*.java"/>
  +				<include name="**/*.xml"/>
  +				<include name="**/*.wsdl"/>
  +				<exclude name="${build}/**"/>
  +			</srcfiles>
  +		</uptodate>
  +		<echo message="the files are upto date = ${jars.uptodate}"></echo>
   	</target>
   </project>
  
  
  
  1.3       +13 -2     ws-axis/contrib/ews/samples/ejb/google/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/ejb/google/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	26 Jul 2004 12:23:07 -0000	1.3
  @@ -7,7 +7,7 @@
   	<property name="lib" location="lib"/>
   	<property name="jar.dir" location="../../../target/generated/samples/"/>
   		
  -	<target name="compile">
  +	<target name="compile" depends="init" unless="jars.uptodate">
   	   <mkdir dir="${build.classes}"/>
   	   <mkdir dir="${build.lib}"/>
   		<javac destdir="${build.classes}" debug="on">
  @@ -15,7 +15,7 @@
   			<src path="${src}"/>
   		</javac>
   	</target>
  -	<target name="jar" depends="compile">
  +	<target name="jar" depends="compile" unless="jars.uptodate">
   		<mkdir dir="${build.classes}/META-INF/"/>
   		<copy file ="${src}/META-INF/webservice.xml" todir="${build.classes}/META-INF"/>
   		<copy file ="${src}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
  @@ -30,5 +30,16 @@
   		</manifest>
   		</jar>
   		<delete dir="${build}"/>
  +	</target>
  +	<target name="init">
  +		<uptodate property="jars.uptodate" targetfile="${jar.dir}/google.jar">
  +			<srcfiles dir="${src}">
  +				<include name="**/*.java"/>
  +				<include name="**/*.xml"/>
  +				<include name="**/*.wsdl"/>
  +				<exclude name="${build}/**"/>
  +			</srcfiles>
  +		</uptodate>
  +		<echo message="the files are up to date = ${jars.uptodate}"></echo>
   	</target>
   </project>
  
  
  
  1.5       +15 -3     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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	24 Jun 2004 02:45:21 -0000	1.4
  +++ build.xml	26 Jul 2004 12:23:07 -0000	1.5
  @@ -6,7 +6,7 @@
   	<property name="build.lib" location="${build}/lib"/>
   	<property name="lib" location="lib"/>
   	<property name="jar.dir" location="../../../target/generated/samples/"/>
  -	<target name="compile">
  +	<target name="compile" depends="init" unless="jars.uptodate">
   	   <mkdir dir="${build.classes}"/>
   	   <mkdir dir="${build.lib}"/>
   		<javac destdir="${build.classes}" debug="on">
  @@ -14,7 +14,7 @@
   			<src path="${src}"/>
   		</javac>
   	</target>
  -	<target name="jar" depends="compile">
  +	<target name="jar" depends="compile" unless="jars.uptodate" >
   		<mkdir dir="${build.classes}/META-INF/"/>
   		<copy file ="${basedir}/META-INF/webservice.xml" todir="${build.classes}/META-INF"/>
   		<copy file ="${basedir}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
  @@ -23,7 +23,7 @@
   		<include name="**" />
   		</jar>
   
  -            <copy todir="${build.classes}/META-INF">
  +        <copy todir="${build.classes}/META-INF">
   			<fileset dir="${basedir}/META-INF/">
   			<include name="**/*.xml"/>
   			<exclude name="build.xml"/>
  @@ -40,4 +40,16 @@
   		 
   		<delete dir="${build}"/>
   	</target>
  +	<target name="init">
  +		<uptodate property="jars.uptodate" targetfile="${jar.dir}/bookquote.jar">
  +			<srcfiles dir="${src}">
  +				<include name="**/*.java"/>
  +				<include name="**/*.xml"/>
  +				<include name="**/*.wsdl"/>
  +				<exclude name="${build}/**"/>
  +			</srcfiles>
  +		</uptodate>
  +		<echo message="the files are up to date = ${jars.uptodate}"></echo>
  +	</target>
  +	
   </project>
  
  
  
  1.2       +15 -11    ws-axis/contrib/ews/samples/ejb/echo/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/ejb/echo/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	9 Jul 2004 05:07:23 -0000	1.1
  +++ build.xml	26 Jul 2004 12:23:07 -0000	1.2
  @@ -6,7 +6,7 @@
   	<property name="build.lib" location="${build}/lib"/>
   	<property name="lib" location="lib"/>
   	<property name="jar.dir" location="../../../target/generated/samples/"/>
  -	<target name="compile">
  +	<target name="compile" depends="init" unless="jars.uptodate">
   	   <mkdir dir="${build.classes}"/>
   	   <mkdir dir="${build.lib}"/>
   		<javac destdir="${build.classes}" debug="on">
  @@ -14,7 +14,7 @@
   			<src path="${src}"/>
   		</javac>
   	</target>
  -	<target name="jar" depends="compile">
  +	<target name="jar" depends="compile" unless="jars.uptodate">
   		<mkdir dir="${build.classes}/META-INF/"/>
   		<copy file ="${basedir}/META-INF/webservice.xml" todir="${build.classes}/META-INF"/>
   		<copy file ="${basedir}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
  @@ -29,15 +29,19 @@
   			<exclude name="build.xml"/>
   			</fileset>
   		</copy>
  -
  -	<!--	<copy file ="${jar.dir}/echo.jar.jar" todir="${build.classes}"/>
  -		<jar jarfile="${jar.dir}/echo.jar.ear" basedir="${build.classes}">
  -			<include name="**/webservice.xml" />
  -			<include name="**/application.xml" />
  -			<include name="**/*.jar" />
  -			<include name="**/*.war" />
  -		</jar> -->
  -		 
   		<delete dir="${build}"/>
   	</target>
  +	
  +	<target name="init">
  +		<uptodate property="jars.uptodate" targetfile="${jar.dir}/echo.jar">
  +			<srcfiles dir="${src}">
  +				<include name="**/*.java"/>
  +				<include name="**/*.xml"/>
  +				<include name="**/*.wsdl"/>
  +				<exclude name="${build}/**"/>
  +			</srcfiles>
  +		</uptodate>
  +		<echo message="the files are up to date = ${jars.uptodate}"></echo>
  +	</target>
  +	
   </project>
  
  
  
  1.3       +13 -2     ws-axis/contrib/ews/samples/ejb/time/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/samples/ejb/time/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	26 Jul 2004 12:23:07 -0000	1.3
  @@ -7,7 +7,7 @@
   	<property name="lib" location="lib"/>
   	<property name="jar.dir" location="../../../target/generated/samples/"/>
   	
  -	<target name="compile">
  +	<target name="compile" depends="init" unless="jars.uptodate">
   	   <mkdir dir="${build.classes}"/>
   	   <mkdir dir="${build.lib}"/>
   		<javac destdir="${build.classes}" debug="on">
  @@ -15,7 +15,7 @@
   			<src path="${src}"/>
   		</javac>
   	</target>
  -	<target name="jar" depends="compile">
  +	<target name="jar" depends="compile" unless="jars.uptodate">
   		<mkdir dir="${build.classes}/META-INF/"/>
   		<copy file ="${src}/META-INF/webservice.xml" todir="${build.classes}/META-INF"/>
   		<copy file ="${src}/META-INF/ejb-jar.xml" todir="${build.classes}/META-INF"/>
  @@ -30,5 +30,16 @@
   		</manifest>
   		</jar>
   		<delete dir="${build}"/>
  +	</target>
  +	<target name="init">
  +		<uptodate property="jars.uptodate" targetfile="${jar.dir}/time.jar">
  +			<srcfiles dir="${src}">
  +				<include name="**/*.java"/>
  +				<include name="**/*.xml"/>
  +				<include name="**/*.wsdl"/>
  +				<exclude name="${build}/**"/>
  +			</srcfiles>
  +		</uptodate>
  +		<echo message="the files are upto date = ${jars.uptodate}"></echo>
   	</target>
   </project>
  
  
  

Mime
View raw message