简体   繁体   English

编译一些Java文件

[英]Compiling some java files

I am very unexperienced in Java, I and I have just messed up completelyIf you saw my first question I made here it talks about the bin folder. 我对Java缺乏经验,我和我完全搞砸了。如果您看到我在这里提出的第一个问题,它谈论的是bin文件夹。 My question is how do I compile a java folder in eclipse but still be able to change the compiled folder? 我的问题是如何在eclipse中编译Java文件夹,但仍然能够更改已编译的文件夹? The problem is that eclipse compiles for you, but I deleted that by just being stupid so now I need my files compiled but I'm not done programing so I want to be able to change those compiled files. 问题是eclipse会为您编译,但是我只是因为愚蠢而删除了它,所以现在我需要编译我的文件,但是我还没有完成编程,所以我希望能够更改那些已编译的文件。 If you could shed any light at all it would really help thanks! 如果您能提供一点帮助,那将真的很有帮助,谢谢!

Disabling auto-compiling will solve your problem. 禁用自动编译将解决您的问题。

uncheck Project->Build Automatically. 取消选中“项目”->“自动构建”。 Then you have to write ant or maven script for special class files to be compiled. 然后,您必须为要编译的特殊类文件编写ant或maven脚本。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM