unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai.grossjohann@gmx.net>
Subject: Re: OT: Run Ant in MingW shell?
Date: Wed, 15 Oct 2003 00:24:34 +0200	[thread overview]
Message-ID: <86n0c3v4nx.fsf@slowfox.dyndns.org> (raw)
In-Reply-To: mailman.1406.1065699895.21628.help-gnu-emacs@gnu.org

Eli Zaretskii <eliz@elta.co.il> writes:

>> From: Kai.Grossjohann@gmx.net (Kai Grossjohann)
>> Newsgroups: gnu.emacs.help
>> Date: 9 Oct 2003 01:18:45 -0700
>> 
>> I searched Google and Gmane for a pertinent group but couldn't find
>> one
>
> There's a MinGW mailing list (sorry, I don't know its exact name)
> which I think is a better place.

Okay, I'll have a look.  (In fact, I found
gmane.comp.gnu.mingw.{user,msys} on gmane.  I'll ask there.)

>> 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.

Correction: it seems that $CLASSPATH looks like c:/foo;c:/bar, note
the semicolon and the forward slashes.

>> Any idea how to get it working?
>
> No idea, but here are a few questions that might provide some insight:
>
>   . What happens if you start the MinGW shell outside Emacs with the
>     same options shown above, and then run Ant?

Same as above.

>   . What happens if you start CMD under Emacs and then run Ant?

Works fine.

>   . What happens if you start the MinGW shell outside Emacs, but with
>     stdin and stdout redirected to a file, and then run Ant (e.g.,
>     have the Ant command on the file where you redirect the shell's
>     stdin)?

No idea.

  parent reply	other threads:[~2003-10-14 22:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09  8:18 OT: Run Ant in MingW shell? Kai Grossjohann
2003-10-09 11:05 ` Eli Zaretskii
     [not found] ` <mailman.1406.1065699895.21628.help-gnu-emacs@gnu.org>
2003-10-14 22:24   ` Kai Grossjohann [this message]
2003-10-15  5:49     ` Eli Zaretskii
2003-10-17 15:50     ` Kai Grossjohann
2003-10-15 11:07 ` Kai Grossjohann
2003-10-16  6:38   ` Eli Zaretskii
     [not found]   ` <mailman.1779.1066286649.21628.help-gnu-emacs@gnu.org>
2003-10-16 20:32     ` Kai Grossjohann
2003-10-17  6:28       ` Eli Zaretskii
     [not found]       ` <mailman.1848.1066372440.21628.help-gnu-emacs@gnu.org>
2003-10-17  7:19         ` Jason Rumney
2003-10-15 17:04 ` Paul Kinnucan
2003-10-15 19:27   ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86n0c3v4nx.fsf@slowfox.dyndns.org \
    --to=kai.grossjohann@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).