Hi, Each time I re-create Eclipse projects with Gradle, the resulting project contains two copies of the source folder name, and I have to fix it manually (quite a headache since I have many small modules in the workspace).
This is the beginning of a generated ".classpath" file: <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/> <classpathentry kind="output" path="build/classes/main"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="lib" path="/home/andrews/.gradle/cache/cglib/cglib-nodep/jars/cglib-nodep-2.1_3.jar"/> Does anybody have such a problem? How can it be solved? The following is a part of the build script debug output related to Eclipse task - not really helpful: andrews $ time gradle -d -Divy.cache.ttl.default=eternal :wijqgrid:eclipse 11:40:54.548 [main] INFO org.gradle.launcher.Main - Starting Build 11:40:54.578 [main] DEBUG org.gradle.launcher.Main - Gradle home: /home/andrews/dev/tools/gradle-0.9-20100108080410+0300 11:40:54.578 [main] DEBUG org.gradle.launcher.Main - Gradle user home: /home/andrews/.gradle 11:41:00.233 [main] INFO org.gradle.GradleLauncher - Starting build for primary task ':wijqgrid:eclipse'. 11:41:00.233 [main] INFO org.gradle.launcher.Main - Tasks to be executed: [task ':wijqgrid:eclipseCp', task ':wijqgrid:eclipseProject', task ':wijqgrid:eclipse'] 11:41:00.233 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Starting to execute task ':wijqgrid:eclipseCp' 11:41:00.234 [main] DEBUG o.g.a.i.p.ExecutionShortCircuitTaskExecuter - Determining if task ':wijqgrid:eclipseCp' is up-to-date 11:41:00.239 [main] INFO o.g.a.i.c.DefaultTaskArtifactStateRepository - Executing task ':wijqgrid:eclipseCp' due to: Task does not produce any output files 11:41:00.239 [main] DEBUG o.g.a.i.p.ExecutionShortCircuitTaskExecuter - task ':wijqgrid:eclipseCp' is not up-to-date 11:41:00.240 [main] INFO org.gradle.TaskExecutionLogger - :wijqgrid:eclipseCp 11:41:00.240 [main] DEBUG o.g.a.i.tasks.DefaultTaskExecuter - Executing actions for task ':wijqgrid:eclipseCp'. 11:41:02.830 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Finished executing task ':wijqgrid:eclipseCp' 11:41:02.831 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Starting to execute task ':wijqgrid:eclipseProject' 11:41:02.831 [main] DEBUG o.g.a.i.p.ExecutionShortCircuitTaskExecuter - Determining if task ':wijqgrid:eclipseProject' is up-to-date 11:41:02.831 [main] INFO o.g.a.i.c.DefaultTaskArtifactStateRepository - Executing task ':wijqgrid:eclipseProject' due to: Task does not produce any output files 11:41:02.831 [main] DEBUG o.g.a.i.p.ExecutionShortCircuitTaskExecuter - task ':wijqgrid:eclipseProject' is not up-to-date 11:41:02.831 [main] INFO org.gradle.TaskExecutionLogger - :wijqgrid:eclipseProject 11:41:02.831 [main] DEBUG o.g.a.i.tasks.DefaultTaskExecuter - Executing actions for task ':wijqgrid:eclipseProject'. 11:41:02.863 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Finished executing task ':wijqgrid:eclipseProject' 11:41:02.863 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Starting to execute task ':wijqgrid:eclipse' 11:41:02.863 [main] DEBUG o.g.a.i.p.ExecutionShortCircuitTaskExecuter - Determining if task ':wijqgrid:eclipse' is up-to-date 11:41:02.864 [main] INFO o.g.a.i.c.DefaultTaskArtifactStateRepository - Executing task ':wijqgrid:eclipse' due to: Task does not produce any output files 11:41:02.864 [main] DEBUG o.g.a.i.p.ExecutionShortCircuitTaskExecuter - task ':wijqgrid:eclipse' is not up-to-date 11:41:02.864 [main] INFO org.gradle.TaskExecutionLogger - :wijqgrid:eclipse 11:41:02.864 [main] DEBUG o.g.a.i.tasks.DefaultTaskExecuter - Executing actions for task ':wijqgrid:eclipse'. 11:41:02.864 [main] DEBUG o.g.a.i.tasks.SkipTaskExecuter - Finished executing task ':wijqgrid:eclipse' 11:41:02.864 [main] DEBUG o.g.e.DefaultTaskGraphExecuter - Timing: Executing the DAG took 2.631 secs 11:41:02.864 [main] INFO org.gradle.launcher.Main - BUILD SUCCESSFUL Regards, Andrew -- -- Andrew Schetinin
