# \#eclipse

**URL:** https://discuss.gradle.org/tag/eclipse/111.md?match_all_tags=true&page=2&tags%5B%5D=eclipse

[Latest](https://discuss.gradle.org/latest.md) · [Categories](https://discuss.gradle.org/categories.md) · [Tags](https://discuss.gradle.org/tags.md)

**Page:** 3

---

## [Buildship 2.2.1 plugin clears all manually-added module properties on refresh](https://discuss.gradle.org/t/buildship-2-2-1-plugin-clears-all-manually-added-module-properties-on-refresh/28317)

<div class="topic-metadata">

**Author:** [@kohnvize](https://discuss.gradle.org/u/kohnvize)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 7:43pm UTC](https://discuss.gradle.org/t/buildship-2-2-1-plugin-clears-all-manually-added-module-properties-on-refresh/28317 "2018-08-23T19:43:43Z")

</div>

Both on Eclipse Oxygen and Photon, with Gradle 4.7 and 4.9, and with Buildship 2.2.1 and 3.x beta, using Java 10.0.2, the same behavior is present: all the added exports and explicitly included modules our developers man…

---

## [Getting bin directory while building from Eclipse. How to delete "bin" directory ? It is causing problem while debugging application by using eclipse](https://discuss.gradle.org/t/getting-bin-directory-while-building-from-eclipse-how-to-delete-bin-directory-it-is-causing-problem-while-debugging-application-by-using-eclipse/27773)

<div class="topic-metadata">

**Author:** [@Ganesh](https://discuss.gradle.org/u/Ganesh)\
**Replies:** 1\
**Last updated:** [August 7, 2018, 2:41pm UTC](https://discuss.gradle.org/t/getting-bin-directory-while-building-from-eclipse-how-to-delete-bin-directory-it-is-causing-problem-while-debugging-application-by-using-eclipse/27773 "2018-08-07T14:41:49Z")

</div>

---

## ["Error running javac.exe compiler" when using Buildship](https://discuss.gradle.org/t/error-running-javac-exe-compiler-when-using-buildship/27966)

<div class="topic-metadata">

**Author:** [@LukasW](https://discuss.gradle.org/u/LukasW)\
**Replies:** 0\
**Last updated:** [July 31, 2018, 11:53am UTC](https://discuss.gradle.org/t/error-running-javac-exe-compiler-when-using-buildship/27966 "2018-07-31T11:53:14Z")

</div>

Hello, I am migrating a project from Ant to Gradle. I want to call the Ant Targets from within the Gradle Script. In one of the tasks I use an external JDK for a Java-Compilation. When I execute that task from the com…

---

## [How to declare dependencies in a Java multiproject setup with interdependent tests and Eclipse](https://discuss.gradle.org/t/how-to-declare-dependencies-in-a-java-multiproject-setup-with-interdependent-tests-and-eclipse/27796)

<div class="topic-metadata">

**Author:** [@Learner](https://discuss.gradle.org/u/Learner)\
**Replies:** 2\
**Last updated:** [July 23, 2018, 1:30pm UTC](https://discuss.gradle.org/t/how-to-declare-dependencies-in-a-java-multiproject-setup-with-interdependent-tests-and-eclipse/27796 "2018-07-23T13:30:02Z")

</div>

I am trying to migrate a large Maven multiproject setup to Gradle (4.8.1). Many projects are Java but there are also C/C++ projects but I am not dealing with that yet - neither does/did Maven. I am facing some challenge…

---

## [\[SOLVED\] Gradle SWT dependies - error on compile](https://discuss.gradle.org/t/solved-gradle-swt-dependies-error-on-compile/27739)

<div class="topic-metadata">

**Author:** [@vasiliyaltunin](https://discuss.gradle.org/u/vasiliyaltunin)\
**Replies:** 1\
**Last updated:** [July 16, 2018, 2:31am UTC](https://discuss.gradle.org/t/solved-gradle-swt-dependies-error-on-compile/27739 "2018-07-16T02:31:08Z")

</div>

I use gradle with eclipse for my project, it seems all run just fine, all dependes inserted and project compile just fine. Now i wanna to create .exe file and i use https://github.com/TheBoegl/gradle-launch4j for it. He…

---

## [Main vs. test, compile vs runtime classpaths in Eclipse - once and for all, how?](https://discuss.gradle.org/t/main-vs-test-compile-vs-runtime-classpaths-in-eclipse-once-and-for-all-how/17403)

<div class="topic-metadata">

**Author:** [@Learner](https://discuss.gradle.org/u/Learner)\
**Replies:** 9\
**Last updated:** [July 5, 2018, 3:06pm UTC](https://discuss.gradle.org/t/main-vs-test-compile-vs-runtime-classpaths-in-eclipse-once-and-for-all-how/17403 "2018-07-05T15:06:57Z")

</div>

This Eclipse integration problem has been causing us issues for years now but we were able to somehow live with the itch. With some changes to the projects this is now becoming significantly harder. While Gradle does dif…

---

## [Synchronize gradle projects with workspace failed due to an unexpected error](https://discuss.gradle.org/t/synchronize-gradle-projects-with-workspace-failed-due-to-an-unexpected-error/26301)

<div class="topic-metadata">

**Author:** [@PunamPurohit](https://discuss.gradle.org/u/PunamPurohit)\
**Replies:** 10\
**Last updated:** [June 15, 2018, 9:03am UTC](https://discuss.gradle.org/t/synchronize-gradle-projects-with-workspace-failed-due-to-an-unexpected-error/26301 "2018-06-15T09:03:25Z")

</div>

Hello, i have gradle 4.5.1, buildship 2.2, java 7 and tomcat 7.0.47. I could build project with buildship 2.2 and gradle 4.2 successfully. and make my local server up with tomcat 7.0.47. But after upgrading to gradle 4.…

---

## [how to build classpath from gradle?](https://discuss.gradle.org/t/how-to-build-classpath-from-gradle/27260)

<div class="topic-metadata">

**Author:** [@DefinitelyAHuman](https://discuss.gradle.org/u/DefinitelyAHuman)\
**Replies:** 0\
**Last updated:** [June 7, 2018, 5:59am UTC](https://discuss.gradle.org/t/how-to-build-classpath-from-gradle/27260 "2018-06-07T05:59:23Z")

</div>

I think im missing something obvious here but I can’t seem to get this to work. my background is mostly sql, databases, and shell scripts. All the java i’ve done so far are small programs in vim and then command line ja…

---

## [Using the "Building Java 9 Modules" in Eclipse Oxygen - guava cannot be resolved to a module](https://discuss.gradle.org/t/using-the-building-java-9-modules-in-eclipse-oxygen-guava-cannot-be-resolved-to-a-module/27188)

<div class="topic-metadata">

**Author:** [@vittali](https://discuss.gradle.org/u/vittali)\
**Replies:** 1\
**Last updated:** [June 1, 2018, 2:51pm UTC](https://discuss.gradle.org/t/using-the-building-java-9-modules-in-eclipse-oxygen-guava-cannot-be-resolved-to-a-module/27188 "2018-06-01T14:51:38Z")

</div>

Hi, I am new to gradle and the java module system. I can compile and run the mentioned guide , more precisely the samples in subdir 2-all-modules on Linux Mint 18.2, Gradle 4.7 and java oracle 10.0.1 from the command l…

---

## [The logic used in determining multiple output directories by eclipseClasspath task](https://discuss.gradle.org/t/the-logic-used-in-determining-multiple-output-directories-by-eclipseclasspath-task/27134)

<div class="topic-metadata">

**Author:** [@Rice\_Yeh](https://discuss.gradle.org/u/Rice_Yeh)\
**Replies:** 1\
**Last updated:** [May 29, 2018, 2:23pm UTC](https://discuss.gradle.org/t/the-logic-used-in-determining-multiple-output-directories-by-eclipseclasspath-task/27134 "2018-05-29T14:23:03Z")

</div>

I have some projects with similar structure. After running eclipseClasspath task, I find some projects have multiple output directories like bin/main, bin/test in their .classpath files, some have single output directory…

---

## [project.buildDir and eclipse.classpath.defaultOutputDir are inconsistent by default, which cause confusion for beginners](https://discuss.gradle.org/t/project-builddir-and-eclipse-classpath-defaultoutputdir-are-inconsistent-by-default-which-cause-confusion-for-beginners/19312)

<div class="topic-metadata">

**Author:** [@missedone](https://discuss.gradle.org/u/missedone)\
**Replies:** 10\
**Last updated:** [May 25, 2018, 7:58am UTC](https://discuss.gradle.org/t/project-builddir-and-eclipse-classpath-defaultoutputdir-are-inconsistent-by-default-which-cause-confusion-for-beginners/19312 "2018-05-25T07:58:14Z")

</div>

hi folks, I'm new to Gradle, when I was first using Buildship, I imported my project into Eclipse with Buildship, it used the default output dir target/bin, things works so far. However, I need to run some task before …

---

## [Creating WAR using gradle bootWar target changes the checksum of flyway DB scripts](https://discuss.gradle.org/t/creating-war-using-gradle-bootwar-target-changes-the-checksum-of-flyway-db-scripts/26992)

<div class="topic-metadata">

**Author:** [@viru2610](https://discuss.gradle.org/u/viru2610)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 1:51pm UTC](https://discuss.gradle.org/t/creating-war-using-gradle-bootwar-target-changes-the-checksum-of-flyway-db-scripts/26992 "2018-05-18T13:51:04Z")

</div>

I am facing one strange issue while creating executable WAR using gradle plugin in spring boot application, flyway migration behaving strangely, it detects different check sum between eclipse run and executable WAR run. …

---

## [Gradle Buildship does not respect default JRE settings](https://discuss.gradle.org/t/gradle-buildship-does-not-respect-default-jre-settings/26958)

<div class="topic-metadata">

**Author:** [@Katharsas](https://discuss.gradle.org/u/Katharsas)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 9:43am UTC](https://discuss.gradle.org/t/gradle-buildship-does-not-respect-default-jre-settings/26958 "2018-05-17T09:43:49Z")

</div>

Hi, i use Eclipse running on Java 10. Since Eclipse does not support Java 10 as JRE for projects yet (but can be run by it), Java 10 is not configured/available for my Java projects: \[buildship1\] As you can see, only Ja…

---

## [How to use default output directory for all source folders in eclipse](https://discuss.gradle.org/t/how-to-use-default-output-directory-for-all-source-folders-in-eclipse/26634)

<div class="topic-metadata">

**Author:** [@barney](https://discuss.gradle.org/u/barney)\
**Replies:** 1\
**Last updated:** [April 26, 2018, 12:03pm UTC](https://discuss.gradle.org/t/how-to-use-default-output-directory-for-all-source-folders-in-eclipse/26634 "2018-04-26T12:03:50Z")

</div>

How can I make the .classpath file generated by the “gradle eclipse” command use the default output directory for all source folders? With this build file, and a single “src/main/java” folder: buildDir = "build/gradle"…

---

## [How to run a gradle task from a java code?](https://discuss.gradle.org/t/how-to-run-a-gradle-task-from-a-java-code/26651)

<div class="topic-metadata">

**Author:** [@khouloud](https://discuss.gradle.org/u/khouloud)\
**Replies:** 0\
**Last updated:** [April 17, 2018, 11:08am UTC](https://discuss.gradle.org/t/how-to-run-a-gradle-task-from-a-java-code/26651 "2018-04-17T11:08:21Z")

</div>

In fact, from my Gradle project I manipulate other gradle projects; and I want to be able to run the eclipse task (the gradle eclipse plugin) on those Gradle projects so that those projects can be opened from eclipse, I …

---

## [How can I download the source code of the gradle eclipse plugin?](https://discuss.gradle.org/t/how-can-i-download-the-source-code-of-the-gradle-eclipse-plugin/26576)

<div class="topic-metadata">

**Author:** [@khouloud](https://discuss.gradle.org/u/khouloud)\
**Replies:** 1\
**Last updated:** [April 11, 2018, 3:33pm UTC](https://discuss.gradle.org/t/how-can-i-download-the-source-code-of-the-gradle-eclipse-plugin/26576 "2018-04-11T15:33:30Z")

</div>

In gradle there is an aclipse plugin, we apply it in the build.gradle : "apply plugin: ‘eclipse’ ", and we use it to generate eclipse project files; I need to download the source code of this plugin, but I didn’t found …

---

## [Cannot run tasks for included builds](https://discuss.gradle.org/t/cannot-run-tasks-for-included-builds/26281)

<div class="topic-metadata">

**Author:** [@Jaggeroth](https://discuss.gradle.org/u/Jaggeroth)\
**Replies:** 2\
**Last updated:** [March 30, 2018, 6:48pm UTC](https://discuss.gradle.org/t/cannot-run-tasks-for-included-builds/26281 "2018-03-30T18:48:19Z")

</div>

I have project with two sub-projects (see https://github.com/RPTools/maptool/tree/1.4.1-dev-branch). I import the projects into my workspace using the git project import. All great so far. Gradle tasks automatically ap…

---

## [Letting included builds be controlled by the project's open/closed status](https://discuss.gradle.org/t/letting-included-builds-be-controlled-by-the-projects-open-closed-status/26211)

<div class="topic-metadata">

**Author:** [@kuniss](https://discuss.gradle.org/u/kuniss)\
**Replies:** 8\
**Last updated:** [March 27, 2018, 7:26am UTC](https://discuss.gradle.org/t/letting-included-builds-be-controlled-by-the-projects-open-closed-status/26211 "2018-03-27T07:26:52Z")

</div>

I’m currently planning to migrate all our projects from Gradle (STS) plugin to Buildship. There is a special functionality in Gradle (STS) plugin what I’m still not sure how to realize it with Buildship. Therefore this …

---

## [Eclipse default output folder not changed](https://discuss.gradle.org/t/eclipse-default-output-folder-not-changed/26353)

<div class="topic-metadata">

**Author:** [@PunamPurohit](https://discuss.gradle.org/u/PunamPurohit)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 9:24am UTC](https://discuss.gradle.org/t/eclipse-default-output-folder-not-changed/26353 "2018-03-22T09:24:59Z")

</div>

Hi All, I am using gradle 4.5.1 and eclipse neon and tomcat 7.0.47. I have changed eclipse default output folder: eclipse { classpath { downloadJavadoc = true downloadSources = true defaultOutputDir = file('bin/main…

---

## [How does Buildship create the .classpath file for Eclipse?](https://discuss.gradle.org/t/how-does-buildship-create-the-classpath-file-for-eclipse/26252)

<div class="topic-metadata">

**Author:** [@robert7k](https://discuss.gradle.org/u/robert7k)\
**Replies:** 5\
**Last updated:** [March 19, 2018, 5:52pm UTC](https://discuss.gradle.org/t/how-does-buildship-create-the-classpath-file-for-eclipse/26252 "2018-03-19T17:52:00Z")

</div>

I’m using Buildship and Gradle with Eclipse. I have an issue I described on Stackoverflow, but I haven’t found a solution so far, so I’m asking here. I’m wondering how Buildship creates the .classpath file for Eclipse, …

---

## [PDE, Buildship and Eclipse classpath](https://discuss.gradle.org/t/pde-buildship-and-eclipse-classpath/26242)

<div class="topic-metadata">

**Author:** [@janurad](https://discuss.gradle.org/u/janurad)\
**Replies:** 2\
**Last updated:** [March 15, 2018, 3:52pm UTC](https://discuss.gradle.org/t/pde-buildship-and-eclipse-classpath/26242 "2018-03-15T15:52:50Z")

</div>

Hello, I am trying to port some PDE projects from an Ant build to Gradle. I currently face this issue: an eclipse plugin project has a static MANIFEST.MF in SCM. The manifest has defined e.g. Export-Package: foo.bar.b…

---

## [Projects with generated sources and resources](https://discuss.gradle.org/t/projects-with-generated-sources-and-resources/10867)

<div class="topic-metadata">

**Author:** [@tschulte](https://discuss.gradle.org/u/tschulte)\
**Replies:** 11\
**Last updated:** [March 14, 2018, 10:25am UTC](https://discuss.gradle.org/t/projects-with-generated-sources-and-resources/10867 "2018-03-14T10:25:20Z")

</div>

In our projects we have a couple of custom plugins to generate both java sources and resources. Let's use generation of Resource-Constant Java-Classes and Compilation of JasperReports as examples for this post. I'd l…

---

## [Gradle dynamic web application template - Eclipse](https://discuss.gradle.org/t/gradle-dynamic-web-application-template-eclipse/26175)

<div class="topic-metadata">

**Author:** [@drenriza](https://discuss.gradle.org/u/drenriza)\
**Replies:** 1\
**Last updated:** [March 13, 2018, 10:33am UTC](https://discuss.gradle.org/t/gradle-dynamic-web-application-template-eclipse/26175 "2018-03-13T10:33:21Z")

</div>

I am complete new to gradle and have so far made a working gradle installation on my machine and installed the Eclipse gradle plugin (buildship). Now i would like to create a gradle project with the structure file of Ec…

---

## [Missing Tasks - Gradle vs Gradlew](https://discuss.gradle.org/t/missing-tasks-gradle-vs-gradlew/26180)

<div class="topic-metadata">

**Author:** [@Jaggeroth](https://discuss.gradle.org/u/Jaggeroth)\
**Replies:** 2\
**Last updated:** [March 10, 2018, 10:09am UTC](https://discuss.gradle.org/t/missing-tasks-gradle-vs-gradlew/26180 "2018-03-10T10:09:22Z")

</div>

Hi All, I am relatively new to Gradle and am in the process of switch over from Eclipse Luna and STS to Oxygen and Buildship. I am a contributor to the open source Maptool (https://github.com/RPTools/maptool) project bu…

---

## [Synchronize Gradle projects with workspace failed due to an error connecting to the Gradle build](https://discuss.gradle.org/t/synchronize-gradle-projects-with-workspace-failed-due-to-an-error-connecting-to-the-gradle-build/22116)

<div class="topic-metadata">

**Author:** [@batterista87](https://discuss.gradle.org/u/batterista87)\
**Replies:** 5\
**Last updated:** [March 7, 2018, 3:12pm UTC](https://discuss.gradle.org/t/synchronize-gradle-projects-with-workspace-failed-due-to-an-error-connecting-to-the-gradle-build/22116 "2018-03-07T15:12:19Z")

</div>

Hello, I’m using Spring Tool Suite v3.8.3.201612191351-RELEASE-e46 and its IDE components v3.8.4.201703270648-CI-B1595. I’ve also Gradle Buildship v2.0.1.v20170302-1039. I’m trying to create a new Spring Starter Proje…

---

## [Set project properties via buildship](https://discuss.gradle.org/t/set-project-properties-via-buildship/26102)

<div class="topic-metadata">

**Author:** [@ttresans](https://discuss.gradle.org/u/ttresans)\
**Replies:** 4\
**Last updated:** [March 6, 2018, 2:49pm UTC](https://discuss.gradle.org/t/set-project-properties-via-buildship/26102 "2018-03-06T14:49:42Z")

</div>

Is there any way to set project properties for a Gradle launch via the Buildship UI? I would really like to configure a few different Gradle build run configurations which run the same tasks using different -P values so…

---

## [Trouble setting up gradle](https://discuss.gradle.org/t/trouble-setting-up-gradle/25980)

<div class="topic-metadata">

**Author:** [@yihao89](https://discuss.gradle.org/u/yihao89)\
**Replies:** 3\
**Last updated:** [March 1, 2018, 11:45pm UTC](https://discuss.gradle.org/t/trouble-setting-up-gradle/25980 "2018-03-01T23:45:43Z")

</div>

Hi, I’m following the instructions from google to build a Java application that can read/write to Google Sheets. when I run gradle -q run I get this: Error: Could not find or load main class Quickstart FAILURE: Build…

---

## [Gradle and Eclipse plugin on WSL generate configuration with Linux native directories](https://discuss.gradle.org/t/gradle-and-eclipse-plugin-on-wsl-generate-configuration-with-linux-native-directories/25866)

<div class="topic-metadata">

**Author:** [@lucasvc](https://discuss.gradle.org/u/lucasvc)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 9:26pm UTC](https://discuss.gradle.org/t/gradle-and-eclipse-plugin-on-wsl-generate-configuration-with-linux-native-directories/25866 "2018-02-16T21:26:18Z")

</div>

I’m starting to use the Windows Subsystem for Linux (aka WSL) as seems a really good development environment, switching from Cygwin. But when I try to generate Eclipse configuration for my projects from a WSL command li…

---

## [Classes not found by another project. (class files from third party jar)](https://discuss.gradle.org/t/classes-not-found-by-another-project-class-files-from-third-party-jar/25839)

<div class="topic-metadata">

**Author:** [@cap5lut](https://discuss.gradle.org/u/cap5lut)\
**Replies:** 0\
**Last updated:** [February 14, 2018, 7:53am UTC](https://discuss.gradle.org/t/classes-not-found-by-another-project-class-files-from-third-party-jar/25839 "2018-02-14T07:53:11Z")

</div>

Hello, in my build script I have some tasks, to repack third party jars to make them OSGI bundles. The build task for this multi project just runs fine, but the problem is, that Eclipse does not see those classes. buil…

---

## [Eclipse can't find the sources when using eclipse-wtp](https://discuss.gradle.org/t/eclipse-cant-find-the-sources-when-using-eclipse-wtp/25804)

<div class="topic-metadata">

**Author:** [@freemant2000](https://discuss.gradle.org/u/freemant2000)\
**Replies:** 0\
**Last updated:** [February 11, 2018, 3:08am UTC](https://discuss.gradle.org/t/eclipse-cant-find-the-sources-when-using-eclipse-wtp/25804 "2018-02-11T03:08:46Z")

</div>

I’d like to download the sources of dependences for use in Eclipse. Gradle downloads the sources just fine. In fact, the source is specified in the .classpath generated. However, eclipse doesn’t seem to find the source. …

[Previous page](https://discuss.gradle.org/tag/eclipse/111.md?match_all_tags=true&page=1&tags%5B%5D=eclipse)

[Next page](https://discuss.gradle.org/tag/eclipse/111.md?match_all_tags=true&page=3&tags%5B%5D=eclipse)
