我想将 phonegap2.7.0 与 sencha touch2.2.0 集成。我更改 build-impl.xml 文件以将文件复制到 www。
<target name="-after-build">
<delete todir="../../android/assets/www"/>
<copy todir="../../android/assets/www">
<fileset dir="${workspace.build.dir}/package"/>
</copy>
</target>
在构建期间,我收到一个错误:
[INF]
[INF] run:
[INF]
[INF] -build:
[INF]
[INF] -after-build:
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: delete doesn'''t support the "todir" attribute
[ERR]
[ERR] Total time: 55 seconds
[ERR] com.sencha.exceptions.BasicException: delete doesn't support the "todir" attribute