I got my eclipse project set up with Mercurial so that I could code with some friends. I'm having a bit of a problem where Eclipse won't build my project anymore! The build project option in the build menu is grayed out. What should I do?
Alright so I found my answer, it took some sneakiness with the .project file. I needed to add a Java builder after changing the project to a Java project. Add these lines to your .project file to fix the problem:
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.