facebook

ME Losing reference to other classes?

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

    Russ
    Member

    Hi all!

    What is happening to me is my workspace has several projects being used together (Java type) inside a web project (Spring and Struts). I normally run the -clean option when I start ME. I run ME 7.1 since I need to keep myself in the JDK 1.5 environment.

    What is happening is when ME comes up, it is NOT finding classes within the same project and other projects. I usually get an unresolved error on the classes involved. Once I go to those classes and make a change and save the change, ME resolves the identity of the class and the error goes away.

    I am using subervision. I check out the projects every morning through an external client. Once I have ME up and running, I do a refresh to ensure the project is aware of all the new or updated changes.

    This is not a big thing, but it waste my time re-establishing the identity so many times. Could any one suggest a way to debug this type of error? I have tried to create a new workspace. This usually last a few days and I am right back at the same error.

    Thanks for taking the time to read my post.

    Russ

    #300995 Reply

    support-joy
    Member

    Hi Russ,

    You have mentioned that you’ll check out the projects every morning through an external client.
    Can you please verify these things:
    1) When you check-in the projects, you commit all the changes to the external client?
    2) When you check-in the projects, you check-in the reference projects and their reference settings as well?
    3) Do you have the deployment policy for dependent projects set to “Smart Deployment” under preferences? If you have the referenced projects that are Java projects, the output of the dependent project will be jar’ed and placed in the lib directory of the deployed project.
    You should go through section 10 of this tutorial to understand how this works:-
    http://www.myeclipseide.com/documentation/quickstarts/webprojects/#dependent_projects

    #301179 Reply

    Russ
    Member

    Joy,

    Frist, thank you for the link. I worked through it. I am using the Smart Deployment in preferences. In the web project, I and using the workbench default settings for the web–>Deployment. I think I have all the configuration setup properly. I am still getting the error that class files are not able to find other class files within the same project. I am having to manually edit the files and ME then picks up the files.

    Any more suggestions?

    Russ

    #301206 Reply

    support-joy
    Member

    Russ,

    Can you provide the below mentioned details, this will help me investigate further –
    1. Can you copy and paste your installation details? You can get it from MyEclipse > Installation Summary > Installation Details.
    2. Can you copy and paste your error log file here? You can get it from [your workspace dir]/.metadata/.log
    3. I don;t have visibility of your project or settings, can you write in detail how your several projects are tied up to your single web project. How are you setting the references etc, if you can attach screenshots that would be great. You can either PM me or send a mail to [email protected], please refer to this thread, and add ATTN: Joy in the subject

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: ME Losing reference to other classes?

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