unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* compile.el problem running the ANT tool
@ 2005-04-27 15:21 Nic Ferrier
  0 siblings, 0 replies; only message in thread
From: Nic Ferrier @ 2005-04-27 15:21 UTC (permalink / raw)


I'm noting this problem here because I don't have time to look into a
fix right now. At least noting it here will tell people of the
problem.


ANT 1.6 does not work with Emacs if the ANT "environment" property
primitive is used, eg:

  <property enironment="env"/>


The line that the ant shell script runs Java with is something like:

   exec "JAVA" ....

where .... is the various args like classpath etc...

I'm guessing that if ANT exec's to Java and then tries to run
/usr/bin/env (or something else to get the environment) then that
fails for some reason.

Changing the ANT shell script so that it doesn't exec makes things
work.


Note: this only breaks if you use environment property sets.

I will try and find a solution and post a fix here.



Nic Ferrier
http://www.tapsellferrier.co.uk

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-27 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-27 15:21 compile.el problem running the ANT tool Nic Ferrier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).