Apache Ant 会让 IOUtil 类可用吗?
如果我添加 Commons IO 类是否可用wikipedia.org/wiki/Apache_Ant" rel="nofollow noreferrer">Apache Ant 到项目构建路径?
我需要使用 IOUtil 类。如果没有,请提供正确的 JAR 文件的下载链接。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
脾气暴躁的老牛奶时间(再见代表点):
您必须真正学习 Java 和工具,而不仅仅是将奇怪的代码片段串在一起。
在这种情况下,我建议您返回 关于此主题的原始帖子并阅读教程我发布并暂时忽略 Commons IO。为了避免极少量的样板代码,您会遇到很多麻烦。
您已经完成了,可能值得阅读一点关于 classpath 以及如何在 Eclipse 中配置该路径(称为构建路径)。
Grumpy Old Mlk Time (bye bye rep points):
You have to actually learn Java and the tools not just string together odd snippets of code.
In this case I recommend you head back to your original thread on this subject and read the tutorial I posted and ignore Commons IO for now. You are going to a lot of trouble to avoid a very small amount of boiler plate code.
One you have done that it might be worth reading a little about the classpath and how one configures that (called the build path) in Eclipse.
最简单的方法
(我不这样做)没有启动并运行 Eclipse,希望菜单和操作名称正确)
Easiest approach
(I don't have the eclipse up and running, hope the menu and action names are correct)
是的,它们就像您没有添加 Ant 一样可用。
Yes, they'll be just as useable as if you hadn't added Ant.