From e9a322342e7f76b13f6a4e389583f3419e9b4d2d Mon Sep 17 00:00:00 2001 From: fangdong sun Date: Mon, 8 Aug 2016 14:25:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E6=B5=8B=E8=AF=95=EF=BC=88ap?= =?UTF-8?q?plet=EF=BC=89--15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/build.gradle b/build.gradle index 8583c7249d..eb3d0a6f60 100644 --- a/build.gradle +++ b/build.gradle @@ -6,30 +6,31 @@ tasks.withType(JavaCompile){ task appletJar<<{ ant{ + patternset(id:'') mkdir(dir:'../finereport-lib-stable/tmp') mkdir(dir:'build/classes/') copy(todir:'build/classes/'){ - fileset(dir:'../finereport-core-stable/build/classes/main'){ - include(name:'**/*.*') - } - fileset(dir:'../finereport-chart-stable/build/classes/main'){ - include(name:'**/*.*') - } - fileset(dir:'../finereport-report-stable/build/classes/main'){ - include(name:'**/*.*') - } + fileset(dir:'../finereport-core-stable/build/classes/main') + + + fileset(dir:'../finereport-chart-stable/build/classes/main') + + + fileset(dir:'../finereport-report-stable/build/classes/main') + + - fileset(dir:'../finereport-platform-stable/build/classes/main'){ - include(name:'**/*.*') - } - fileset(dir:'../finereport-performance-stable/build/classes/main'){ - include(name:'**/*.*') - } + fileset(dir:'../finereport-platform-stable/build/classes/main') + + + fileset(dir:'../finereport-performance-stable/build/classes/main') + + } - unjar(src:'../finereport-lib-stable/3rd.jar',dest:'finereport-lib-stable/tmp') - unjar(src:'../finereport-lib-stable/servlet-api.jar',dest:'finereport-lib-stable/tmp') + unjar(src:'../finereport-lib-stable/3rd.jar',dest:'../finereport-lib-stable/tmp') + unjar(src:'../finereport-lib-stable/servlet-api.jar',dest:'../finereport-lib-stable/tmp') jar(jarfile:'build/libs/fr-applet-8.0.jar'){ fileset(dir:'build/classes'){ exclude(name:'*.*') @@ -67,11 +68,6 @@ task appletJar<<{ def keycert='fr.cert' def keypassword='123456' def keyalias='fr' -//property(name:'jdk1.6.home',value:'D:/FineReport/develop/java/jdk1.6u35') - //property(name:'keystore',value:'frapplet.store') - //property(name:'keycert',value:'fr.cert') - //property(name:'keypasssword',value:'123456') - //property(name:'keyalias',value:'fr') exec(executable:"${jdk6home}/bin/keytool"){ arg(line:"-genkey -dname "CN=FineReport L=NanJing C=China" -keystore ${keystore} -alias ${keyalias} -validity 3650 -storepass ${keypassword}")