CVS: TapestryBook/examples build.xml,1.5,1.6

Howard Lewis Ship <[email protected]> Sat, 12 Jul 2003 11:14:55 -0700
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/TapestryBook/examples
In directory sc8-pr-cvs1:/tmp/cvs-serv13672/examples

Modified Files:
	build.xml 
Log Message:
Fix problems with deployment into Tomcat.

Index: build.xml
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/build.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** build.xml	12 Jul 2003 15:49:32 -0000	1.5
--- build.xml	12 Jul 2003 18:14:53 -0000	1.6
***************
*** 83,91 ****
  				<include name="*.jar"/>
  			</lib>
- 			
- 			<!-- lib dir="${tapestry.dist.dir}/lib/runtime">
- 				<include name="*.jar"/>
- 			</lib-->
- 
  		</war>
  	</target>
--- 83,86 ----
***************
*** 97,101 ****
--- 92,105 ----
  		
  		<property name="deploy.dir" value="${tomcat.dir}/webapps"/>
+ 
+ 		<!-- Delete the Tomcat examples directory. -->
+ 				     
+ 		<delete dir="${deploy.dir}/${project.name}" quiet="true"/>
  		
+ 		<!-- Copy into place a patched version of server.xml that doesn't contain
+ 		     special configuration for the /examples webapp context. -->
+ 		     
+ 		<copy file="src/conf/server.xml" todir="${tomcat.dir}/conf" overwrite="true"/>
+ 				
  		<copy file="${war.file}" todir="${deploy.dir}"/>
  	</target>



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1