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):
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
Expected results: No exception, "Hello World!" is output in the
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).
Created attachment 100535 [details]
The Ant build file consisting of a <property environment=...> element.
Created attachment 100536 [details]
Results from M-x compile ant
One more thing. To work around the problem, I used the following
command, which is kind of telling: "env -> /dev/null; ant"
What does "M-x compile env" give you?
ant is now included in Fedora Core development btw.
Could you try to retest and re-open if there is still a problem?