Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 98369 invoked by uid 500); 15 Oct 2001 04:40:26 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 98359 invoked from network); 15 Oct 2001 04:40:26 -0000 Message-ID: From: "Li, Jerry" To: "'ant-user@jakarta.apache.org'" Subject: help on java task Date: Sun, 14 Oct 2001 21:38:28 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, all: I am trying to use java task to run a java class in a separate JVM from an ant script. If the java class gets error, I wan to print the error to console and stop the ant scripts. I have used: where I have defined wl_jar1, wl_jar2, ejbClasspath, wl_ejbc, in_jar, and out_jar in the init target. ( you may see that I am running weblogic ejbc). I have seen the errors on my DOS console ( I am working on Windows 2000) but the ant script does not stop. I could not figure out why. Why does the antcall task get called even though java task has an error? Below is my errors: ************************************************************* **************************************************************************** ********************* -------------------------------------------------------------------------- Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. --------------------------------------------------------------------------