我有以下ant脚本来生成jar文件
当我运行ant脚本时,我得到以下错误
Reference myProject.classpath not found.
我不知道如何解决这个错误.它需要.classpath文件的路径?我也尝试过
refid=”classpath”
它没有用.
任何人都可以帮忙!谢谢
假设你的类路径有你需要的东西.
如果没有,则在classpath元素下创建另一个条目,该条目引用了jars或您需要的任何内容,或者您需要自定义指定路径:
http://ant.apache.org/manual/using.html#path