From e6dbbf61ae54b34ee5dfde129d35edbaac5f37f5 Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Tue, 6 Sep 2016 14:41:57 +0200 Subject: release build was missing class folder in webinf directory --- pdf-as-web/build.gradle | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pdf-as-web/build.gradle') diff --git a/pdf-as-web/build.gradle b/pdf-as-web/build.gradle index de3cb96b..b33b5725 100644 --- a/pdf-as-web/build.gradle +++ b/pdf-as-web/build.gradle @@ -175,7 +175,7 @@ task putConfigIntoTomcat(dependsOn: putTemplateIntoTomcat)<<{ task putWebConfigIntoTomcat(dependsOn: putConfigIntoTomcat)<<{ deployVersions.each{ - String targetDir = "build/tomcat-##VERSION##/apache-tomcat-##VERSION##/conf/pdf-as"; + String targetDir = "build/tomcat-##VERSION##"+it+"/apache-tomcat-##VERSION##/conf/pdf-as"; targetDir = targetDir.replaceAll("##VERSION##", project.tomcatVersion); copy{ @@ -205,7 +205,7 @@ task createPdfbox2War(type:War){ sourceSets.test.compileClasspath -= configurations.pdfbox1 sourceSets.main.compileClasspath += configurations.pdfbox2 sourceSets.test.compileClasspath += configurations.pdfbox2 - classpath=sourceSets.main.compileClasspath + classpath+=sourceSets.main.compileClasspath } } @@ -285,14 +285,13 @@ task releaseConfig(type: Copy) { - war{ doFirst{ sourceSets.main.compileClasspath -= configurations.pdfbox2 sourceSets.test.compileClasspath -= configurations.pdfbox2 sourceSets.main.compileClasspath += configurations.pdfbox1 sourceSets.test.compileClasspath += configurations.pdfbox1 - classpath=sourceSets.main.compileClasspath + classpath+=sourceSets.main.compileClasspath } } -- cgit v1.2.3