SEC-2009: Support ./gradlew eclipse #2234

Closed
spring-issuemaster opened this Issue Jul 17, 2012 · 1 comment

2 participants

@spring-issuemaster

Rob Winch (Migrated from SEC-2009) said:

Since the updated to Gradle 1.0 (see SEC-1906) the samples do not work with ./gradlew eclipse (they require the Gradle Eclipse Plugin). We should also attempt to support ./gradlew eclipse

@spring-issuemaster

Rob Winch said:

This is now resolved. Those using ./gradlew eclipse may experience an error similar to the one below at time of import. The error can be ignored as the workspace works fine afterwards. This is related to an eclipse issue logged as Bug 244315 and should be fixed in Juno SR1.

An internal error occurred during: "Refreshing external folders".

java.lang.IllegalArgumentException: Element not found: /spring-security-core/build/resources/test.
    at org.eclipse.core.internal.watson.ElementTree.elementNotFound(ElementTree.java:256)
    at org.eclipse.core.internal.watson.ElementTree.createElement(ElementTree.java:184)
    at org.eclipse.core.internal.resources.Workspace.createResource(Workspace.java:1369)
    at org.eclipse.core.internal.resources.Workspace.createResource(Workspace.java:1322)
    at org.eclipse.core.internal.localstore.RefreshLocalVisitor.createResource(RefreshLocalVisitor.java:80)
    at org.eclipse.core.internal.localstore.RefreshLocalAliasVisitor.createResource(RefreshLocalAliasVisitor.java:38)
    at org.eclipse.core.internal.localstore.RefreshLocalVisitor.synchronizeExistence(RefreshLocalVisitor.java:219)
    at org.eclipse.core.internal.localstore.RefreshLocalVisitor.visit(RefreshLocalVisitor.java:293)
    at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:110)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.refreshResource(FileSystemResourceManager.java:920)
    at org.eclipse.core.internal.localstore.FileSystemResourceManager.refresh(FileSystemResourceManager.java:904)
    at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1700)
    at org.eclipse.jdt.internal.core.ExternalFoldersManager$RefreshJob.run(ExternalFoldersManager.java:496)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
@spring-issuemaster spring-issuemaster added this to the 3.1.2 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment