facebook

Issue with autocomplete

💡
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. General Development
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #285944 Reply

    Michael Dohm
    Member

    Today when I fired up my project to begin coding away I typed the . to get the available methods of a commonly used object and got the following error message: This compilation unit is not on the build path of a Java project.

    In the log file I found this entry

    !ENTRY org.eclipse.jdt.ui 2 0 2008-06-17 09:12:13.984
    !MESSAGE The ‘org.eclipse.jdt.ui.JavaTypeCompletionProposalComputer’ proposal computer from the ‘org.eclipse.jdt.ui’ plug-in did not complete normally. The extension took too long to return from the ‘computeCompletionProposals()’ operation.

    It might be worth noting that I am running version 5.5.1 and it is a project that I created from CVS. It has worked just fine for the last couple of months, but I am new to the Java world and may had screwed it up.

    #285950

    Loyal Water
    Member

    Ensure that the project *is* a Java project and not just a Project — Eclipse treats them slightly differently. I’m unsure of the incantations required to turn a normal project into a Java project; however, when checking out the code, there’s a relevant menu option labelled ‘Check Out…’ (rather than Check Out As Project).

    #285952

    Michael Dohm
    Member

    While your statement is true I’m sure, it does not explain the behavior I have witnessed. This project was workign yesterday. I do not might recreating the project, but could you step me through the proper way to create a JAVA project based on code in CVS?

    #285953

    Loyal Water
    Member

    I do not might recreating the project, but could you step me through the proper way to create a JAVA project based on code in CVS?

    You want to create a new project based on the code in CVS? You can create a new MyEclipse Java Project by going to File > New > Project > Java Project and follow the wizard. Once the project has been created, just copy paste you code from the CVS to this new project.

    I hope I have answered your question or were you looking for something else?

    #285954

    Michael Dohm
    Member

    No. I want to be sure that I keep in sync with CVS as i am not the only developer on this project… The way i am configured as of yesterday I could work normally, check commit stuff to CVS etc….

    #285955

    Loyal Water
    Member

    You have created a repository in your package explorer and your checking in your changes by right clicking on the project and going to Team > Commit? Your team should be able to see your changes when they right click on the project and go to Team > Update. Thats the correct way to go about things.

    #285956

    Michael Dohm
    Member

    OK. I essentially have what you have outlined. I have, in my package explorer a link to the CVS Repository where the source code resides. What I do not have for some reason is the autocomplete feature which gives me a given objects properties and methods. When I type objMyObject. I get an error message This complilation unit is not on the build path of a Java project. I was not getting this error message yesterday. How do I resolve this?

    #285957

    Michael Dohm
    Member

    I am also now getting an INVALID EXTERNAL TOOL BUILDER:

    org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:303)
    at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:264)
    at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:251)
    at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:220)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1759)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:478)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:475)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:410)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:404)
    at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:354)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    !SUBENTRY 1 org.eclipse.jdt.core 4 969 2008-06-17 11:33:33.765
    !MESSAGE IvrXmlPlum does not exist

    !ENTRY org.eclipse.core.resources 4 75 2008-06-17 11:32:10.656
    !MESSAGE Errors during build.
    !SUBENTRY 1 org.eclipse.ui.externaltools 2 75 2008-06-17 11:32:10.656
    !MESSAGE Errors running builder ‘Integrated External Tool Builder’ on project ‘IvrXmlPlum’.
    !SUBENTRY 1 org.eclipse.ui.externaltools 4 0 2008-06-17 11:32:10.656
    !MESSAGE The builder launch configuration could not be found.

    #285959

    Loyal Water
    Member

    You get this error when you try autocompleting?

    #285960

    Michael Dohm
    Member

    No, this is just stuff out of the log that I thought might help me get my problem solved.

    #285961

    Michael Dohm
    Member

    So I attempted to start over, and create the project from scratch. I selected project from CVS and was given this error message:
    Errors during build.
    Errors running builder ‘Integrated External Tool Builder’ on project ‘IvrXmlPlum_BR_NROTB_IVRResults_20080522’.
    The builder launch configuration could not be found.

    What does this mean??

    #286006

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    Are you using an external builder that someone on your team setup? Does the project in CVS already include project metadata (.project and .classpath files?).

    What kind of file are you trying to autocomplete?

    #286007

    Michael Dohm
    Member

    I was able to get around the issue by creating an empty java project and importing the cvs project it. Although I will state again that I did not do that when I was working originally last week. ( anomaly ?? ) I also un-installed 5.5.1 and installed the latest version ( 6xx )

    #286012

    Loyal Water
    Member

    Maybe you should switch to a new workspace (File > Switch Workspace > Temp) and then try checking out the project into this new workspace and check if it works.

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Issue with autocomplete

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