----- Original Message -----
From: "stephan beal" <[EMAIL PROTECTED]>
> > 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
String.
> It's set via the -emacs command line, "inherited" from Project in
> Project.addBuildListener(). Since that's practically the only way this
class
> gets instantiated, that didn't seem too terrible. RecorderEntry did not
> implement emacsMode behaviour inherently. If it is set in the task, then
that
> 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
implemented.");
}
Erik
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>