diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-09-06 14:41:57 +0200 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2016-09-06 14:41:57 +0200 |
commit | e6dbbf61ae54b34ee5dfde129d35edbaac5f37f5 (patch) | |
tree | 6ccfc3522e97d154de4c17b50ce756c9804ed2c6 /pdf-as-web/build.gradle | |
parent | 7db9b6da2b44f333ba912224c2d1eddb0efb3a87 (diff) | |
download | pdf-as-4-e6dbbf61ae54b34ee5dfde129d35edbaac5f37f5.tar.gz pdf-as-4-e6dbbf61ae54b34ee5dfde129d35edbaac5f37f5.tar.bz2 pdf-as-4-e6dbbf61ae54b34ee5dfde129d35edbaac5f37f5.zip |
release build was missing class folder in webinf directory
Diffstat (limited to 'pdf-as-web/build.gradle')
-rw-r--r-- | pdf-as-web/build.gradle | 7 |
1 files changed, 3 insertions, 4 deletions
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 } } |