2015-09-04 117 views
2

我有一个使用Gradle构建的项目。在我安装Gradle Eclipse插件之前,我能够在Eclipse中看到gradle build文件夹。但是,在安装插件(Buildship)并创建并构建新的Gradle项目之后,我不再能够在Project Explorer或Package Explorer或Navigator中看到构建文件夹。我能够从Windows资源管理器中看到构建文件夹和jar文件。我试图从“自定义视图...”中更改设置,但它没有解决问题。有人可以让我知道如何让生成文件夹显示出来吗?谢谢。安装Gradle Eclipse Plugin后未显示Gradle build文件夹

这是的build.gradle:

apply plugin: 'java' 
apply plugin: 'eclipse' 
apply plugin: 'application' 
mainClassName = 'com.ii.mainClass' 

repositories { 
    mavenCentral() 
} 

sourceCompatibility = 1.7 
targetCompatibility = 1.7 

dependencies { 
     compile 'com.fasterxml.jackson.core:jackson-annotations:2.6.1' 
     compile 'com.fasterxml.jackson.core:jackson-core:2.6.1' 
     compile 'com.fasterxml.jackson.core:jackson-databind:2.6.1' 
     compile 'org.springframework:spring-beans:4.2.0.RELEASE' 
     compile 'org.springframework:spring-context:4.2.0.RELEASE' 
     compile 'org.springframework:spring-core:4.2.0.RELEASE' 
     compile 'org.springframework:spring-expression:4.2.0.RELEASE' 
     compile 'org.springframework.xd:spring-xd-tuple:1.0.4.RELEASE' 
    } 
+0

我仍然使用STS,但Buildship可能会将生成文件夹标记为派生或具有排除模式。您可以在Eclipse的项目属性视图中查看项目的构建路径。 –

回答

1

You can disable filter through customize filter in project explorer options, and uncheck the gradle build option in it.

您可以通过项目浏览器选项自定义过滤器禁用过滤器,并取消它的gradle这个构建选项。