Re: ant build problem

2004-09-09 Thread Dirk Husemann
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.


signature.asc
Description: OpenPGP digital signature


problem: jde ant...

2004-06-24 Thread Dirk Husemann




i'm experiencing strange problems with jde and ant: i've set the ant
invocation method to "script". invoking ant from a shell gives me the
following output:

ant test-j2se-gnomesx.general
  Buildfile: build.xml
  
  init:
  
  compile-j2se-test-gnomesx.general:
  
  compile-j2se-build-gnomesx.general:
  
  test-j2se-gnomesx.general:
   [junit] Running
com.ibm.gnomesx.general.TestSuiteGnomesxGeneral
   [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
0.107 sec
   [junit] Testsuite:
com.ibm.gnomesx.general.TestSuiteGnomesxGeneral
   [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed:
0.107 sec
  
   [junit] Testcase: testGeneralTimestampEventGetType took 0.022
sec
   [junit] Testcase: testGeneralTimestampEventGetBytes took
0.001 sec
   [junit] Testcase: testGeneralTimestampEventGetTimestamp took
0 sec
   [junit] Testcase: testGeneralTimestampEventSerializeReify
took 0.001 sec
   [junit] Testcase: testGeneralMessageEventGetBytes took 0.028
sec
   [junit] Testcase: testGeneralMessageEventGetMessage took 0 sec
   [junit] Testcase: testGeneralMessageEventSerializeReify took
0.001 sec
   [junit] Testcase: testGeneralLogEventGetBytes took 0.039 sec
   [junit] Testcase: testGeneralLogEventGetLog took 0 sec
   [junit] Testcase: testGeneralLogEventSerializeReify took
0.006 sec
  
  
  
  BUILD SUCCESSFUL
  Total time: 7 seconds


running ant from within JDE (C-c C-v C-b) i get:

cd /proj/m-health/java/src/com/ibm/gnomesx/general/
  ant -Dant.home=/opt/ant -buildfile
"/proj/m-health/java/build.xml" -emacs test-j2se-gnomesx.general 
  Buildfile: /proj/m-health/java/build.xml
  
  init:
  
  compile-j2se-test-gnomesx.general:
  
  compile-j2se-build-gnomesx.general:
  
  test-j2se-gnomesx.general:
  Running com.ibm.gnomesx.general.TestSuiteGnomesxGeneral
  
  Compilation exited abnormally with code 129 at Thu Jun 24 18:07:49


and i also get the following warning message thrown at me:

(6) (error/warning) Error in process sentinel: (error
No more errors)

also had this one 
(4) (error/warning) Error in process sentinel: (error
Stack overflow in regexp matcher)


any ideas what i might be doing wrong?

this is running XEmacs 21.4.15, JDEE 2.3.4beta5.

 cheers,
 dirk
-- 
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.





signature.asc
Description: OpenPGP digital signature


Re: History list jde-interactive-make-arg-history is unbound

2001-06-29 Thread Dirk Husemann

 PK == Paul Kinnucan [EMAIL PROTECTED] writes:

PK At 01:34 PM 6/25/2001 -0700, you wrote:
 When I enable jde-project - Read Make Args or jde-project - Ant Read Args
 or jde-project - Ant Read Target, I get errors like the one the subject
 `History list jde-interactive-make-arg-history is unbound'
 
 This is with Xemacs, solaris, jde 2.2.8beta1.
 
 Any ideas?

PK Sounds like a bug. I'll look into it.

I stumbled over the same bug, adding these two lines to jde-ant.el fixed it:

(defvar jde-ant-interactive-target-arg-history nil
History of targets entered in the minibuffer.)

(defvar jde-ant-interactive-args-arg-history nil
History of targets entered in the minibuffer.)


-- 
Dr. Dirk Husemann, IBM Research Division, Zurich Research Lab, Switzerland
Email: [EMAIL PROTECTED] --- WWW: http://www.zurich.ibm.com/~hud/
PGP fingerprint:4EB4 8B36 9E98 9CCF 8F22  F162 B53A 9BFB 9D1A 3D43
PGP key:http://www.zurich.ibm.com/~hud/PGP/

We are Linux. Resistance is an indication that you missed the point.