`

WtkSign 签名

    博客分类:
  • J2ME
XML 
阅读更多

 

builder.xml例子:

 <target name="sign"  depends="init" description="签名">
  <wtksign
   keystore="${basedir}\key\keystore.ks"
   jarfile="${releasehome}\${jar.filename}.jar"
   jadfile="${releasehome}\${jad.filename}.jad"
   storepass="密码"
   certpass="密码"
   certalias="别名"
  />
 </target>

Sign

WtkSign allows midlet signing (Contributed by Omry Yadan)

The task provides the following parameters:

 

Parameter Type Required Purpose
keystore file no, defaults to $HOME/.keystore The location of the key-store file
jadfile file yes The JAD file to sign.
jarfile file yes The JAR file to sign.
certalias string yes The certificate alias
storepass String no (defaults to empty) The key-store password
certpass String no (defaults to empty) The certificate password (inside the keystore)
certnum Integer no (defaults to 1) The certificate index
jadencoding String no (defaults to UTF-8) The encoding used when writing the JAD file

 

Usage:

 

<wtksign 
	keystore="${keystore.file}" 
	jarfile="${jar.name}" 
	jadfile="${jad.name}"
	storepass="${keystore.pass}" 
	certpass="${cert.pass}" 
	certalias="${cert.alias}"
/>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics