ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: ANT & Emacs
Date Fri, 01 Dec 2000 09:38:01 GMT
Christian Lauer <> wrote:

> My problem on that combination is, that I always have to switch to a
> buffer that I'm not able to simply invoke ant by the compile command
> in emacs, because the build.xml is only in the root directory of the
> project.

You could do something like

ant -f /absolute/path/to/buildfile

and it should work. 

Additionally Ant 1.2 will search upwards for build.xml - so it put
pick up your build.xml automatically. In Ant 1.3alpha this is no
longer the default behavior, you'll have to say

ant -find

and it should pick up your build file as well.


View raw message