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

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

问题描述

我是 jav/Eclipse 的新手.

I am new to jav/Eclipse.

我安装了 eclipse 并使用它作为 IDE 处理 JAVA 1.4 文件.我更改了代码并保存了它,然后想运行 (cntr F11) 或 debub (F11)每次我得到

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..

这个 Ant Build 是什么?/connect/Ant Build如何整改?

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

Ant Build 对我来说在运行文件时变成了一种障碍.如何运行我的文件而不会遇到 Ant 路障?

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?

推荐答案

我遇到了完全相同的问题,当我单击运行"时,我会看到一个带有Ant Build"或Ant Build..."选项的菜单." -- 即使我有一个 main 方法.

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.

我不确定这些操作对解决问题做了什么,因为我也是一个新手程序员.但我从 http://www.daniweb.com/software-development/java/threads/199459/simple-java-applet-wont-run-on-eclipse#.

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#.

希望这会有所帮助.

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

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