Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 58882 invoked from network); 1 Sep 2003 14:11:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Sep 2003 14:11:00 -0000 Received: (qmail 58427 invoked by uid 500); 1 Sep 2003 14:10:36 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 58384 invoked by uid 500); 1 Sep 2003 14:10:36 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 58355 invoked from network); 1 Sep 2003 14:10:36 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 1 Sep 2003 14:10:36 -0000 Received: (qmail 4966 invoked by uid 50); 1 Sep 2003 10:09:16 -0000 Date: 1 Sep 2003 10:09:16 -0000 Message-ID: <20030901100916.4965.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 22533] - [PATCH] Adding Permissions / Security Manager to Java task and JUnit task X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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