Sam
Sam

Reputation: 6910

"build.properties does not exist" error in MyEclipse

I using MyEclipse 8.6.1 for development my applications. I get "build.properties does not exist" errors in some project, but workspace compiled and run without problem, only error image(a red image) shown in project root. I search in frume for solve this problem, in some case say this "reason of this problem is or in .project file", but I don't see any problem to this file.

Upvotes: 6

Views: 8479

Answers (4)

Dan Levin
Dan Levin

Reputation: 714

a simple refresh on the project worked for me

Upvotes: 0

Alex Kotov
Alex Kotov

Reputation: 11

Uncheck everything in Project->Properties->Plug-In Development->Runtime Classpath

Upvotes: 1

George Forman
George Forman

Reputation: 580

I fixed this by:

  1. Project/Properties/Builders uncheck all builders Commit

  2. Project/Properties/Builders re-check all builders Commit

Upvotes: 9

Aram Kocharyan
Aram Kocharyan

Reputation: 20431

This happens on occasion if I'm playing around with files in svn and I accidentally change or remove the .project, .classpath, .buildpath or .anything files that eclipse and various IDEs based on it use. The solution I use is to create a new project with similar settings, to find the hidden files in question beginning with a dot, and to copy them from the blank project to the current one. Make sure to make a backup and also to open the dot files and change any strings that are specific to your project.

For example, here's my .project file:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>MyProjectName</name>
    <comment></comment>
    <projects>
    </projects>
    <buildSpec>
        <buildCommand>
            <name>org.eclipse.jdt.core.javabuilder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
        <nature>org.eclipse.jdt.core.javanature</nature>
    </natures>
</projectDescription>

Given you were using eclipse for Java, you would only need to change MyProjectName accordingly and place the file in the root of your project.

Upvotes: 1

Related Questions