# Eclipse plugin excluding sources

**URL:** https://discuss.gradle.org/t/eclipse-plugin-excluding-sources/13249
**Category:** Help/Discuss
**Tags:** eclipse
**Created:** [December 15, 2015, 9:01am UTC](https://discuss.gradle.org/t/eclipse-plugin-excluding-sources/13249 "2015-12-15T09:01:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![christau](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/christau/32/3470_2.png) [@christau](https://discuss.gradle.org/u/christau)
#### Post date: [December 15, 2015, 9:01am UTC](https://discuss.gradle.org/t/eclipse-plugin-excluding-sources/13249/1 "2015-12-15T09:01:56Z")

</div>

Hi everyone,  
I got the problem, that if i use the eclipse plugin, no excludes from the sourceset are generated.  
So if i have

````gradle
    main {
        java {
            srcDirs = ['../src/']
            exclude "src/com/some/package/Properties.java"
}}}```

the generated eclipse classpath only contains

```<classpathentry kind="src" path="src"/>```

Is there any way i can process the excludes and apply them to the classpath?

Thanks in advance for any suggestion.
````
