加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

openfire build.xml自动打包问题

发布时间:2020-12-16 06:24:03 所属栏目:百科 来源:网络整理
导读: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 versi
<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>



(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读