facebook

Rebuild project problem…

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #203043 Reply

    harryajh
    Member

    using eclipse 2.1.2, myeclipse 2.7, win 2000 (sp4)

    When selecting to rebuild a project (either directly or by changing jdk from eclipse prefs), I get 2 errors –

    the first –

    The project was not built due to “Problems encountered while deleting resources.”. Fix the problem, then try refreshing this project and rebuilding it since it may be inconsistent.

    so rebuild project again –

    The project was not built due to “Could not create folder: F:\PROJECTS\Web\HWInt\Web Root\WEB-INF\classes\hwi.”. Fix the problem, then try refreshing this project and rebuilding it since it may be inconsistent.

    doing a refresh completes the rebuild!

    This happens everytime (except sometime the refresh doesn’t fix it, I have to select “rebuild project” a number of time again! – is this a bug or something I’m doing wrong?

    thanks

    harry

    #203049 Reply

    Riyad Kalla
    Member

    harry what JDK are you using and are you using any source control software? When you are working on this project, do you have Eclipse open exclusively, r do you also have an explorer window open and are working on files in the project outside of Eclipse?

    Have you modified the web application’s context to point to your development directory (e.g. changed the docBase) instead of using deployments? This sounds the most likely to me as the problem you are describing is probably due to the app server locking resources in your \classes directory because it is using them.

    Another thing to check, are you running a real-time antivirus scanner? You know, the type that scan files as you access them. If you are, try disabling the real-time protection, reload eclipse and try working and see if the problem goes away.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Rebuild project problem…

You must be logged in to post in the forum log in