这个ANT的构建是什么? [英] what is this ANT build?

查看:209
本文介绍了这个ANT的构建是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我安装了eclipse并使用它作为IDE使用JAVA 1.4文件。
我使我的代码更改并保存,并希望在每次获得



<$ p $时运行(cntr F11)或debub(F11)
p> 选择运行什么
Ant Build
Ant Build ..

这个Ant Build是什么?
如何纠正/连接/ Ant构建?



Ant Build已经为我运行文件而改变了一个raod块。
如何运行我的文件,得到蚂蚁路障?

解决方案

我有完全相同的问题,我点击运行,我会得到一个包含Ant Build或Ant Build ...选项的菜单 - 即使我有一个主要方法。



当我将代码复制并粘贴到新项目文件夹中的新文件中时,我终于得到了我的程序正常运行。我删除了旧的文件,以及其源文件夹。



当我创建新类时,我选择了使用项目文件夹作为root用于源和类文件,而不是创建单独的文件夹。



然后,当我点击运行时,我第一次看不懂的特殊输出。然而,第二次,我把所有的程序都像以前一样运行。



我不知道这些操作是如何解决问题的,也是一个新手程序员。但是我从 http://www.daniweb.com/software-development/java/threads/199459/simple-java-applet-wont-run-on-eclipse#



希望这有帮助。


I am new to jav/Eclipse.

I installed eclipse and working on a JAVA 1.4 file using it as an IDE. I made my code changes and saved it and wanted to Run (cntr F11) or debub (F11) every time i am getting

 select what to run 
           Ant Build 
           Ant Build..

what is this Ant Build ? How to rectify /connect/ Ant Build?

Ant Build has turned a sort of raod block for me vis a vis running the file. How to Run my file with out getting Ant road blocks?

解决方案

I had the exact same problem, where when I clicked "Run" I would get a menu with options of "Ant Build" or "Ant Build..." -- even though I had a main method.

I finally got my program to run as normal when I copied and pasted my code into a new file in a new project folder. I deleted the old file altogether, along with its source folder.

When I created the new class, I selected the option "Use project folder as root for the sources and class files" instead of creating separate folders.

Then, when I clicked "Run", I got some peculiar output the first time that I didn't understand. The second time, however, I got all my programs running as they used to.

I'm not exactly sure what these actions did to solve the problem, as I, too, am a novice programmer. But I'm getting my information from http://www.daniweb.com/software-development/java/threads/199459/simple-java-applet-wont-run-on-eclipse#.

Hope this helps.

这篇关于这个ANT的构建是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆