ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shatzer, Larry" <Larry.Shat...@MIROtechnologies.com>
Subject setLevel on echo task in JavaScript
Date Tue, 01 Mar 2005 22:08:45 GMT
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


Mime
View raw message