No facets in project created with 1.0.10


(Keith Marsh) #1

Importing a build.gradle and src with buildship 1.0.10, gradle 2.12 and Mars.2 gives a project with no facets. Is that expected on a java war project?

I’ve had to abandon buildship, and use eclipse-wtp and import as a plain eclipse project.

Thanks,

Keith

apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'appengine'
apply plugin: 'eclipse-wtp'
apply plugin: 'groovy'

version = 1.0
sourceCompatibility = 1.7
targetCompatibility = 1.7

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.google.appengine:gradle-appengine-plugin:1.9.+'
    }
}

repositories {
	mavenCentral()
}

dependencies {
    appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.+'
    compile 'com.google.appengine:appengine-api-1.0-sdk:1.9.+'
    compile 'com.nimbusds:nimbus-jose-jwt:4.+'
    providedCompile 'javax.servlet:servlet-api:2.5'
    testCompile 'org.codehaus.groovy:groovy-all:2.4.+'
    testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'}

appengine {
    httpPort = 8888
    httpAddress = '0.0.0.0'
    downloadSdk = 1
    daemon = true
    appcfg {
        email = 'xxxxxx'
        oauth2 = true
        app {
            id = 'xxxxxx'
            version = 1
        }
    }
}

(Stefan Oehme) #2

Buildship does not support WTP yet, but there already is an enhancement request for it.


(Stefan Oehme) #3

WTP support is coming, read more here: [Request for feedback] WTP support coming to Buildship