ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: new feature: RecorderEntry accepts -emacs
Date Fri, 22 Mar 2002 00:57:10 GMT
----- Original Message -----
From: "stephan beal" <>

> > Congratulations!  You've just recreated Project.toBoolean :))
> i KNEW this had to exist somewhere. i KNEW it. Errr... but i was lazy.

Actually Ant's introspection stuff is one of its coolest features such that
setters on a task take the datatypes they want to deal with, not just

> It's set via the -emacs command line, "inherited" from Project in
> Project.addBuildListener(). Since that's practically the only way this
> gets instantiated, that didn't seem too terrible. RecorderEntry did not
> implement emacsMode behaviour inherently. If it is set in the task, then
> will override the value from Project:
> <record emacsMode="true" .../>
> will take priority (in theory... but i don't see why it won't do so). The
> function setEmacsMode( boolean ) exists from the BuildLogger interface.

in theory :) , but unless you modified this then it won't work:

    public void setEmacsMode(boolean emacsMode) {
        throw new java.lang.RuntimeException("Method setEmacsMode() not yet


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message