facebook

New installation – error on Source action

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #280623 Reply

    I just installed the latest MyEclipse 6.0.1. I got my Java project configured and made some modifications under Window>Preferences.

    I’m not sure what I misconfigured but now when I do:
    Source>Generate Element Comment
    Source>Add Import
    Source>….etc
    (anything under the source menu)

    I get the following error: “The resource is not on the build path of a Java project”

    The only actions I am able to do successfully are
    Source>Toggle Comment
    Source>Add Block Comment
    Source>Remove Block Comment

    Any thoughts?

    Thanks!

    #280653

    Loyal Water
    Member

    Can you switch to a new workspace , create a new project and try these options again. Do they work ?

    #280665

    Creating a new project allows the Source menu’s actions to be used again. Any thoughts on how I can fix the old project?

    #280667

    Loyal Water
    Member

    Switch back to the old workspace and use the -clean command line argument to clean it
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.html

    #280681

    Actually, a correction to my last message.

    1. When I do not change workspaces and create a sample Java project in the same workspace that has the problem, I am able to execute the actions in the Source menu.

    2. When I change workspaces and re-import a fresh copy of the code, recreate my project settings, etc, I am UNABLE to execute the actions in the Source menu.

    3. When I change workspaces and create a sample Java project, I am able to execute the actions in the Source menu.

    I did eclipse.exe -clean and I still get the same results for the three above tests.

    #280683

    Figured it out! Thank you for being so quick to respond!

    The problem was that I configured my source files incorrectly. I had included them all and then excluded certain package names. Once I corrected this in my build path, everything worked like a charm.

    #280699

    Loyal Water
    Member

    Glad you got it to work. Thanks for letting me know.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: New installation – error on Source action

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