aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'moaSig/moa-sig/build.gradle')
-rw-r--r--moaSig/moa-sig/build.gradle40
1 files changed, 33 insertions, 7 deletions
diff --git a/moaSig/moa-sig/build.gradle b/moaSig/moa-sig/build.gradle
index c366cf0..cfee94b 100644
--- a/moaSig/moa-sig/build.gradle
+++ b/moaSig/moa-sig/build.gradle
@@ -1,5 +1,6 @@
apply plugin: 'war'
apply plugin: 'eclipse-wtp'
+apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
repositories {
maven {
@@ -14,14 +15,14 @@ dependencies {
compile 'commons-discovery:commons-discovery:0.5'
compile 'org.slf4j:slf4j-log4j12:1.7.12'
- compile 'org.apache.cxf:cxf-rt-frontend-jaxws:3.1.4'
- compile 'org.apache.cxf:cxf-rt-transports-http:3.1.4'
- compile 'org.aspectj:aspectjrt:1.8.7'
- compile 'org.aspectj:aspectjweaver:1.8.7'
+ //compile 'org.apache.cxf:cxf-rt-frontend-jaxws:3.1.4'
+ //compile 'org.apache.cxf:cxf-rt-transports-http:3.1.4'
+ //compile 'org.aspectj:aspectjrt:1.8.7'
+ //compile 'org.aspectj:aspectjweaver:1.8.7'
- compile 'at.gv.egiz.pdfas:pdf-as-lib:4.0.7'
- compile 'at.gv.egiz.pdfas:pdf-as-pdfbox:4.0.7'
- compile 'at.gv.egiz.pdfas:sigs-pades:4.0.7'
+ //compile 'at.gv.egiz.pdfas:pdf-as-lib:4.0.7'
+ //compile 'at.gv.egiz.pdfas:pdf-as-pdfbox:4.0.7'
+ //compile 'at.gv.egiz.pdfas:sigs-pades:4.0.7'
}
sourceSets {
@@ -38,6 +39,20 @@ configurations {
dependencies {
jaxb group: 'com.sun.xml.bind', name: 'jaxb-xjc', version: '2.2.4-1'
+ //compile 'ch.qos.logback:logback-classic:1.1.5'
+ //compile 'ch.qos.logback:logback-core:1.1.5'
+ //def tomcatVersion = '7.0.59'
+ //tomcat "org.apache.tomcat.embed:tomcat-embed-core:${tomcatVersion}",
+ // "org.apache.tomcat.embed:tomcat-embed-logging-juli:${tomcatVersion}",
+ // "org.apache.tomcat.embed:tomcat-embed-jasper:${tomcatVersion}"
+}
+
+gretty {
+ jvmArgs = [
+ '-Dmoa.spss.server.configuration=/home/afitzek/server/moa-spss/apache-tomcat-8.0.0-RC3/conf/moa-spss/spss.config.xml',
+ '-Dlog4j.configuration=/home/afitzek/server/moa-spss/apache-tomcat-8.0.0-RC3/conf/moa-spss/log4j.properties'
+ ]
+ loggingLevel = "TRACE"
}
task jaxb () {
@@ -62,3 +77,14 @@ task jaxb () {
}
//compileJava.dependsOn jaxb
+// context where tomcat is deployed, by defautl localhost:8080/
+
+//tomcat {
+// stopKey = 'x'
+ //daemon = true
+//}
+//System.setProperty('moa.spss.server.configuration', '/home/afitzek/server/moa-spss/apache-tomcat-8.0.0-RC3/conf/moa-spss/spss.config.xml')
+// System.setProperty('log4j.configuration', '/home/afitzek/server/moa-spss/apache-tomcat-8.0.0-RC3/conf/moa-spss/log4j.properties')
+
+//tomcatRun.contextPath = '/'
+//tomcatRunWar.contextPath = '/'