Ant Problem: failed to create task or type foreach 问题
来源:互联网 发布:环境变量是啥 知乎 编辑:程序博客网 时间:2024/06/12 22:06
用eclipse导出android时总是会出现有类没有导出的现象,感觉很麻烦,就用ant些了脚本,在eclipse中执行脚本没问题,但是在命令行下执行会出现
Problem: failed to create task or type foreach问题,出问题的脚本是
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${path.build}/ant-contrib.jar"/>
是使用ant的一个扩展包的时候的问题,我在这里明明是写了jar包的目录了,可是还是说找不到。
后来发现吧classpath写绝对路径就可以了,不明白为什么?
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="/home/lib/ant-contrib.jar"/>
这样在命令行执行就不会报错了!
1 0
- Ant Problem: failed to create task or type foreach 问题
- svnant的BUILD FAILED Problem: failed to create task or type svnSetting Cause: The name is undefined原因
- 编译hive时遇到 failed to create task or type osfamily问题
- Could not create task or type of type: junit
- Could not create task or type of type: junit. 错误
- Failed to create or upgrade OLR
- BUG:Failed to create or upgrade OLR
- sencha touch编译报错:“bfailed to create task or type x-compass-compile Cause: The name is undefined”
- (记录学习android遇到的问题)Error:Execution failed for task ':app:packageDebug'. > Failed to create
- antlib.xml could not create task or type of type componentdef
- ORA-39083: Object type REF_CONSTRAINT failed to create with error:
- 解决Failed to create BuildConfig class问题
- Failed to create the SD card. 问题
- Execution failed for task ':app:compileDebugJavaWithJavac'. Failed to create MD5 hash for file ...
- failed to create process
- eclipse Failed to create the Java Virtual Machine的问题
- eclipse问题:Failed to create the Java Virtual Machine
- Eclipse遇到问题--failed to create the java virtual machine
- 产品经理在运营人员眼中是怎样的人?
- python中的深拷贝和浅拷贝理解
- android学习笔记
- mysql导入导出数据
- iOS系统自带的按钮与标签对照
- Ant Problem: failed to create task or type foreach 问题
- android LockPattern手势解锁
- 齐次坐标的意义
- 浅谈C++多态性-----重载,覆盖,隐藏
- 数据挖掘学习【02】——数据
- net程序员应该掌握的常用类库
- android webView加载页面时显示出全部网页内容
- Java环境变量+Tomcat+测试页
- opencv编译