2013-11-24 68 views
0

我对Java非常没有经验,我和我刚刚搞砸了如果你看到我在这里提出的第一个问题,它会谈论bin文件夹。我的问题是如何在eclipse中编译java文件夹,但仍然能够更改编译的文件夹?问题是eclipse会为你编译,但我只是被愚蠢的删除了,所以现在我需要编译我的文件,但是我没有完成编程,所以我希望能够更改这些编译的文件。如果你能摆脱任何光线,那真的会有所帮助,谢谢!编译一些java文件

+0

如果我没有错,偏食将覆盖需要更新编译后的文件。如果这没有发生,你可以尝试清理你的项目(不要担心删除你的bin文件夹) – gian1200

回答

0

禁用自动编译将解决您的问题。

取消选中Project-> Build Automatically。然后你必须编写ant或maven脚本来编译特殊的类文件。

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2FgettingStarted%2Fqs-81_basics.htm

http://www.eclipse.org/jetty/documentation/current/jetty-maven-helloworld.html

+0

我会在哪里写ant或maven脚本? – user3026322

+0

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2FgettingStarted%2Fqs-81_basics.htm http://www.eclipse.org/jetty/documentation /current/jetty-maven-helloworld.html –

+0

好吧,我成功地编译了我的文件,但是接着我测试了一下,看它是否会覆盖已编译的文件,而不是。你能帮我吗? – user3026322