help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: Run Ant in MingW shell?


From: Paul Kinnucan
Subject: Re: OT: Run Ant in MingW shell?
Date: 15 Oct 2003 13:04:51 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3

Hi Kai,

I just wanted to make sure that you are aware that the
JDEE provides comprensive support for running Ant scripts
from Emacs. You have a choice of either launching a 
vm directly from Emacs to run the Ant script or to
run the Ant from the BeanShell. In either case, there
is no need to use an intermediate shell and hence deal
with environment variable inheritance issues.

Paul

Kai.Grossjohann@gmx.net (Kai Grossjohann) writes:

> I searched Google and Gmane for a pertinent group but couldn't find
> one, so I thought maybe I'll be lucky here ;-)
> Please don't hesitate to point me to the right group.
> 
> I started a MingW shell under Emacs via the following setup and then
> hitting M-x shell:
> 
> (setq explicit-sh.exe-args '("--noediting" "--login" "-i"))
> (setq explicit-shell-file-name "sh.exe")
> 
> In that shell, I say "cd work/bla", then I say "ant -emacs compile",
> and this is the response:
> 
> ~/work/bla> ant -emacs compile
> java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
> Exception in thread "main" ~/work/bla> 
> 
> I look at $CLASSPATH and it's the same as under CMD.EXE.  But there,
> Ant works.
> 
> Any idea how to get it working?
> 
> tia,
> Kai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]