提供 <if> 和 <for> 等节点的支持
if=net.sf.antcontrib.logic.IfTask
foreach=net.sf.antcontrib.logic.ForEach
throw=net.sf.antcontrib.logic.Throw
trycatch=net.sf.antcontrib.logic.TryCatchTask
switch=net.sf.antcontrib.logic.Switch
outofdate=net.sf.antcontrib.logic.OutOfDate
runtarget=net.sf.antcontrib.logic.RunTargetTask
timestampselector=net.sf.antcontrib.logic.TimestampSelector
propertycopy=net.sf.antcontrib.property.PropertyCopy
osfamily=net.sf.antcontrib.platform.OsFamily
shellscript=net.sf.antcontrib.platform.ShellScriptTask
pathtofileset=net.sf.antcontrib.property.PathToFileSet
propertyselector=net.sf.antcontrib.property.PropertySelector
propertyregex=net.sf.antcontrib.property.RegexTask
sortlist=net.sf.antcontrib.property.SortList
urlencode=net.sf.antcontrib.property.URLEncodeTask
compilewithwalls=net.sf.antcontrib.walls.CompileWithWalls
verifydesign=net.sf.antcontrib.design.VerifyDesign
forget=net.sf.antcontrib.process.ForgetTask
antcallback=net.sf.antcontrib.logic.AntCallBack
antfetch=net.sf.antcontrib.logic.AntFetch
assert=net.sf.antcontrib.logic.Assert
bool=net.sf.antcontrib.logic.condition.BooleanConditionTask
limit=net.sf.antcontrib.process.Limit
post=net.sf.antcontrib.net.PostTask
stopwatch=net.sf.antcontrib.perf.StopWatchTask
var=net.sf.antcontrib.property.Variable
inifile=net.sf.antcontrib.inifile.IniFileTask
antclipse=net.sf.antcontrib.antclipse.ClassPathTask
antserver=net.sf.antcontrib.antserver.server.ServerTask
remoteant=net.sf.antcontrib.antserver.client.ClientTask
# Tasks Requiring Ant 1.6 or higher
#for=net.sf.antcontrib.logic.For
math=net.sf.antcontrib.math.MathTask
分享到:
相关推荐
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="classpath"/> **/*Test.java"/> ``` 在这个示例中,`build.properties`文件可能包含项目的属性,如类路径...
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <pathelement location="path/to/ant-contrib-1.0b3.jar"/> ... , item2, item3" target="do-something" param="current.item"/> ... ``...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" /> <taskdef name="yuicompress" classname="net.sf.antcontrib.java.YuiCompressTask"> <pathelement location="path/to/yui-compressor-2.4.8....
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <pathelement location="path/to/ant-contrib-0.2.jar"/> ``` 这样,就可以在构建脚本中使用ant-contrib提供的任务了。例如,可以使用任务...
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <pathelement location="path/to/ant-contrib-1.0b2.jar"/> ``` 然后我们可以在构建脚本中使用`for`任务: ```xml **/*.java"/> ...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="ant.contrib.classpath"/> ``` 在这个过程中,`<taskdef>`元素用于定义Ant Contrib中的任务,`resource`属性指定了包含任务定义的...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="path/to/ant-contrib.jar"/> <unzip src="path/to/your/zipfile.zip" dest="destination/directory"/> <!-- 如果需要解压后执行...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${lib.dir}/ant-contrib.jar"/> ``` 这行代码引入了Ant Contrib库中的额外任务。 4. **目标定义**: 目标(Target)是一系列任务的...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="lib/ant-contrib.jar"/> <scp trust="yes" file="localfile.txt" todir="username@hostname:/remotedir/" keyfile="path/to/private...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="build.path"/> <sshexec host="yourserver.com" username="username" password="password" command="mkdir -p /var/...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="path/to/ant-contrib.jar"/> <typedef name="svn" classname="org.tigris.subversion.svnant.SvnTask" classpath="path/to/svnant.jar"/...
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <pathelement location="lib/ant-contrib.jar"/> ``` 这里的`ant-contrib.jar`需要自行下载并放在`lib`目录下。 除了`<iconv>`,还可以使用...
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> ${ant.home}/lib/ant-contrib-1.0b3-bin.jar"/> <property name="src.dir" value="src"/> <property name="build.dir" value="build"/> ...
<taskdef resource="net/sf/antcontrib/antcontrib.properties"> <pathelement location="path/to/ant-contrib-1.0b3.jar"/> ``` - 定义一个用于多渠道打包的目标,如`release-all`,在其中使用`foreach`...
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="classpath"/> <property name="generatorConfigFile" location="generatorConfig.xml"/> <java classname="org.mybatis.generator....
在IT行业中,构建工具是开发...<taskdef resource="net/sf/antcontrib/antlib.xml" classpath="lib/ant-contrib.jar"/> <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" classpath="lib/pmd.jar"/> ...
- `build.xml`文件中定义了外部包的引用,例如通过`<taskdef resource="net/sf/antcontrib/antlib.xml"/>`引入Ant-contrib扩展包,增强了Ant的功能。 - **其他任务**:虽然文档中没有详细介绍其他任务的具体内容,...