1
A
回答
2
要在Eclipse中运行Ant脚本,请将xml文件添加到您的 工作区中。如果你打开其上下文菜单,你应该看到一个选择“运行 蚂蚁...”。
通过:http://dev.eclipse.org/newslists/news.eclipse.tools/msg18883.html
0
两种方式这样做的:
- 有,你已经定义了一个
public static void main(String... args)
方法的主类。因此,只要运行这个类(在类,“运行方式> Java应用程序”中点击右键。 - 定义一个Ant
target
将运行你的主Java类,然后通过Ant的Eclipse插件运行此目标。
0
我主要将Ant文件拖放到Ant视图上(Ctrl + ,type'ant')。从那里,我通过双击视图中的文件或其他目标来运行默认目标在视图中扩展文件。
相关问题
- 1. 在Eclipse中运行Web应用程序
- 2. 在Eclipse中运行Android应用程序
- 3. 在Eclipse中运行ATG应用程序
- 4. 应用程序运行在Eclipse
- 5. Java程序不会在eclipse中作为应用程序运行
- 6. 在Ant任务中运行“无头Eclipse”
- 7. 如何在eclipse中运行ant clean
- 8. 从Eclipse IDE运行C++应用程序
- 9. 应用程序未运行,android(eclipse)
- 10. 构建Android应用程序在eclipse中使用ant发布
- 11. 在eclipse中运行android应用程序没有回应
- 12. 如何在eclipse中运行远程GWT应用程序
- 13. 如何在eclipse中使用tomcat运行maven web应用程序
- 14. Spark Scala应用程序没有在eclipse中使用sbt运行
- 15. 使用Eclipse IDE在浏览器中运行JavaFx应用程序
- 16. 在eclipse中禁用运行java应用程序选项
- 17. 在Eclipse下使用Ant脚本运行远程调试器?
- 18. 使用ANT运行测试eclipse功能
- 19. Java应用程序在Eclipse中正常运行,但不是.jar
- 20. 从键盘停止在Eclipse中运行的应用程序?
- 21. 无法在eclipse中运行简单的android应用程序
- 22. 如何在Eclipse中运行Android应用程序?
- 23. 尝试在Eclipse中运行Scala应用程序时出错
- 24. 在Eclipse中每次运行之前关闭Java应用程序
- 25. 在Eclipse中运行Maven GWT应用程序的问题
- 26. Android应用程序不会在eclipse中运行
- 27. 如何在Eclipse中为Web应用程序“运行配置”
- 28. 如何在eclipse中运行Red5应用程序
- 29. 在Eclipse中运行应用程序时,JFrame不会打开
- 30. 未在Eclipse中运行的Java应用程序Galileo