DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22533>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22533 [PATCH] Adding Permissions / Security Manager to Java task and JUnit task ------- Additional Comments From [EMAIL PROTECTED] 2003-08-19 06:19 ------- Well, the default permissions granted do not include the exitVM one, (The default granted ones are the same as those granted in the standard distribution of jdk 1.4) so a plain nested <permissions/> would do as can be seen in the JavaTest. If i.e. files are manipulated in the code subject to permissions one would need to grant that permission. And if one wishes the ant build to stop at an Ssytem.exit() one would need: to <grant class="java.lang.RuntimePermission" name="exitVM"/> or leave out <permissions/> entirely. To permit everyting except for exitVM: <permissions> <grant class="java.security.AllPermission"/> <revoke class=="java.lang.RuntimePermission" name="exitVM"/> </permissions> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]