db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramandeep Kaur" <ramandhin...@gmail.com>
Subject Re: code coverage: problem in running junit suite lang with emma
Date Mon, 19 Feb 2007 18:53:29 GMT
I ran junit suite - lang with policy file that Dan suggested, and I was able
to run it fine.

So I ran lang suite as following:

 >java -Djava.security.manager= -Djava.security.policy="C:/simple.policy"
-Djvmflags=-Demma.verbosity.level=silent -Dverbose=true

The contents of  simple.policy file are:

grant codebase "file:/c:/derby/-" {
  permission java.security.AllPermission;
grant {
  permission java.util.PropertyPermission
"derbyRoutineSecurityTest.yes", "read";

Ramandeep Kaur

View raw message