Ant: id and refid
来源:互联网 发布:ubuntu连接有线网络 编辑:程序博客网 时间:2024/04/29 05:53
在fileset标签里可以用id属性指定别名,然后用refid在别的地方引用。
fileset是一种type。应该所有的ant type都能指定id(不是很确定)。
例: 拷贝src目录下的所有文件到 build/classes目录下:
<fileset dir="${basedir}/src" include="**/*.java" id="source.src"/> <!-- id:指定别名,方便其它地方使用 --><target name="copyToBuild" depends="init" description="Copy src file To Build "> <copy todir="${basedir}/build"> <fileset refid="source.src"/><!-- 用refid引用 --> </copy></target>
0 0
- Ant: id and refid
- sql refid
- mybatis中refid是什么意思
- Eclipse AND Ant
- ant articles and tips
- Ant资料and tips
- ant and junit integrate
- ant and xdoclet
- 翻译:JavaScript and Ant
- android and ant
- ant and ivy
- Net-ID and Host-ID
- CSS Id and Class
- whoami and id -ru
- The dove and the ant
- The Ant and the Dove
- Apache Ant Install and Configuration
- android:id and id are not same...
- cocos2dx3.5 interval 中看两个lambda替换menu_selector,schedule_selector
- 【Android教学-零基础到就业】面向对象(1)
- windows内核调试工具
- leetcode 日经贴,Cpp code -Merge Two Sorted Lists
- cocos2d-x 3.2版本Mac下移植到android手机打包流程
- Ant: id and refid
- 关于<blockquote>标签
- DIY分享:国外DIY网站大集合
- 树的最小支配集、最小点覆盖、最大独立集【模板】
- windows不能删除文件,提示权限不够
- liunx丢失mysql.sock文件
- SecureCRT配色方案
- Linux输入子系统:输入设备编程指南 -- input-programming.txt
- js身份证遮盖