Unable to find the webapp directory ../build/exploded-app
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/afc37f30-afdf-4bb4-a540-7fae9e2fa909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
![]() |
|
+appuThis looks like it could be related to a gradle change we made recently to support running multiple services at the same time.Although I think it was only in the newer cloud SDK based plugin, which shouldn't have affected Android Studio users.Appu can you comment?
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.1'
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.0-beta9'
classpath 'com.google.appengine:appengine-java-sdk:1.9.49'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}repositories {
jcenter()
mavenCentral();
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'war'
apply plugin: 'com.google.cloud.tools.appengine'
apply plugin: 'com.google.cloud.tools.endpoints-framework-server'
dependencies {
compile 'com.google.endpoints:endpoints-framework:2.0.7'
compile 'jstl:jstl:1.2'
compile 'javax.servlet:servlet-api:2.5'
compile 'javax.inject:javax.inject:1'
compile 'org.json:json:20160810'
compile 'com.googlecode.objectify:objectify:5.1.14'
compile 'org.apache.commons:commons-lang3:3.5'
compile 'org.apache.httpcomponents:httpcore:4.4.6'
compile 'org.slf4j:slf4j-jdk14:1.7.6'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}It's not clear what the user is doing here.
<option name="WAR_DIR" value="$MODULE_DIR$/build/exploded-backend" />
compile project(path: ':backend', configuration: 'android-endpoints') TOendpointsServer project(path: ":backend", configuration: "endpoints")
Project gradle:
ADD:
classpath 'com.google.cloud.tools:appengine-gradle-plugin:1.3.2'
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.0'
Backend gradle:
REMOVE: appengine buildscript dependencies
apply plugin: 'appengine'
appengineSdk 'com.google.appengine:appengine-java-sdk:1.9.53'compile 'com.google.appengine:appengine-endpoints:1.9.53'
ADD:
apply plugin: 'com.google.cloud.tools.appengine'
apply plugin: 'com.google.cloud.tools.endpoints-framework-server'
providedCompile group: 'javax.servlet', name: 'servlet-api', version: '2.5'compile 'com.google.endpoints:endpoints-framework:2.0.7'compile 'jstl:jstl:1.2'
compile 'javax.inject:javax.inject:1'appengine { // App Engine tasks configuration
deploy { // deploy configuration
version = findProperty("appengine.deploy.version")
def promoteProp = findProperty("appengine.deploy.promote")
if (promoteProp != null) {
promote = new Boolean(promoteProp)
}
}
}