ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22533] - [PATCH] Adding Permissions / Security Manager to Java task and JUnit task
Date Mon, 01 Sep 2003 10:09:16 GMT
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 antoine@apache.org  2003-09-01 10:09 -------
Symptom of the problem : gump build failing in bootstrap-ojb, where there is an
invocation of the java task with FailOnError="true"
The problem was due to missing permission read for system property
file.encoding, then to missing permissions for file system operations.

Why do nothing special about permissions in the Java task when failonerror =
false ? there is no need to do anything.

Why do something special about permissions when failonerror = "true" : so that
non zero exit statuses generate an exception which can be caught in the Java
task and so that the build can be failed (rather than terminated).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message