Eclipse neon M6 not working with multiprojekt import

issue-resolved

(Ekman) #1

We have an multi project workbench in eclipse neon M5 that works when importing a master (root) project that includes other project with includeFlat. With M6 we get an error. Maybe buldship 1.0.15 solves the problem !, but we haven’t got this upgrade yet. Does it look familar for anyone ?

This is the error output from eclipse

Synchronize Gradle root project at E:\eclipse_projects_e\neon_m6\master with workspace failed due to an unexpected error.
Path must include project and resource name: /sako-base-batch
java.lang.IllegalArgumentException: Path must include project and resource name: /sako-base-batch
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:2068)
at org.eclipse.core.internal.resources.Container.getFolder(Container.java:202)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations$4.apply(DefaultWorkspaceGradleOperations.java:230)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations$4.apply(DefaultWorkspaceGradleOperations.java:225)
at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:271)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:226)
at com.google.common.collect.FluentIterable.toList(FluentIterable.java:334)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.getSubProjectFolders(DefaultWorkspaceGradleOperations.java:225)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.markDerivedFolders(DefaultWorkspaceGradleOperations.java:249)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeOpenWorkspaceProject(DefaultWorkspaceGradleOperations.java:158)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeWorkspaceProject(DefaultWorkspaceGradleOperations.java:130)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeGradleProjectWithWorkspaceProject(DefaultWorkspaceGradleOperations.java:120)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.atomicallySynchronizeGradleBuildWithWorkspace(DefaultWorkspaceGradleOperations.java:86)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.access$000(DefaultWorkspaceGradleOperations.java:59)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations$1.run(DefaultWorkspaceGradleOperations.java:67)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5521)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5478)
at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceGradleOperations.synchronizeGradleBuildWithWorkspace(DefaultWorkspaceGradleOperations.java:64)
at org.eclipse.buildship.core.workspace.SynchronizeGradleProjectJob.runToolingApiJobInWorkspace(SynchronizeGradleProjectJob.java:77)
at org.eclipse.buildship.core.util.progress.ToolingApiWorkspaceJob$1.run(ToolingApiWorkspaceJob.java:79)
at org.eclipse.buildship.core.util.progress.ToolingApiInvoker.invoke(ToolingApiInvoker.java:55)
at org.eclipse.buildship.core.util.progress.ToolingApiWorkspaceJob.runInWorkspace(ToolingApiWorkspaceJob.java:76)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


(Ekman) #2

Now it works !. With buildship 1.0.15 importing works nicely in eclipse neon m6