HI All,

This is Srinivas,
I am trying to sign my applet using ant build.xml file. while adding below code to other application its working fine in the eclipse.
but while i added same code to my application its not working. giving java awt access permission exceptions.

Actually My requirement is to copy/paste/cut/ text from applet text box to System clipbord.(System Clip board access is not working in the applet)

i read some articals need to sign applet then only it works. so how can i sign using build.xml file in the xml file.

below code i used

<genkey dname=" CN=javapractices.com,
OU=Development Services,
O=Hirondelle Systems,
L=Ottawa,
ST=Ontario,
C=CA"
verbose="true"
validity="365"
keystore=".myKeyStore"
alias="MYALIAS"
keypass="PASSWORD"
storepass="PASSWORD" />


<!-- NOW SIGNING JAR WITH OUR SELF GENEREATED CERTIFICATE -->

<signjar jar="${config.jarfile}" keystore=".myKeyStore" alias="MYALIAS"
storepass="PASSWORD" />


please help on this.