ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject RE: setLevel on echo task in JavaScript
Date Tue, 01 Mar 2005 22:33:29 GMT
> From: Alexey N. Solofnenko []
> It is Echo.EchoLevel and the method is setValue().

Thanks Alexey ;-) Something along those lines (not tested). --DD

info = new EchoLevel();

echo = project.createTask("echo");
echo.setMessage("test message");

> Dominique Devienne wrote:
> >>From: Shatzer, Larry []
> >>Any idea how I can call setLevel on the echo task via JavaScript?
> >
> >setLevel probably takes an EnumeratedAttribute-derived type, not
> >a String. Lookup the code to find out which class to 'new', and call
> >setName("info") on this enum instance, prior to send it to echo.

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

View raw message