I replaced JDE's default ant script (/usr/bin/ant) with the simple wrapper script called "ant-jde" shown below:
#!/bin/bash ant "$@" 2>&1 This wrapper simply redirects stderr to stdout. That seems to solve the problem, which is apparently caused by the *compilation* buffer not being able to handle an undefined stderr. You replace the default ant script by setting the jde-ant-program option (go to menu / JDE / Project / Options / Ant) and enter the path of your wrapper script in the spot labeled "JDE Ant Program". Good luck, Mark -----Original Message----- From: Dirk Husemann [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 4:00 AM To: Suraj Acharya Cc: Mark D. Hansen; JDE (E-mail) Subject: Re: ant build problem Suraj Acharya wrote: >Hi Mark, > >Have you tried running the ant command from your shell to see if it >completes sucessfully? >Use the same arguments that emacs is passing to ant: > >ant -Dant.home=/usr/share/ant -buildfile >'/home/mhansen/chap5/oneway/build.xml' -emacs init > >Suraj > > >On Wed, 8 Sep 2004 21:01:29 -0400, Mark D. Hansen ><[EMAIL PROTECTED]> wrote: > > >>One more thing on this ... >> >>I've read all the posts related to jde-ant-build and can't find this problem. My problem is NOT related to the \' delimiter around the buildfile. >> >>Thanks for any possible help / ideas. >> >>-- Mark >> >> >> >>-----Original Message----- >>From: Mark D. Hansen [mailto:[EMAIL PROTECTED] >>Sent: Monday, September 06, 2004 12:08 AM >>To: JDE (E-mail) >>Subject: ant build problem >> >>When I try to build (any target / any build file) C-c C-v C-b, I get the following error message: >> >>error in process sentinel: byte-code: No more errors >>error in process sentinel: No more errors >> >>... and the following in the compilation window (abnormal exit): >> >>cd ~/chap5/oneway/ >>ant -Dant.home=/usr/share/ant -buildfile '/home/mhansen/chap5/oneway/build.xml' -emacs init >>Buildfile: /home/mhansen/chap5/oneway/build.xml >> >>Compilation exited abnormally with code 129 at Mon Sep 6 00:04:30 >> >> i've got the same problem...in addition, i've observed that whenever i invoke an ant build target that in turn invokes something different than the normal java tools (javac, etc) --- for example, when i'm using antenna (to build MIDP packages) --- the process running in JDE will just die, the same process running in the shell just completes fine... -- Dr Dirk Husemann, Mobile Computing, IBM Research, Zurich Research Lab [EMAIL PROTECTED] --- http://www.zurich.ibm.com/~hud/ PGP key: http://www.zurich.ibm.com/~hud/contact/PGP PGP Fingerprint: 983C 48E7 0A78 A313 401C C4AD 3C0A 278E 6431 A149 Email only authentic if signed with PGP key. Appended to this email is an electronic signature attachment. You can ignore it if your email program does not know how to verify such a signature. If you'd like to learn more about this topic, www.gnupg.org is a good starting point.