Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Getting error in pom.xml file in source code

Debangshu,

it looks like you haven't installed the Xtend plugins yet?

Anyways,
can you do me a favor and try out our new IDE and workspace provisioning setup with Eclipse Oomph? With that you should have a working Eclipse installation in just two clicks:

1. Download the Oomph installer from [1]
2. Start it and select the „Code Recommenders » master“ branch. Click Install.
3. Follow the instructions and wait until the installer completes. It will provision your IDE with all necessary plugins installed. Start the IDE and will then download the git repos required, import the maven projects, creates a few working sets, and finally sets the target platform for the workspace:




This step takes a while on its the first run (about 20 minutes with my internet connection) because lots of jars must be downloaded from the internet. After that you are done and your workspace should look like this:

To run the Code Recommenders from your workspace, simply start it by clicking on the „run“ button of the ide.product editor as depicted in the screenshot above. 
Hope that works your smoothly for your. If no, please let me know on this list. I’m looking forward to your contributions!

Best,
Marcel



Am 26.03.2014 um 19:20 schrieb Debangshu Roy <dbngshuroy@xxxxxxxxx>:

Thank You for helping. Installing tycho connector resolved errors in pom.xml .Now these 10 errors remain mainly because org.eclipse.recommenders.tests.CodeBuilder and
org.eclipse.recommenders.completion.rcp.it.MockedIntelligentCompletionProposalComputer
these two classes cannot be found. How to solve this?

Extract from Eclipse problem window:

Description    Resource    Path    Location    Type
MockedIntelligentCompletionProposalComputer cannot be resolved to a type    Stubs.java    /org.eclipse.recommenders.calls.rcp.tests/src/org/eclipse/recommenders/calls/rcp/it    line 154    Java Problem
MockedIntelligentCompletionProposalComputer cannot be resolved to a type    Stubs.java    /org.eclipse.recommenders.calls.rcp.tests/src/org/eclipse/recommenders/calls/rcp/it    line 174    Java Problem
The import org.eclipse.recommenders.tests.CodeBuilder cannot be resolved    Bug399800Test.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 3    Java Problem
The import org.eclipse.recommenders.completion.rcp.it.MockedIntelligentCompletionProposalComputer cannot be resolved    Stubs.java    /org.eclipse.recommenders.calls.rcp.tests/src/org/eclipse/recommenders/calls/rcp/it    line 25    Java Problem
The method classDeclaration(String, String) is undefined for the type Bug404751Test    Bug404751Test.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 96    Java Problem
The method classbody(String, String) is undefined for the type Bug399800Test    Bug399800Test.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 70    Java Problem
CodeBuilder cannot be resolved    ReceiverTypeOfStaticMethodCallsTest.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 57    Java Problem
The method classDeclaration(String, String) is undefined for the type Bug404751Test    Bug404751Test.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 84    Java Problem
The import org.eclipse.recommenders.tests.CodeBuilder cannot be resolved    ReceiverTypeOfStaticMethodCallsTest.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 18    Java Problem
The import org.eclipse.recommenders.tests.CodeBuilder cannot be resolved    Bug404751Test.java    /org.eclipse.recommenders.completion.rcp.tests/src/org/eclipse/recommenders/completion/rcp/it    line 3    Java Problem



On Tue, Mar 25, 2014 at 11:03 PM, Debangshu Roy <dbngshuroy@xxxxxxxxx> wrote:
I am getting this error message in <parent> tag in almost every pom.xml file.

Multiple annotations found at this line:
    - Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-
     plugin:0.20.0:build-qualifier (execution: default-build-qualifier, phase: validate)
    - Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-compiler-
     plugin:0.20.0:compile (execution: default-compile, phase: compile)
    - maven-enforcer-plugin (goal "enforce") is ignored by m2e.
    - Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-
     plugin:0.20.0:validate-version (execution: default-validate-version, phase: validate)
    - Plugin execution not covered by lifecycle configuration: org.eclipse.tycho:tycho-packaging-
     plugin:0.20.0:validate-id (execution: default-validate-id, phase: validate)

i imported the source code into eclipse using Maven/existing maven project.
i also set target platform as eclipse keplar.
But this error persists.
I am new to Code Recommenders. how can I resolve this and start contributing to the project?

_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/recommenders-dev


Back to the top