Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4352 New Liferay Upgrade Tool
  3. IDE-3721

Synchronize gradle projects with workspace failed when import same project by using code upgrade tool

    Details

    • Type: Sub-Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2 M1
    • Fix Version/s: None
    • Component/s: Upgrade Planner
    • Labels:
      None

      Description

      1.run code upgrade tool
      2.import project (i am using devcon-test-project-master)
      3.import the same project again
      Notice:Synchronize Gradle projects with workspace failed

      Error log:
      Synchronize Gradle projects with workspace failed due to an error configuring Eclipse.
      A project with the name plugins-sdk already exists.
      org.eclipse.buildship.core.GradlePluginsRuntimeException: A project with the name plugins-sdk already exists.
      at org.eclipse.buildship.core.workspace.internal.ProjectNameUpdater.ensureProjectNameIsFree(ProjectNameUpdater.java:83)
      at org.eclipse.buildship.core.workspace.internal.ProjectNameUpdater.ensureProjectNameIsFree(ProjectNameUpdater.java:72)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.addNewEclipseProjectToWorkspace(SynchronizeGradleBuildOperation.java:286)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeNonWorkspaceProject(SynchronizeGradleBuildOperation.java:270)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeGradleProjectWithWorkspaceProject(SynchronizeGradleBuildOperation.java:179)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.access$000(SynchronizeGradleBuildOperation.java:99)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation$1.run(SynchronizeGradleBuildOperation.java:134)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2262)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.synchronizeProjectsWithWorkspace(SynchronizeGradleBuildOperation.java:131)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildOperation.run(SynchronizeGradleBuildOperation.java:115)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildsJob.synchronizeBuild(SynchronizeGradleBuildsJob.java:85)
      at org.eclipse.buildship.core.workspace.internal.SynchronizeGradleBuildsJob.runToolingApiJob(SynchronizeGradleBuildsJob.java:73)
      at org.eclipse.buildship.core.util.progress.ToolingApiJob$1.run(ToolingApiJob.java:73)
      at org.eclipse.buildship.core.util.progress.ToolingApiInvoker.invoke(ToolingApiInvoker.java:62)
      at org.eclipse.buildship.core.util.progress.ToolingApiJob.run(ToolingApiJob.java:70)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

        Attachments

          Activity

            People

            • Assignee:
              terry.jia Terry Jia (Inactive)
              Reporter:
              ying.xu Ying Xu (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 24 weeks, 1 day ago

                Packages

                Version Package