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

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

Re: [h-e-w] MinGW shell under Emacs and then running Ant


From: Harald Maier
Subject: Re: [h-e-w] MinGW shell under Emacs and then running Ant
Date: Wed, 15 Oct 2003 06:11:07 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Kai Grossjohann <address@hidden> writes:

> When I try to run Ant under the MinGW sh.exe, then I get an error
> that the class definition couldn't be found.  (I don't remember
> which class definition, the problem happens @work but I read news
> @home.)
>
> "echo $CLASSPATH" shows c:/foo;d:/bar style entries.  I tried to
> change it to c:\foo;d:\bar and also c:\\foo;d:\\bar, to no avail.
> Same problem.  (I didn't try /c/foo:/d/bar, though.)
>
> (Ant is not a MinGW program, I just use the Windows stuff that comes
> with Ant.)

Try to set ANT_HOME. This works for me. Also try to start the ant.bat
file with 'cmd /c ant.bat'. Without ANT_HOME I get the following error

,----
| Exception in thread "main" java.lang.NoClassDefFoundError: 
|   org/apache/tools/ant/Main
`----

Harald





reply via email to

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