|
|
|
@ -65,19 +65,19 @@ task appletJar{
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
delete(dir:'../finereport-lib-stable/tmp') |
|
|
|
|
property(name:'jdk1.6.home',value:'D:\FineReport\develop\java\jdk1.6u35') |
|
|
|
|
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:"${jdk1.6.home}\bin\keytool"){ |
|
|
|
|
exec(executable:"${jdk1.6.home}/bin/keytool"){ |
|
|
|
|
arg(line:"-genkey -dname "CN=FineReport L=NanJing C=China" -keystore ${keystore} -alias ${keyalias} -validity 3650 -storepass ${keypassword}") |
|
|
|
|
} |
|
|
|
|
exec(executable:"${jdk1.6.home}\bin\keytool"){ |
|
|
|
|
exec(executable:"${jdk1.6.home}/bin/keytool"){ |
|
|
|
|
arg(line:"-export -keystore ${keystore} -alias ${keyalias} -file ${keycert} -storepass ${keypassword}") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
exec(executable:"${jdk1.6.home}\bin\jarsigner"){ |
|
|
|
|
exec(executable:"${jdk1.6.home}/bin/jarsigner"){ |
|
|
|
|
arg(line:"-keystore ${keystore} -storepass ${keypassword} ${applet_jar} ${keyalias}") |
|
|
|
|
} |
|
|
|
|
delete(file:"${keystore}") |
|
|
|
|