微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

openfire build.xml自动打包问题

<if >
                    		<equals arg1="tkmanage" arg2="@{plugin}" />
	                    		<then>
			                    	<!--替换web.xml里的头部信息-->
			                    	<echo message="准备操作..............................@{plugin}"></echo>
				        	    	<replace file="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml" token='<?xml version="1.0" encoding="ISO-8859-1"?>' value=""></replace>
				                	
			                    	<replace file="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml" token="<!DOCTYPE web-app" value=""></replace>
			                    	<replace file="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml" token='PUBLIC "-//Sun Microsystems,Inc.//DTD Web Application 2.3//EN"' value=""></replace>
			                    	<replace file="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml" token='"http://java.sun.com/dtd/web-app_2_3.dtd">' value=""></replace>
			                    	
			                    	<replace file="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml" token="<web-app>" value=""></replace>
				                	<replace file="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml" token="</web-app>" value=""></replace>
	                    			
	                    			<echo message="操作成功"></echo>
			        			<echo message="${plugin.dev.dest.dir}/@{plugin}/target/web/WEB-INF/web.xml"></echo>
	                    		</then>	
            			</if>



原文地址:https://www.jb51.cc/xml/296984.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。