You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Shatzer, Larry" <La...@MIROtechnologies.com> on 2005/03/01 23:08:45 UTC
setLevel on echo task in JavaScript
I have this javascript:
echo = project.createTask("echo");
echo.setLevel("info");
echo.setMessage("test message");
echo.perform();
It fails with this error:
org.mozilla.javascript.EvaluatorException: Can't find method
org.apache.tools.ant.taskdefs.Echo.setLevel(string).
Any idea how I can call setLevel on the echo task via JavaScript?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org