Bug 124269 - Emacs/Ant/enviroment failure using M-x compile
Emacs/Ant/enviroment failure using M-x compile
Status: CLOSED DEFERRED
Product: Fedora
Classification: Fedora
Component: emacs (Show other bugs)
2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-25 07:44 EDT by Paul Michael Reilly
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-17 23:35:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
The Ant build file consisting of a <property environment=...> element. (272 bytes, text/plain)
2004-05-25 07:47 EDT, Paul Michael Reilly
no flags Details
Results from M-x compile ant (186 bytes, text/plain)
2004-05-25 07:57 EDT, Paul Michael Reilly
no flags Details

  None (edit)
Description Paul Michael Reilly 2004-05-25 07:44:19 EDT
Description of problem:  Environment/property failure in association
with Ant via Emacs' compile mode (M-x compile).


Version-Release number of selected component (if applicable): 
Emacs 21.3
Ant 1.6.1 (installed using binary download into /usr/local/ant)

How reproducible: Run the attached build file as directed and Ant will
fail with an exception.


Steps to Reproduce:
0. Install Ant 1.6.1 into /usr/local/ant and add /usr/local/ant/bin to
the front of the command search path.
1. Copy the attached build.xml file to some directory.
2. Invoke Emacs and execute `M-x compile' to run the command "ant"
from the directory containing the build.xml file.
3. Observe the exception shown in the attached error file.
  
Actual results:  Ant takes a
java.lang.reflect.InvocationTargetException exception

Expected results:  No exception, "Hello World!" is output in the
*compilation* buffer.

Additional info:  It is not clear to me where this issue really
belongs.  Emacs is my best guess.  The problem did not exist with FC1,
nor does it fail with Ant 1.5.2-26 and does not fail when executed via
a command shell (M-x shell).
Comment 1 Paul Michael Reilly 2004-05-25 07:47:23 EDT
Created attachment 100535 [details]
The Ant build file consisting of a <property environment=...> element.
Comment 2 Paul Michael Reilly 2004-05-25 07:57:29 EDT
Created attachment 100536 [details]
Results from M-x compile ant
Comment 3 Paul Michael Reilly 2004-05-25 08:01:50 EDT
One more thing.  To work around the problem, I used the following
command, which is kind of telling:  "env -> /dev/null; ant"
Comment 4 Jens Petersen 2004-09-29 11:59:24 EDT
What does "M-x compile env" give you?
Comment 5 Jens Petersen 2005-05-17 23:35:04 EDT
ant is now included in Fedora Core development btw.

Could you try to retest and re-open if there is still a problem?

Note You need to log in before you can comment on or make changes to this bug.