Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2876

Eclipse build error for generated simple/advanced/i18n addons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RC1
    • Fix Version/s: 1.2.0.RC1
    • Component/s: None
    • Labels:
      None

      Description

      To replicate:

      1. Generate a simple, advanced, or i18n addon using the relevant command, e.g. "addon create simple --topLevelPackage com.example"
      2. Generate the Eclipse project files using the Maven Eclipse plugin (not m2e), e.g. using "perform eclipse" in the Roo shell
      3. Import the project into Eclipse or STS as an existing (Eclipse) project, i.e. "Import... > Existing Projects into Workspace"
      4. The Eclipse/STS "Problems" view shows the following error messages:
      Build path contains duplicate entry: 'M2_REPO/org/springframework/roo/org.springframework.roo.metadata/1.2.0.BUILD-SNAPSHOT/org.springframework.roo.metadata-1.2.0.BUILD-SNAPSHOT.jar' for project 'com.example'
      The project cannot be built until build path errors are resolved

        Attachments

          Activity

            People

            Assignee:
            aswan Andrew Swan
            Reporter:
            aswan Andrew Swan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: