本人最近学习使用jenkins+svn+ant 自动部署ear文件。所以特此记录一下如何通过ant 自动部署ear文件到weblogic.通常我们可以通过weblogic直接发布application, 就是通过登陆weblogic web console通过上传ear/war 文件发布到服务器上面。 下面我们就通过ant 来实现类似upload ear file的功能。这里假设ear文
macrodef 直接解释是宏, 理解上可以是自定义标签或者自定义函数对于大型部署提高代码利用率 为了方便理解通过以下代码:<macrodef name="macro-send-file"> <attribute name="host" /> <attribute name="toPat
ant build file 用于 java 自动运行脚本类似于linux 的bash 和 windows dos script. 常用于自动deploy war ear file to server.ant 是基于xml file 通过tag 命令执行 一个build.xml 至少包含project and target tagant build file at least has o
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号