Ant build ${renderscript.opt.level}問題解決方案,renderscript
問題如下:
BUILD FAILED
D:\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:653: The following error occurred while executing this line:
D:\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:679: '${renderscript.opt.level}' is not a permitted value for com.android.ant.RenderScriptTask$OptLevel
解決方案:
在android工程的project.properties中加入 renderscript.opt.level=O0 即可。
ant build的小問題
<target name="schemaExport">
<taskdef name="schemaExport"
classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
classpathref="runtime.classpath"/>
<schemaExport
config="/hibernate.cfg.xml"
quiet="no"
text="yes"
drop="no"
delimiter=";"
output="schema-export.sql">
<fileset dir="${build.classes.dir}">
<include name="**/*.hbm.xml"/>
</fileset>
</schemaexport>
試試這個。
ant buildxml 問題 急
build.xml 只有你編譯檔案的時候 才會用到。tomcat啟動和它沒有關係的
你可以把項目放到eclipse或者myeclipse 裡
就不需要配置那個build檔案了