ant 中使用ant-Plugin插件进行文件的copy
来源:互联网 发布:淘宝卖家图片处理软件 编辑:程序博客网 时间:2024/05/18 02:04
一、首先配置maven-antrun-plugin这个插件:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>id.clean</id> <phase>package</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <echo>clean phase${project.build.directory}</echo> <copy todir="D:\Program Files\jetty-distribution-9.2.7.v20150116\webapps"><fileset dir="${project.build.directory}" includes="**/*.war"></fileset><span style="white-space:pre"></span></copy><echo>sssssssssssssssssssssss${project.build.directory}</echo> </target> </configuration> </execution> </executions> </plugin>插件的目标就是:run,插件的配置就是在configuration中配置ant的target的动作;
在打包后的阶段就会执行把生成的war包发布到jetty的webapps这个目录中;
0 0
- ant 中使用ant-Plugin插件进行文件的copy
- ant 的 copy 使用
- ant 的 copy 使用
- ant 的 copy 使用
- eclipse plugin 中使用ant 进行编译(执行 javac)的问题
- ant 的 copy 使用<转>
- maven-antrun-plugin(运行ant的插件)
- ant copy 复制文件用法
- 使用ant.jar进行文件zip压缩
- Eclipse中插件的使用:maven /ant /tomcat
- EJB3.0中使用Ant进行编译出错的解决办法
- ant的高级使用,ant命令详解,ant打包,ant编译后打包去掉jar文件
- ant中copy操作学习心得
- ant中copy操作学习心得
- ant中copy操作学习心得
- ant中copy操作学习心得
- ant copy
- openfire中ant插件
- Cocos2d-x游戏开发——CCBezierTo/By
- Step By Step(Lua调用C函数)
- 不可不知的十种常见退信原因
- JAVA判断当前浏览器版本
- 菜鸟学Java:对于 java 静态变量的理解
- ant 中使用ant-Plugin插件进行文件的copy
- J2EE集群原理
- ArcGIS使用ASTER GDEM V2 全球数字高程数据进行水文分析
- hard example
- Android getevent/sendevent详解
- 用户记录
- 进度条的实现
- 在安装Linux系统的时候一直出现
- 大显高木模具:中望CAD机械版高效解决统计难题