Bug 464466 - Project import fails
Summary: Project import fails
Status: CLOSED DUPLICATE of bug 484781
Alias: None
Product: Buildship
Classification: Tools
Component: General (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: bug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-04-12 18:11 EDT by Wendell Beckwith CLA
Modified: 2016-03-02 13:59 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wendell Beckwith CLA 2015-04-12 18:11:41 EDT
While trying to import 5 gradle projects I got the following:

eclipse.buildId=4.5.0.I20150320-0800
java.version=1.8.0_40
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/wbeckwith/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data file:/Volumes/Data/dev/workspaces/gitdemo/workspace/ -keyring /Users/wbeckwith/.eclipse_keyring -showlocation

org.eclipse.buildship.core
Error
Sun Apr 12 17:01:51 CDT 2015
Importing the project failed.

org.eclipse.buildship.core.GradlePluginsRuntimeException: Cannot create Eclipse Java project phoenix.
	at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.createJavaProject(DefaultWorkspaceOperations.java:171)
	at org.eclipse.buildship.core.projectimport.ProjectImportJob.importProject(ProjectImportJob.java:128)
	at org.eclipse.buildship.core.projectimport.ProjectImportJob.importProject(ProjectImportJob.java:94)
	at org.eclipse.buildship.core.projectimport.ProjectImportJob.runInWorkspace(ProjectImportJob.java:74)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.buildship.core.GradlePluginsRuntimeException: Cannot configure sources and classpath for Eclipse project phoenix.
	at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.setSourcesAndClasspathOnProject(DefaultWorkspaceOperations.java:263)
	at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.createJavaProject(DefaultWorkspaceOperations.java:154)
	... 5 more
Caused by: Java Model Exception: Java Model Status [Cannot nest 'phoenix/grails-app/conf/spring' inside 'phoenix/grails-app/conf'. To enable the nesting exclude 'spring/' from 'phoenix/grails-app/conf']
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:785)
	at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
	at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
	at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
	at org.eclipse.buildship.core.workspace.internal.DefaultWorkspaceOperations.setSourcesAndClasspathOnProject(DefaultWorkspaceOperations.java:259)
	... 6 more
Comment 1 Donat Csikos CLA 2015-04-24 02:45:41 EDT
What project are you trying to import? How can we reproduce the problem?
Comment 2 Wendell Beckwith CLA 2015-05-13 17:19:49 EDT
Darn.  I never got notified that you commented on this issue.  I'll try and slim down one of out projects and attach an example to this issue tonight.
Comment 3 Donat Csikos CLA 2015-06-09 06:11:34 EDT
If you still have this issue please let us know. Also, please try it with the latest snapshot of Buildship.
Comment 4 Stefan Oehme CLA 2016-03-02 13:59:30 EST

*** This bug has been marked as a duplicate of bug 484781 ***