---
title: "Ant常见属性解析--ant"
author: "bbsanwei"
date: "2009-04-22T18:21:26Z"
tags: ["Ant", "XML", "脚本"]
slug: "ant-ant"
draft: false
lastmod: "2009-04-26T09:37:58Z"
id: 372872
url: "https://bbsanwei.iteye.com/blog/372872"
---

\[code="U.xml"] \[/code] 如果 不加dir表示U1.xml相当于U.xml中的一个target，U1.xml运行时引进的属性文件中的Key 是取U.xml中的引进的 加dir表示U1.xml是一个独立的ant脚本，运行时U1.xml运行时引进的资源文件中的Key是取U1.xml中本身的.如果U1.xml中的属性文件的key与U.xml重复,取U中的属性文件. 注: 表示ant脚本中本身target的调用